summaryrefslogtreecommitdiff
path: root/block_int.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-09-21 17:16:47 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2011-10-27 11:48:47 -0200
commitb202381800d81fbff9978abbdea95760dd363bb6 (patch)
tree572a252464539e052b1fca18e61779dc3788bac7 /block_int.h
parent58e21ef5ab262fb91256435c31cc7bfeead59754 (diff)
downloadqemu-b202381800d81fbff9978abbdea95760dd363bb6.tar.gz
qemu-b202381800d81fbff9978abbdea95760dd363bb6.tar.bz2
qemu-b202381800d81fbff9978abbdea95760dd363bb6.zip
qapi: Convert query-block
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'block_int.h')
-rw-r--r--block_int.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/block_int.h b/block_int.h
index 3929ec90a5..f4547f6d93 100644
--- a/block_int.h
+++ b/block_int.h
@@ -29,6 +29,7 @@
#include "qemu-queue.h"
#include "qemu-coroutine.h"
#include "qemu-timer.h"
+#include "qapi-types.h"
#define BLOCK_FLAG_ENCRYPT 1
#define BLOCK_FLAG_COMPAT6 4
@@ -203,7 +204,7 @@ struct BlockDriverState {
int cyls, heads, secs, translation;
BlockErrorAction on_read_error, on_write_error;
bool iostatus_enabled;
- BlockIOStatus iostatus;
+ BlockDeviceIoStatus iostatus;
char device_name[32];
unsigned long *dirty_bitmap;
int64_t dirty_count;