diff options
author | Andrew Jones <drjones@redhat.com> | 2016-01-11 20:56:19 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-01-15 14:40:24 +0000 |
commit | b09afd58e4cb61a854c34040a12962e5b6f05ca5 (patch) | |
tree | fd2b0e0f4131e196963596dbbf059f89c0b1b8ef /qom/cpu.c | |
parent | f1cd483004da30a905ee6cf5d3268181f6c13e1a (diff) |
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/cpu.c')
-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, |