[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 0/4] dump: add 32-bit guest Windows support
From: |
Viktor Prutyanov |
Subject: |
[PATCH v4 0/4] dump: add 32-bit guest Windows support |
Date: |
Wed, 6 Apr 2022 20:15:54 +0300 |
From: Viktor Prutyanov <viktor@daynix.com>
Since 32-bit versions of Windows still exist, there is a need to take
live and crash dumps of such guests along with 64-bit guests. So, add
an ability for 'dump-guest-memory -w' to take dumps from 32-bit guest.
When running the command QEMU consumes 32-bit Complete Memory Dump
header passed by guest driver through vmcoreinfo device as it was
previously done for 64-bit headers. 32-bit vmcoreinfo guest driver in
upstream virtio-win can fill such a header.
Changes in v4:
- dump-guest-memory command help message is updated
Changes in v3:
- some WIN_DUMP_* macros are replaced by similar functions where it
is possible
Changes in v2:
- no change in logic, just split patches
- first introduce WIN_DUMP_* macros for x64 in a separate patch
- rename WinContext to WinContext64 in a separate patch
Viktor Prutyanov (4):
include/qemu: rename Windows context definitions to expose bitness
dump/win_dump: add helper macros for Windows dump header access
include/qemu: add 32-bit Windows dump structures
dump/win_dump: add 32-bit guest Windows support
contrib/elf2dmp/main.c | 6 +-
dump/win_dump.c | 299 ++++++++++++++++++++++-------------
hmp-commands.hx | 2 +-
include/qemu/win_dump_defs.h | 115 +++++++++++++-
4 files changed, 306 insertions(+), 116 deletions(-)
--
2.35.1
- [PATCH v4 0/4] dump: add 32-bit guest Windows support,
Viktor Prutyanov <=
- [PATCH v4 2/4] dump/win_dump: add helper macros for Windows dump header access, Viktor Prutyanov, 2022/04/06
- [PATCH v4 3/4] include/qemu: add 32-bit Windows dump structures, Viktor Prutyanov, 2022/04/06
- [PATCH v4 4/4] dump/win_dump: add 32-bit guest Windows support, Viktor Prutyanov, 2022/04/06
- [PATCH v4 1/4] include/qemu: rename Windows context definitions to expose bitness, Viktor Prutyanov, 2022/04/06
- Re: [PATCH v4 0/4] dump: add 32-bit guest Windows support, Viktor Prutyanov, 2022/04/20