dump/win_dump: add 32-bit guest Windows support
commitf5daa8293b292929cb429f154e926191ba8e040c
authorViktor Prutyanov <viktor.prutyanov@redhat.com>
Wed, 6 Apr 2022 17:15:58 +0000 (6 20:15 +0300)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 22 Apr 2022 09:41:56 +0000 (22 13:41 +0400)
treed294a81c8adb38b0de8e95d178116529de33022c
parentc4fe30921f42d2dba4bc51458839039f71e13a6b
dump/win_dump: add 32-bit guest Windows support

Before this patch, 'dump-guest-memory -w' was accepting only 64-bit
dump header provided by guest through vmcoreinfo and thus was unable
to produce 32-bit guest Windows dump. So, add 32-bit guest Windows
dumping support.

Signed-off-by: Viktor Prutyanov <viktor.prutyanov@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[ misc error handling fixes to avoid compiler warning ]
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220406171558.199263-5-viktor.prutyanov@redhat.com>
dump/win_dump.c
hmp-commands.hx