]> git.proxmox.com Git - qemu.git/blobdiff - sysemu.h
Introduce rerror option for drives
[qemu.git] / sysemu.h
index c79a019e731a0c0ee7f3d90a2e4f1a0c70ba9349..efed771d0f51ccff399e2aeb61aa15fb2ed5ca17 100644 (file)
--- 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;