summaryrefslogtreecommitdiffstats
path: root/docs/qdev-device-use.txt
diff options
context:
space:
mode:
authorStefan Hajnoczi2017-05-15 15:29:53 +0200
committerStefan Hajnoczi2017-05-15 15:29:58 +0200
commit8a813c9868218242f7d7b68f45ac4f484b1ccba9 (patch)
treed1e6156547008843de8c474621cc24707048301f /docs/qdev-device-use.txt
parentMerge remote-tracking branch 'kraxel/tags/pull-ui-20170512-1' into staging (diff)
parenthw/usb/dev-serial: Do not try to set vendorid or productid properties (diff)
downloadqemu-8a813c9868218242f7d7b68f45ac4f484b1ccba9.tar.gz
qemu-8a813c9868218242f7d7b68f45ac4f484b1ccba9.tar.xz
qemu-8a813c9868218242f7d7b68f45ac4f484b1ccba9.zip
Merge remote-tracking branch 'kraxel/tags/pull-usb-20170512-1' into staging
usb: bugfixes, doc update # gpg: Signature made Fri 12 May 2017 01:20:29 PM BST # gpg: using RSA key 0x4CB6D8EED3E87138 # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" # gpg: aka "Gerd Hoffmann <gerd@kraxel.org>" # gpg: aka "Gerd Hoffmann (private) <kraxel@gmail.com>" # Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138 * kraxel/tags/pull-usb-20170512-1: hw/usb/dev-serial: Do not try to set vendorid or productid properties xhci: relax link check usb-hub: clear PORT_STAT_SUSPEND on wakeup xhci: fix logging usb-redir: fix stack overflow in usbredir_log_data qemu-doc: Update to use the new way of attaching USB devices Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'docs/qdev-device-use.txt')
-rw-r--r--docs/qdev-device-use.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/qdev-device-use.txt b/docs/qdev-device-use.txt
index b059405e0e..4274fe9f25 100644
--- a/docs/qdev-device-use.txt
+++ b/docs/qdev-device-use.txt
@@ -182,15 +182,13 @@ The appropriate DEVNAME depends on the machine type. For type "pc":
This lets you control I/O ports and IRQs.
-* -usbdevice serial:vendorid=VID,productid=PRID becomes
- -device usb-serial,vendorid=VID,productid=PRID
+* -usbdevice serial::chardev becomes -device usb-serial,chardev=dev.
* -usbdevice braille doesn't support LEGACY-CHARDEV syntax. It always
uses "braille". With -device, this useful default is gone, so you
have to use something like
- -device usb-braille,chardev=braille,vendorid=VID,productid=PRID
- -chardev braille,id=braille
+ -device usb-braille,chardev=braille -chardev braille,id=braille
* -virtioconsole becomes
-device virtio-serial-pci,class=C,vectors=V,ioeventfd=IOEVENTFD,max_ports=N