]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qemu-options.hx: add missing id=chr0 chardev argument in vhost-user example
authorVincenzo Maffione <v.maffione@gmail.com>
Mon, 20 Feb 2017 16:45:09 +0000 (17:45 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 28 Feb 2017 06:03:39 +0000 (09:03 +0300)
In the vhost-user example, a chardev with id chr0 is referenced by the
vhost-user net backend, but the id is not specified in the chardev option.

Signed-off-by: Vincenzo Maffione <v.maffione@gmail.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
qemu-options.hx

index bf458f83c32d1a57b4f7c07d138387e1b9da89da..faf5cf8d453dddd2a21dec8373f481c69c1df937 100644 (file)
@@ -2146,7 +2146,7 @@ Example:
 @example
 qemu -m 512 -object memory-backend-file,id=mem,size=512M,mem-path=/hugetlbfs,share=on \
      -numa node,memdev=mem \
-     -chardev socket,path=/path/to/socket \
+     -chardev socket,id=chr0,path=/path/to/socket \
      -netdev type=vhost-user,id=net0,chardev=chr0 \
      -device virtio-net-pci,netdev=net0
 @end example