]> git.proxmox.com Git - qemu.git/commitdiff
qemu-options.hx: Document missing -drive options
authorLuiz Capitulino <lcapitulino@redhat.com>
Tue, 12 Jul 2011 20:35:08 +0000 (17:35 -0300)
committerKevin Wolf <kwolf@redhat.com>
Tue, 19 Jul 2011 13:39:05 +0000 (15:39 +0200)
They are 'werror', 'rerror' and 'readonly'.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-options.hx

index e6d7adc3af7c797ae14ec3d967da60d50e00ada8..64114dd4488d4de5bb2e71f81b9b989891b731d2 100644 (file)
@@ -160,6 +160,14 @@ an untrusted format header.
 This option specifies the serial number to assign to the device.
 @item addr=@var{addr}
 Specify the controller's PCI address (if=virtio only).
+@item werror=@var{action},rerror=@var{action}
+Specify which @var{action} to take on write and read errors. Valid actions are:
+"ignore" (ignore the error and try to continue), "stop" (pause QEMU),
+"report" (report the error to the guest), "enospc" (pause QEMU only if the
+host disk is full; report the error to the guest otherwise).
+The default setting is @option{werror=enospc} and @option{rerror=report}.
+@item readonly
+Open drive @option{file} as read-only. Guest write attempts will fail.
 @end table
 
 By default, writethrough caching is used for all block device.  This means that