qemu-options.hx: Document werror and rerror -drive options
PATCH 1/1 qemu-options.hx: Document werror and rerror -drive options
--- qemu-options.hx | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
qemu-options.hx +5 -0
@@ -160,6 +160,11 @@ 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), +"enospc" (pause QEMU, but only on no space conditions), +"report" (report the error to the guest). @end table By default, writethrough caching is used for all block device. This means that
Signature · 1 line
1.7.6.134.gcf13f
Am 07.07.2011 18:04, schrieb Luiz Capitulino:
Quoted 11 lines
Signed-off-by Luiz Capitulino <[email protected]>--- qemu-options.hx | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)qemu-options.hx +0
-0
qemu-options.hx an untrusted format header. · line 166
Quoted 7 lines
qemu-options.hx +4
-0@@ -160,6 +160,11 @@ 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), +"enospc" (pause QEMU, but only on no space conditions),
Maybe "pause QEMU only if the host disk is full; report the error to the guest otherwise"?
qemu-options.hx an untrusted format header. · line 170
Quoted 4 lines
qemu-options.hx +1
-0+"report" (report the error to the guest). @end table By default, writethrough caching is used for all block device. This means that
We should mention that werror=enospc and rerror=report is the default.
Kevin
Quoted 7 lines · On Fri, 08 Jul 2011 10:18:17 +0200 Kevin Wolf <[email protected]> wrote:
Am 07.07.2011 18:04, schrieb Luiz Capitulino:
Quoted 6 lines
Signed-off-by Luiz Capitulino <[email protected]>--- qemu-options.hx | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
Quoted 15 lines
qemu-options.hx an untrusted format header. · line 166
Quoted 12 lines
qemu-options.hx +4
-0@@ -160,6 +160,11 @@ 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), +"enospc" (pause QEMU, but only on no space conditions),Maybe "pause QEMU only if the host disk is full; report the error to the guest otherwise"?
Works for me.
Quoted 6 lines
qemu-options.hx an untrusted format header. · line 170
Quoted 4 lines
qemu-options.hx +1
-0+"report" (report the error to the guest). @end table By default, writethrough caching is used for all block device. This means thatWe should mention that werror=enospc and rerror=report is the default.
I did that in my first private first, but I dropped when I realized that we don't document defaults for the other options.