diff options
author | 2009-11-27 13:25:37 +0100 | |
---|---|---|
committer | 2009-12-03 11:45:49 -0600 | |
commit | e9b2e81889d9877415710484b876ee57a42b0bcb (patch) | |
tree | 0deec76b2a7bd0b80e96f789243684d07aa7f8e1 /qemu-config.c | |
parent | Rename DriveInfo.onerror to on_write_error (diff) | |
download | qemu-kvm-e9b2e81889d9877415710484b876ee57a42b0bcb.tar.gz qemu-kvm-e9b2e81889d9877415710484b876ee57a42b0bcb.tar.bz2 qemu-kvm-e9b2e81889d9877415710484b876ee57a42b0bcb.zip |
Introduce rerror option for drives
rerror controls the action to be taken when an error occurs while accessing the
guest image file. It corresponds to werror which already controls the action
take for write errors.
This purely introduces parsing rerror command line option into the right
structures, real support for it in the device emulation is added in the
following patches.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-config.c')
-rw-r--r-- | qemu-config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-config.c b/qemu-config.c index 590fc052f..92b5363ec 100644 --- a/qemu-config.c +++ b/qemu-config.c @@ -65,6 +65,9 @@ QemuOptsList qemu_drive_opts = { .name = "serial", .type = QEMU_OPT_STRING, },{ + .name = "rerror", + .type = QEMU_OPT_STRING, + },{ .name = "werror", .type = QEMU_OPT_STRING, },{ |