diff options
author | Andreas Färber <afaerber@suse.de> | 2013-05-28 13:52:01 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-06-11 18:03:35 +0200 |
commit | a23bbfda75118eb738acce84afd64965934828f0 (patch) | |
tree | 657bf51b76711385cea7df8464d32bf7bd620f84 /target-i386/cpu-qom.h | |
parent | 6d4d3ae77dbb756d454c2deb2ef844b0cc7bde7b (diff) |
cpu: Turn cpu_get_memory_mapping() into a CPUState hook
Change error reporting from return value to Error argument.
Reviewed-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
[AF: Fixed cpu_get_memory_mapping() documentation]
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-i386/cpu-qom.h')
-rw-r--r-- | target-i386/cpu-qom.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target-i386/cpu-qom.h b/target-i386/cpu-qom.h index 849cedf94c..e0ac072c5f 100644 --- a/target-i386/cpu-qom.h +++ b/target-i386/cpu-qom.h @@ -98,4 +98,7 @@ int x86_cpu_write_elf64_qemunote(WriteCoreDumpFunction f, CPUState *cpu, int x86_cpu_write_elf32_qemunote(WriteCoreDumpFunction f, CPUState *cpu, void *opaque); +void x86_cpu_get_memory_mapping(CPUState *cpu, MemoryMappingList *list, + Error **errp); + #endif |