exec: change RAM list to a TAILQ

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
Paolo Bonzini 2012-11-14 15:54:48 +01:00 committed by Juan Quintela
parent 0d6d3c87a2
commit a3161038a1
6 changed files with 38 additions and 38 deletions

View file

@ -487,7 +487,7 @@ typedef struct RAMBlock {
ram_addr_t length;
uint32_t flags;
char idstr[256];
QLIST_ENTRY(RAMBlock) next;
QTAILQ_ENTRY(RAMBlock) next;
#if defined(__linux__) && !defined(TARGET_S390X)
int fd;
#endif
@ -496,7 +496,7 @@ typedef struct RAMBlock {
typedef struct RAMList {
uint8_t *phys_dirty;
RAMBlock *mru_block;
QLIST_HEAD(, RAMBlock) blocks;
QTAILQ_HEAD(, RAMBlock) blocks;
} RAMList;
extern RAMList ram_list;