diff options
author | Vincenzo Maffione <v.maffione@gmail.com> | 2017-02-20 17:45:09 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2017-02-28 09:03:39 +0300 |
commit | 79cad2faace2175f2f21dc4f8f40c3b7722cf999 (patch) | |
tree | 1e59cb52f218b62702fca4c528d9abed90c05b12 /qemu-options.hx | |
parent | d34d5b3bbd31f51dbeee011d4123d33d3b8b43a7 (diff) | |
download | qemu-79cad2faace2175f2f21dc4f8f40c3b7722cf999.zip qemu-79cad2faace2175f2f21dc4f8f40c3b7722cf999.tar.gz qemu-79cad2faace2175f2f21dc4f8f40c3b7722cf999.tar.bz2 |
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 <v.maffione@gmail.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r-- | qemu-options.hx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-options.hx b/qemu-options.hx index bf458f8..faf5cf8 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 |