Skip to content

Commit

Permalink
usb: reword -usb command-line option and mention xHCI
Browse files Browse the repository at this point in the history
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 <stefanha@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20190815141428.29080-1-stefanha@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
  • Loading branch information
stefanhaRH authored and kraxel committed Aug 21, 2019
1 parent dc2c037 commit 73f46fe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions qemu-options.hx
Expand Up @@ -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 @option{-device qemu-xhci} can be used instead
on machines with PCI.
ETEXI

DEF("usbdevice", HAS_ARG, QEMU_OPTION_usbdevice,
Expand Down

0 comments on commit 73f46fe

Please sign in to comment.