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: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] hw/usb/bus.c: print device ID when 'info usb' used
Date: Fri, 28 Aug 2015 17:07:18 +0100

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.

thanks
-- PMM



reply via email to

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