[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] usb: reword -usb command-line option and mentio
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH] usb: reword -usb command-line option and mention xHCI |
Date: |
Tue, 13 Aug 2019 19:54:16 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 8/13/19 3:30 PM, Stefan Hajnoczi wrote:
> The -usb section of the man page is not very clear on what exactly -usb
> does and fails to mention xHCI as a modern alternative (-device
> nec-usb-xhci).
>
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> ---
> qemu-options.hx | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 9621e934c0..7d11c016d1 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -1436,12 +1436,15 @@ STEXI
> ETEXI
>
> DEF("usb", 0, QEMU_OPTION_usb,
> - "-usb enable the USB driver (if it is not used by default
> yet)\n",
> + "-usb enable on-board USB host controller (if not enabled by
> default)\n",
> QEMU_ARCH_ALL)
> STEXI
> @item -usb
> @findex -usb
> -Enable the USB driver (if it is not used by default yet).
> +Enable USB emulation on machine types with an on-board USB host controller
> (if
> +not enabled by default). Note that on-board USB host controllers may not
> +support USB 3.0. In this case -device nec-usb-xhci can be used instead on
Should we maybe rather recommend qemu-xhci instead?
And please put the @option{} around the "-device *-xhci" here.
With @option:
Reviewed-by: Thomas Huth <address@hidden>