usb: reword -usb command-line option and mention xHCI
PATCH v2 1/1 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).
---
v2:
* Use @option{-device ...} [Thomas]
* Suggest qemu-xhci instead of nec-usb-xhci [Thomas and David]
--- qemu-options.hx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
qemu-options.hx +5 -2
@@ -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,
Signature · 1 line
2.21.0
Quoted 23 lines · Stefan Hajnoczi
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 <[email protected]>---
v2:
* Use @option{-device ...} [Thomas]
* Suggest qemu-xhci instead of nec-usb-xhci [Thomas and David]--- qemu-options.hx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)qemu-options.hx +1
-1@@ -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-options.hx STEXI · line 1448
Quoted 10 lines
qemu-options.hx +4
-1QEMU_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
Quoted 5 lines · Stefan Hajnoczi
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 <[email protected]>
Added to usb patch queue.
thanks,
Gerd
Quoted 33 lines
---
v2:
* Use @option{-device ...} [Thomas]
* Suggest qemu-xhci instead of nec-usb-xhci [Thomas and David]--- qemu-options.hx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)qemu-options.hx +5
-2@@ -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,Signature · 1 line
2.21.0