diff options
author | Janosch Frank <frankja@linux.vnet.ibm.com> | 2016-01-22 13:08:37 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-01-26 15:58:14 +0100 |
commit | 7cb1089d5fbd7b2d9497f111ce948edef41df32d (patch) | |
tree | fe0ab079622503e537bb3dedc53d452722cb2ee2 /docs/memory-hotplug.txt | |
parent | 47890203842de8b29716bdffb406ca851e70829d (diff) | |
download | qemu-7cb1089d5fbd7b2d9497f111ce948edef41df32d.zip qemu-7cb1089d5fbd7b2d9497f111ce948edef41df32d.tar.gz qemu-7cb1089d5fbd7b2d9497f111ce948edef41df32d.tar.bz2 |
scripts/dump-guest-memory.py: Improve python 3 compatibility
This commit does not make the script python 3 compatible, it is a
preparation that fixes the easy and common incompatibilities.
Print is a function in python 3 and therefore needs braces around its
arguments.
Range does not cast a gdb.Value object to int in python 3, we have to
do it ourselves.
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Message-Id: <1453464520-3882-4-git-send-email-frankja@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/memory-hotplug.txt')
0 files changed, 0 insertions, 0 deletions