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.
Viktor Prutyanov (2): include/qemu: add 32-bit Windows dump structures and definitions dump/win_dump: add 32-bit guest Windows support for dump-guest-memory contrib/elf2dmp/main.c | 6 +- dump/win_dump.c | 293 ++++++++++++++++++++++------------- hmp-commands.hx | 2 +- include/qemu/win_dump_defs.h | 115 +++++++++++++- 4 files changed, 300 insertions(+), 116 deletions(-) -- 2.31.1
