mirror of
https://github.com/mii443/qemu.git
synced 2025-08-27 01:19:30 +00:00
block: Convert bdrv_first to QTAILQ
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
committed by
Kevin Wolf
parent
b66460e4e9
commit
1b7bdbc13c
@ -26,6 +26,7 @@
|
||||
|
||||
#include "block.h"
|
||||
#include "qemu-option.h"
|
||||
#include "qemu-queue.h"
|
||||
|
||||
#define BLOCK_FLAG_ENCRYPT 1
|
||||
#define BLOCK_FLAG_COMPRESS 2
|
||||
@ -180,7 +181,7 @@ struct BlockDriverState {
|
||||
char device_name[32];
|
||||
unsigned long *dirty_bitmap;
|
||||
int64_t dirty_count;
|
||||
BlockDriverState *next;
|
||||
QTAILQ_ENTRY(BlockDriverState) list;
|
||||
void *private;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user