]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target-i386/arch_dump.c
exec: change RAM list to a TAILQ
[mirror_qemu.git] / target-i386 / arch_dump.c
index 8209ce9ee28fdc4e14e0171288350e82bb5beff1..2cd2f7f09e0e17ba79a915f9e65635f46c1c5ed8 100644 (file)
@@ -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;