]> Git Repo - qemu.git/blobdiff - block_int.h
block: Move error actions from DriveInfo to BlockDriverState
[qemu.git] / block_int.h
index 1a7240c582ed335365c028119a4ac26ca2290b0b..e3bfd192a29e0db85b4deaabef2641f4c6f4b805 100644 (file)
@@ -182,6 +182,7 @@ struct BlockDriverState {
        drivers. They are not used by the block driver */
     int cyls, heads, secs, translation;
     int type;
+    BlockErrorAction on_read_error, on_write_error;
     char device_name[32];
     unsigned long *dirty_bitmap;
     int64_t dirty_count;
This page took 0.028962 seconds and 4 git commands to generate.