[Top][All Lists]

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

Re: [Qemu-devel] [PATCH] usb: Remove legacy -usbdevice option

From: Samuel Thibault
Subject: Re: [Qemu-devel] [PATCH] usb: Remove legacy -usbdevice option
Date: Thu, 4 Jan 2018 14:26:00 +0100
User-agent: NeoMutt/20170113 (1.7.2)


I'm afraid I can't even work out how to replace -usbdevice braille (or
-usbdevice serial, all questions below apply, except making chardev
default to braille):

... -usbdevice braille

-usbdevice braille: '-usbdevice' is deprecated, please use '-device usb-...' 

but -device usb-serial is not actually documented in the manual page
(same for usb-keyboard, usb-tablet, etc. for instance I can't find in
the manpage anything about replacement for -usbdevice host:nnnn:nnnn)

... -device usb-braille 

-device usb-braille: No 'usb-bus' bus found for device 'usb-braille'

... -device usb-bus -device usb-braille

-device usb-bus: 'usb-bus' is not a valid device model name

So the error message above should suggest -usb.

But then

... -usb -device usb-braille

-device usb-braille: Property chardev is required

that used to be a default, could we keep it a default when using
-device?  Hardly anybody would want to use usb-braille with something
else than chardev braille.

... -usb -device usb-braille,chardev=braille

-device usb-serial,chardev=braille: Property 'usb-serial.chardev' can't find 
value 'braille'

Uh?  It seems there is a parsing issue here?

So I'm afraid a lot is still missing here.


reply via email to

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