Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: ce6b9e421a9ab45d7e6c97af092a07c049954444
      
https://github.com/qemu/qemu/commit/ce6b9e421a9ab45d7e6c97af092a07c049954444
  Author: Marc-André Lureau <marcandre.lur...@redhat.com>
  Date:   2018-02-01 (Thu, 01 Feb 2018)

  Changed paths:
    M scripts/dump-guest-memory.py

  Log Message:
  -----------
  dump-guest-memory.py: skip vmcoreinfo section if not available

On some architectures, qemu doesn't support vmcoreinfo device,
and dump-guest-memory fails:

(gdb) dump-guest-memory /tmp/vmcore  ppc64-le
guest RAM blocks:
target_start     target_end       host_addr        message count
---------------- ---------------- ---------------- ------- -----
0000000000000000 0000000200000000 00003ffd86980000 added       1
0000200080000000 0000200080800000 00003ffd86170000 added       2
Python Exception <class 'gdb.error'> No symbol "vmcoreinfo_realize" in current 
context.:
Error occurred in Python command: No symbol "vmcoreinfo_realize" in current 
context.

Check that vmcoreinfo_realize symbol exists before evaluating an
expression with it.

Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Reviewed-by: Laszlo Ersek <ler...@redhat.com>


  Commit: e486b528229ed4ed5dfdac790c8152bfb2a265c9
      
https://github.com/qemu/qemu/commit/e486b528229ed4ed5dfdac790c8152bfb2a265c9
  Author: Peter Maydell <peter.mayd...@linaro.org>
  Date:   2018-02-02 (Fri, 02 Feb 2018)

  Changed paths:
    M scripts/dump-guest-memory.py

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/elmarco/tags/dump-pull-request' into 
staging

# gpg: Signature made Thu 01 Feb 2018 11:15:42 GMT
# gpg:                using RSA key DAE8E10975969CE5
# gpg: Good signature from "Marc-André Lureau <marcandre.lur...@redhat.com>"
# gpg:                 aka "Marc-André Lureau <marcandre.lur...@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: skip vmcoreinfo section if not available

Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>


Compare: https://github.com/qemu/qemu/compare/707eafb8b082...e486b528229e

Reply via email to