diff options
Diffstat (limited to 'memory_mapping.c')
-rw-r--r-- | memory_mapping.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/memory_mapping.c b/memory_mapping.c index 627397a..adb1595 100644 --- a/memory_mapping.c +++ b/memory_mapping.c @@ -211,3 +211,12 @@ int qemu_get_guest_memory_mapping(MemoryMappingList *list) return 0; } #endif + +void qemu_get_guest_simple_memory_mapping(MemoryMappingList *list) +{ + RAMBlock *block; + + QLIST_FOREACH(block, &ram_list.blocks, next) { + create_new_memory_mapping(list, block->offset, 0, block->length); + } +} |