diff options
author | Andreas Färber <afaerber@suse.de> | 2013-06-09 16:03:46 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-06-11 18:18:34 +0200 |
commit | 6db297ea361f4e03c096a0f28f26b060f0060de5 (patch) | |
tree | 16e8d1a4b5580fd1ae46f5f3acbf8ce0ec9f6ecd /qom | |
parent | 2a78636bd204e389068d203473ec76558083b44b (diff) | |
download | qemu-6db297ea361f4e03c096a0f28f26b060f0060de5.zip qemu-6db297ea361f4e03c096a0f28f26b060f0060de5.tar.gz qemu-6db297ea361f4e03c096a0f28f26b060f0060de5.tar.bz2 |
cpu: Change default for CPUClass::get_paging_enabled()
qemu_get_guest_memory_mapping() uses cpu_paging_enabled() to determine
whether to use cpu_get_memory_mapping() to return mappings or whether to
fall back to a simple identity map.
Since by default CPUClass::get_memory_mapping() is not implemented,
change the default to false to use the identity map by default.
Reviewed-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'qom')
-rw-r--r-- | qom/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ bool cpu_paging_enabled(const CPUState *cpu) static bool cpu_common_get_paging_enabled(const CPUState *cpu) { - return true; + return false; } void cpu_get_memory_mapping(CPUState *cpu, MemoryMappingList *list, |