qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] hw/usb/bus.c: print device ID when 'info usb' u


From: Programmingkid
Subject: Re: [Qemu-devel] [PATCH] hw/usb/bus.c: print device ID when 'info usb' used
Date: Fri, 28 Aug 2015 12:09:44 -0400

On Aug 28, 2015, at 12:07 PM, Peter Maydell wrote:

> On 28 August 2015 at 14:55, Programmingkid <address@hidden> wrote:
>> On Aug 28, 2015, at 9:50 AM, Gerd Hoffmann wrote:
>>> Even better: Don't print "ID: ..." in the first place in case it is not
>>> present.
>> 
>> The ID is printed so if the user needs to remove the device, device_del <id> 
>> can be used.
>> 
>> If the ID isn't printed here, where do you want it to be printed? "info 
>> device-id"?
> 
> Gerd means, "print nothing at all, rather than ', ID null'".
> There's no point in printing something which isn't actually
> an ID you can use to delete the device.

Ok. I can make a patch that does that.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]