]> git.proxmox.com Git - mirror_qemu.git/commit - dump.c
dump-guest-memory: cleanup: removing dump_{error|cleanup}().
authorPeter Xu <peterx@redhat.com>
Thu, 18 Feb 2016 05:16:46 +0000 (13:16 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 22 Feb 2016 17:40:28 +0000 (18:40 +0100)
commite3517a529913a2a48c12ba8eef4975ad561af97c
tree0572d9404712f79b298a8d8cb27dbedd9d5822eb
parentcf7ea1e60c4280bc037d8eee8cdbba67dfbc7825
dump-guest-memory: cleanup: removing dump_{error|cleanup}().

It might be a little bit confusing and error prone to do
dump_cleanup() in these two functions. A better way is to do
dump_cleanup() before dump finish, no matter whether dump has
succeeded or not.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-Id: <1455772616-8668-2-git-send-email-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
dump.c