From 8a22f02a88b5c37bdbd48fc18ff6e572a8ffdfe2 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Tue, 13 Apr 2010 10:29:33 +0100 Subject: block: Convert first_drv to QLIST Signed-off-by: Stefan Hajnoczi Signed-off-by: Kevin Wolf --- block_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'block_int.h') diff --git a/block_int.h b/block_int.h index 466a38cee4..d4067ff726 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 { -- cgit v1.2.3