diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-01-22 11:37:49 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-01-22 11:37:49 +0000 |
commit | 6df555170437e28fe89aa11f3b0613026c41d1f9 (patch) | |
tree | 69700ee41e55de9b080490e709b1134116a75097 | |
parent | f7c6b96c3e639e871bb929038a1b82ded7f39437 (diff) | |
parent | 6f49ec4034e55dfb675a56a62c9579384f7fb8cc (diff) | |
download | qemu-6df555170437e28fe89aa11f3b0613026c41d1f9.zip qemu-6df555170437e28fe89aa11f3b0613026c41d1f9.tar.gz qemu-6df555170437e28fe89aa11f3b0613026c41d1f9.tar.bz2 |
Merge remote-tracking branch 'remotes/elmarco/tags/dump-pull-request' into staging
# gpg: Signature made Sat 20 Jan 2018 20:03:47 GMT
# gpg: using RSA key 0xDAE8E10975969CE5
# gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>"
# gpg: aka "Marc-André Lureau <marcandre.lureau@gmail.com>"
# Primary key fingerprint: 87A9 BD93 3F87 C606 D276 F62D DAE8 E109 7596 9CE5
* remotes/elmarco/tags/dump-pull-request:
dump-guest-memory.py: fix python 2 support
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | scripts/dump-guest-memory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dump-guest-memory.py b/scripts/dump-guest-memory.py index 09bec92..03fbf69 100644 --- a/scripts/dump-guest-memory.py +++ b/scripts/dump-guest-memory.py @@ -564,7 +564,7 @@ shape and this command should mostly work.""" vmcoreinfo = self.phys_memory_read(addr, size) if vmcoreinfo: - self.elf.add_vmcoreinfo_note(vmcoreinfo.tobytes()) + self.elf.add_vmcoreinfo_note(bytes(vmcoreinfo)) def invoke(self, args, from_tty): """Handles command invocation from gdb.""" |