From e9b2e81889d9877415710484b876ee57a42b0bcb Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Fri, 27 Nov 2009 13:25:37 +0100 Subject: 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 Signed-off-by: Anthony Liguori --- sysemu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sysemu.h') diff --git a/sysemu.h b/sysemu.h index c79a019e73..efed771d0f 100644 --- a/sysemu.h +++ b/sysemu.h @@ -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; -- cgit v1.2.1