diff options
| author | Janosch Frank | 2016-01-22 13:08:36 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2016-01-26 15:58:14 +0100 |
| commit | 47890203842de8b29716bdffb406ca851e70829d (patch) | |
| tree | 1c43a07ac1c179cc4d7c3b6625a2c3d45b93cc7e /scripts/switch-timer-api | |
| parent | scripts/dump-guest-memory.py: Move constants to the top (diff) | |
| download | qemu-47890203842de8b29716bdffb406ca851e70829d.tar.gz qemu-47890203842de8b29716bdffb406ca851e70829d.tar.xz qemu-47890203842de8b29716bdffb406ca851e70829d.zip | |
scripts/dump-guest-memory.py: Make methods functions
The functions dealing with qemu components rarely used parts of the
class, so they were moved out of the class.
As the uintptr_t variable is needed both within and outside the class,
it was made a constant and moved to the top.
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Message-Id: <1453464520-3882-3-git-send-email-frankja@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
