[Top][All Lists]

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

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

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

Paolo Bonzini, on jeu. 04 janv. 2018 16:47:16 +0100, wrote:
> The point of deprecation is not to make the interface simpler, it is to
> avoid cases where one option is doing too much and/or crossing
> abstraction boundaries, for example -net creating both a device and a
> hub port.
> "-serial" is okay because it only creates the front-end, it's the board
> that decides how to attach it to the back-end.
> -usbdevice creating both a front-end and a back-end is not a problem per
> se.  The issue with -usbdevice is just that it's too much code.
> However, adding magic to "-device usb-braille" that creates both a
> front-end and a back-end is completely the opposite of sane...

Well, this is also what happens with -device usb-mouse, usb-kbd etc.:
they also plug with keyboard & mouse pipes of the qemu graphical
frontend. braille is just the same vein for the user.


reply via email to

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