[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: Thomas Huth
Subject: Re: [Qemu-devel] [PATCH] usb: Remove legacy -usbdevice option
Date: Thu, 4 Jan 2018 15:22:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

On 04.01.2018 14:26, Samuel Thibault wrote:
> Hello,
> 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-...' 
> instead
> 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)

As mentioned in my other mail, it's in the qemu-doc here:


> 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.

I think it's more common to not do any magic default setup with
"-device", but if you think this should be the case here, it can
certainly be added again (not with this patch here, though, since this
is a separate issue).

> ... -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?

Chardevs have to be specified with the "-chardev" parameter:

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


reply via email to

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