]> git.proxmox.com Git - mirror_qemu.git/commit
dump: Fix HMP dump-guest-memory -z without -R
authorMarkus Armbruster <armbru@redhat.com>
Fri, 22 Dec 2023 09:38:27 +0000 (10:38 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 30 Jan 2024 18:20:20 +0000 (21:20 +0300)
commite999bea8e688354a9dd790746bdae760c2953a2e
tree2c52f78db6f3813668e3403216d10d6fd2efc9e1
parent11be70677c70fdccd452a3233653949b79e97908
dump: Fix HMP dump-guest-memory -z without -R

-z without -R has no effect: the dump format remains @elf.  Fix the
logic error so it becomes @kdump-zlib.

Fixes: e6549197f7ed (dump: Add command interface for kdump-raw formats)
Fixes: CID 1523841
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
dump/dump-hmp-cmds.c