diff options
author | Kevin Wolf <kwolf@redhat.com> | 2009-11-27 13:25:37 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 11:45:49 -0600 |
commit | a15084c48b43e3e9827dffb27a53daf0c5181b4b (patch) | |
tree | 0deec76b2a7bd0b80e96f789243684d07aa7f8e1 /sysemu.h | |
parent | 745d3496452938972a33585842edbb4d8e5f57dd (diff) | |
download | qemu-a15084c48b43e3e9827dffb27a53daf0c5181b4b.tar.gz qemu-a15084c48b43e3e9827dffb27a53daf0c5181b4b.tar.bz2 qemu-a15084c48b43e3e9827dffb27a53daf0c5181b4b.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 'sysemu.h')
-rw-r--r-- | sysemu.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -180,6 +180,7 @@ typedef struct DriveInfo { int bus; int unit; QemuOpts *opts; + BlockInterfaceErrorAction on_read_error; BlockInterfaceErrorAction on_write_error; char serial[BLOCK_SERIAL_STRLEN + 1]; QTAILQ_ENTRY(DriveInfo) next; |