aboutsummaryrefslogtreecommitdiffstats
path: root/block_int.h
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-11 02:51:17 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-11 02:51:17 +0000
commitfaf07963cb03f98d52ca1f7fde7482a3cb309bcc (patch)
tree77b5f598c4492fde2093dab3bca77b69e03c6654 /block_int.h
parent28c5af54c661e73e5596918fa67a22b5e87c2022 (diff)
Split block API from vl.h.
Remove QEMU_TOOL. Replace with QEMU_IMG and NEED_CPU_H. Avoid linking qemu-img against whole system emulatior. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3578 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block_int.h')
-rw-r--r--block_int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/block_int.h b/block_int.h
index b034023e0..2c5f168f6 100644
--- a/block_int.h
+++ b/block_int.h
@@ -24,6 +24,8 @@
#ifndef BLOCK_INT_H
#define BLOCK_INT_H
+#include "block.h"
+
#define BLOCK_FLAG_ENCRYPT 1
#define BLOCK_FLAG_COMPRESS 2
#define BLOCK_FLAG_COMPAT6 4
@@ -133,4 +135,6 @@ void *qemu_aio_get(BlockDriverState *bs, BlockDriverCompletionFunc *cb,
void *opaque);
void qemu_aio_release(void *p);
+BlockDriverState *bdrv_first;
+
#endif /* BLOCK_INT_H */