aboutsummaryrefslogtreecommitdiff
path: root/block_int.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2010-04-13 10:29:33 +0100
committerKevin Wolf <kwolf@redhat.com>2010-04-23 16:21:57 +0200
commit8a22f02a88b5c37bdbd48fc18ff6e572a8ffdfe2 (patch)
treecca1682e7e7dcc89506931d51cb37b9658c2146b /block_int.h
parent85de0ba5e9dc8d318cd2c34b7a8d368946160a24 (diff)
downloadqemu-8a22f02a88b5c37bdbd48fc18ff6e572a8ffdfe2.zip
qemu-8a22f02a88b5c37bdbd48fc18ff6e572a8ffdfe2.tar.gz
qemu-8a22f02a88b5c37bdbd48fc18ff6e572a8ffdfe2.tar.bz2
block: Convert first_drv to QLIST
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block_int.h')
-rw-r--r--block_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/block_int.h b/block_int.h
index 466a38c..d4067ff 100644
--- a/block_int.h
+++ b/block_int.h
@@ -126,7 +126,7 @@ struct BlockDriver {
/* Set if newly created images are not guaranteed to contain only zeros */
int no_zero_init;
- struct BlockDriver *next;
+ QLIST_ENTRY(BlockDriver) list;
};
struct BlockDriverState {