mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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:
parent
0d6d3c87a2
commit
a3161038a1
6 changed files with 38 additions and 38 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue