From: Vincenzo Maffione Date: Mon, 20 Feb 2017 16:45:09 +0000 (+0100) Subject: qemu-options.hx: add missing id=chr0 chardev argument in vhost-user example X-Git-Tag: v2.9.0-rc2~107^2~3 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=79cad2faace2175f2f21dc4f8f40c3b7722cf999;p=mirror_qemu.git qemu-options.hx: add missing id=chr0 chardev argument in vhost-user example 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 Reviewed-by: Markus Armbruster Signed-off-by: Michael Tokarev --- diff --git a/qemu-options.hx b/qemu-options.hx index bf458f83c3..faf5cf8d45 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -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