Skip to contentSkip to conversation

Broken -usbdevice option in 0.12.1

Qemu-devel Aurelien Jarno 3 participants 3 messages Dec 22, 2009

lore
Share & tools
lore
#0 lore raw

In version 0.12.1, using -usbdevice with an inexistent device exits without any error message, thus confusing the user:

$ qemu-system-x86_64 -usbdevice null ;
echo $?
1
$

In 0.11.X, the error is ignored, but at least a message is displayed:

$ qemu-system-x86_64 -usbdevice null
Warning: could not add USB device null
Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net
#1 lore raw
Quoted 8 lines · Aurelien Jarno

In version 0.12.1, using -usbdevice with an inexistent device exits without any error message, thus confusing the user:

$ qemu-system-x86_64 -usbdevice null ;
echo $?
1
$

Would be good to file in launchpad since I think a lot of folks are out for the next couple weeks. I regularly go through launchpad bugs and ping people so it won't get lost that way unless you care enough to fix it immediately.

Regards,

Anthony Liguori

#2 lore raw
Quoted 9 lines · Anthony Liguori
Quoted 3 lines · Aurelien Jarno

In version 0.12.1, using -usbdevice with an inexistent device exits without any error message, thus confusing the user:

Would be good to file in launchpad since I think a lot of folks are out for the next couple weeks.  I regularly go through launchpad bugs and ping people so it won't get lost that way unless you care enough to fix it immediately.

I just posted a trivial patch for this.