mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -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
|
@ -403,7 +403,7 @@ int cpu_get_dump_info(ArchDumpInfo *info)
|
|||
} else {
|
||||
info->d_class = ELFCLASS32;
|
||||
|
||||
QLIST_FOREACH(block, &ram_list.blocks, next) {
|
||||
QTAILQ_FOREACH(block, &ram_list.blocks, next) {
|
||||
if (block->offset + block->length > UINT_MAX) {
|
||||
/* The memory size is greater than 4G */
|
||||
info->d_class = ELFCLASS64;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue