qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] dump: add 32-bit guest Windows support
@ 2022-01-13  0:52 Viktor Prutyanov
  2022-01-13  0:52 ` [PATCH v2 1/4] include/qemu: rename Windows context definitions to expose bitness Viktor Prutyanov
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Viktor Prutyanov @ 2022-01-13  0:52 UTC (permalink / raw)
  To: marcandre.lureau, dgilbert, yuri.benditovich, yan, philmd,
	qemu-devel
  Cc: Viktor Prutyanov

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 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              | 293 ++++++++++++++++++++++-------------
 include/qemu/win_dump_defs.h | 115 +++++++++++++-
 3 files changed, 299 insertions(+), 115 deletions(-)

-- 
2.31.1



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-01-23 20:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-13  0:52 [PATCH v2 0/4] dump: add 32-bit guest Windows support Viktor Prutyanov
2022-01-13  0:52 ` [PATCH v2 1/4] include/qemu: rename Windows context definitions to expose bitness Viktor Prutyanov
2022-01-13 11:21   ` Philippe Mathieu-Daudé
2022-01-13  0:52 ` [PATCH v2 2/4] dump/win_dump: add helper macros for Windows dump header access Viktor Prutyanov
2022-01-23 20:06   ` Viktor Prutyanov
2022-01-13  0:52 ` [PATCH v2 3/4] include/qemu: add 32-bit Windows dump structures Viktor Prutyanov
2022-01-13 11:25   ` Philippe Mathieu-Daudé
2022-01-13  0:52 ` [PATCH v2 4/4] dump/win_dump: add 32-bit guest Windows support Viktor Prutyanov
2022-01-13 11:29   ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).