Revision 2b05ab52

b/memory_mapping.c
211 211
    return 0;
212 212
}
213 213
#endif
214

  
215
void qemu_get_guest_simple_memory_mapping(MemoryMappingList *list)
216
{
217
    RAMBlock *block;
218

  
219
    QLIST_FOREACH(block, &ram_list.blocks, next) {
220
        create_new_memory_mapping(list, block->offset, 0, block->length);
221
    }
222
}
b/memory_mapping.h
60 60
}
61 61
#endif
62 62

  
63
/* get guest's memory mapping without do paging(virtual address is 0). */
64
void qemu_get_guest_simple_memory_mapping(MemoryMappingList *list);
65

  
63 66
#else
64 67

  
65 68
/* We use MemoryMappingList* in cpu-all.h */

Also available in: Unified diff