From fae001f55190b4de511269ca63eb635646d1c7c9 Mon Sep 17 00:00:00 2001 From: Wen Congyang Date: Mon, 7 May 2012 12:04:57 +0800 Subject: implement cpu_get_memory_mapping() Walk cpu's page table and collect all virtual address and physical address mapping. Then, add these mapping into memory mapping list. If the guest does not use paging, it will do nothing. Note: the I/O memory will be skipped. Signed-off-by: Wen Congyang Signed-off-by: Luiz Capitulino --- Makefile.target | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.target') diff --git a/Makefile.target b/Makefile.target index 005fc49..18ffaef 100644 --- a/Makefile.target +++ b/Makefile.target @@ -193,6 +193,7 @@ obj-$(CONFIG_NO_KVM) += kvm-stub.o obj-$(CONFIG_VGA) += vga.o obj-y += memory.o savevm.o cputlb.o obj-y += memory_mapping.o +obj-$(CONFIG_HAVE_GET_MEMORY_MAPPING) += arch_memory_mapping.o LIBS+=-lz obj-i386-$(CONFIG_KVM) += hyperv.o -- cgit v1.1