aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWen Congyang <wency@cn.fujitsu.com>2012-06-12 11:06:33 +0800
committerWen Congyang <wency@cn.fujitsu.com>2012-06-15 20:36:14 +0800
commitcdef31c562023c90a7bf55fd5bdf834510c98861 (patch)
tree5be3a6096095a4e71a10d2a1d52a40147dbcba55 /include
parentqemu: implement qemu's dump-guest-memory (diff)
downloadlibvirt-cdef31c562023c90a7bf55fd5bdf834510c98861.tar.gz
libvirt-cdef31c562023c90a7bf55fd5bdf834510c98861.tar.bz2
libvirt-cdef31c562023c90a7bf55fd5bdf834510c98861.zip
qemu: allow the client to choose the vmcore's format
This patch updates qemu driver to allow the client to choose the vmcore's format: memory only or including device state.
Diffstat (limited to 'include')
-rw-r--r--include/libvirt/libvirt.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
index f2ee1d6fd..5c309a1d3 100644
--- a/include/libvirt/libvirt.h.in
+++ b/include/libvirt/libvirt.h.in
@@ -927,6 +927,7 @@ typedef enum {
VIR_DUMP_LIVE = (1 << 1), /* live dump */
VIR_DUMP_BYPASS_CACHE = (1 << 2), /* avoid file system cache pollution */
VIR_DUMP_RESET = (1 << 3), /* reset domain after dump finishes */
+ VIR_DUMP_MEMORY_ONLY = (1 << 4), /* use dump-guest-memory */
} virDomainCoreDumpFlags;
/* Domain migration flags. */