Skip to contentSkip to conversation

qemu-options.hx: add missing chardev id in example of vhost-user

PATCH New Lin Ma 1 participant 1 message Feb 22, 2016

lore
Share & tools
lore

Lin Ma

author
#0 lore raw

PATCH 1/1 qemu-options.hx: add missing chardev id in example of vhost-user

---
 qemu-options.hx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qemu-options.hx +1 -1
index 2f0465e..6afa612 100644
@@ -2063,7 +2063,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
Signature · 1 line
2.6.3