diff options
author | Wen Congyang <wency@cn.fujitsu.com> | 2012-05-07 12:04:57 +0800 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-06-04 13:49:33 -0300 |
commit | fae001f55190b4de511269ca63eb635646d1c7c9 (patch) | |
tree | 712885b5a45e6b20d48f1acfa37a1baa23cafe8f /configure | |
parent | 76f3553883b868e99c78212b9d12309e8e1e5d81 (diff) | |
download | qemu-fae001f55190b4de511269ca63eb635646d1c7c9.zip qemu-fae001f55190b4de511269ca63eb635646d1c7c9.tar.gz qemu-fae001f55190b4de511269ca63eb635646d1c7c9.tar.bz2 |
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 <wency@cn.fujitsu.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3729,6 +3729,10 @@ case "$target_arch2" in fi fi esac +case "$target_arch2" in + i386|x86_64) + echo "CONFIG_HAVE_GET_MEMORY_MAPPING=y" >> $config_target_mak +esac if test "$target_arch2" = "ppc64" -a "$fdt" = "yes"; then echo "CONFIG_PSERIES=y" >> $config_target_mak fi |