]> git.proxmox.com Git - mirror_qemu.git/commit
dump-guest-memory: add "detach" support
authorPeter Xu <peterx@redhat.com>
Thu, 18 Feb 2016 05:16:52 +0000 (13:16 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 22 Feb 2016 17:40:28 +0000 (18:40 +0100)
commit1fbeff72c2ba17aedfbf0d57caf8945862725c54
tree6aa7d1fa5934f249cdfa21089019bff5e7969b2d
parent63e27f28f281986de791f099efa4fa15cc47f4fc
dump-guest-memory: add "detach" support

If "detach" is provided, one thread is created to do the dump work,
while main thread will return immediately. For each GuestPhysBlock,
adding one more field "mr" to points to MemoryRegion that it
belongs, also ref the mr before use.

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