diff options
author | Andrew Jones | 2016-01-11 20:56:19 +0100 |
---|---|---|
committer | Peter Maydell | 2016-01-15 15:40:24 +0100 |
commit | b09afd58e4cb61a854c34040a12962e5b6f05ca5 (patch) | |
tree | fd2b0e0f4131e196963596dbbf059f89c0b1b8ef /qom | |
parent | qapi-schema: dump-guest-memory: Improve text (diff) | |
download | qemu-b09afd58e4cb61a854c34040a12962e5b6f05ca5.tar.gz qemu-b09afd58e4cb61a854c34040a12962e5b6f05ca5.tar.xz qemu-b09afd58e4cb61a854c34040a12962e5b6f05ca5.zip |
dump: qemunotes aren't commonly needed
Only one of three architectures implementing qmp-dump-guest-memory write
qemu notes. And, another architecture (arm/aarch64) is coming, which
won't use them either. Make the common implementation truly common.
(No functional change.)
Signed-off-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1452542185-10914-3-git-send-email-drjones@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qom')
-rw-r--r-- | qom/cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -130,7 +130,7 @@ int cpu_write_elf32_qemunote(WriteCoreDumpFunction f, CPUState *cpu, static int cpu_common_write_elf32_qemunote(WriteCoreDumpFunction f, CPUState *cpu, void *opaque) { - return -1; + return 0; } int cpu_write_elf32_note(WriteCoreDumpFunction f, CPUState *cpu, @@ -159,7 +159,7 @@ int cpu_write_elf64_qemunote(WriteCoreDumpFunction f, CPUState *cpu, static int cpu_common_write_elf64_qemunote(WriteCoreDumpFunction f, CPUState *cpu, void *opaque) { - return -1; + return 0; } int cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cpu, |