qemu-irix/scripts
Marc-André Lureau ce6b9e421a 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.lureau@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2018-02-01 12:13:52 +01:00
..
coccinelle
kvm
modules
qemu-guest-agent
qemugdb scripts/qemu-gdb/timers.py: new helper to dump timer state 2018-01-16 14:54:51 +01:00
qmp
tracetool tracetool: report error on foo() instead of foo(void) 2018-01-29 10:34:55 +00:00
analyse-9p-simpletrace.py
analyse-locks-simpletrace.py scripts/analyse-locks-simpletrace.py: script to analyse lock times 2018-01-16 14:54:52 +01:00
analyze-inclusions
analyze-migration.py
archive-source.sh
argparse.py
check-qerror.sh
checkpatch.pl configure: add dependency 2018-01-22 14:02:33 +00:00
clean-header-guards.pl
clean-includes
cleanup-trace-events.pl
cocci-macro-file.h
coverity-model.c
create_config
device-crash-test scripts: Remove fixed entries from the device-crash-test 2018-01-19 11:18:51 -02:00
disas-objdump.pl
dump-guest-memory.py dump-guest-memory.py: skip vmcoreinfo section if not available 2018-02-01 12:13:52 +01:00
extract-vsssdk-headers
feature_to_c.sh
get_maintainer.pl
git-submodule.sh
git.orderfile
gtester-cat
hxtool
make-release
make_device_config.sh
ordereddict.py
qapi-commands.py
qapi-event.py
qapi-introspect.py
qapi-types.py
qapi-visit.py
qapi.py
qapi2texi.py
qemu-binfmt-conf.sh
qemu-gdb.py scripts/qemu-gdb/timers.py: new helper to dump timer state 2018-01-16 14:54:51 +01:00
qemu.py
qtest.py
refresh-pxe-roms.sh
shaderinclude.pl
show-fixed-bugs.sh
signrom.py
simpletrace.py
switch-timer-api
texi2pod.pl
tracetool.py
update-linux-headers.sh
vmstate-static-checker.py