]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qemu-doc: Fix ivshmem usage example with shm=...
authorMarkus Armbruster <armbru@redhat.com>
Tue, 24 Nov 2015 17:06:26 +0000 (18:06 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 25 Nov 2015 09:23:52 +0000 (10:23 +0100)
The example suggests you can omit "shm".  This isn't true; you must
specify exactly one of "shm", "chardev", "memdev".  Fix it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1448384789-14830-3-git-send-email-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
qemu-doc.texi

index c9b7069637ca747ba32fc2fa9bac7fccd4f57a94..68ca07533d3689082ae868d3777f2977aebee97d 100644 (file)
@@ -1256,7 +1256,7 @@ zero-copy communication to the application level of the guests.  The basic
 syntax is:
 
 @example
-qemu-system-i386 -device ivshmem,size=@var{size}[,shm=@var{shm-name}]
+qemu-system-i386 -device ivshmem,size=@var{size},shm=@var{shm-name}
 @end example
 
 If desired, interrupts can be sent between guest VMs accessing the same shared