Commit 73f46fef authored by Stefan Hajnoczi's avatar Stefan Hajnoczi Committed by Gerd Hoffmann
Browse files

usb: reword -usb command-line option and mention xHCI



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: default avatarStefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
Message-id: 20190815141428.29080-1-stefanha@redhat.com
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent dc2c037f
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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,