aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_internal.h
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2011-01-21 17:57:31 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2011-01-21 17:57:31 +0000
commit1b1d0b8b75864c6e26e7af5c95b90ecaeb37a9ff (patch)
tree0c47b7eda450575e04fc0cfdb8abe1da650e3a07 /tools/libxl/libxl_internal.h
parente1e6f0f906c72f646b0b1213d202c19356b41de1 (diff)
downloadxen-1b1d0b8b75864c6e26e7af5c95b90ecaeb37a9ff.tar.gz
xen-1b1d0b8b75864c6e26e7af5c95b90ecaeb37a9ff.tar.bz2
xen-1b1d0b8b75864c6e26e7af5c95b90ecaeb37a9ff.zip
tools: Change the name of the qemu save file at restore time
Change the name of the qemu save file to qemu-resume at restore time so that it doesn't collide with the name of the next save file. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_internal.h')
-rw-r--r--tools/libxl/libxl_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h
index 44b7e25d26..0271fcbad4 100644
--- a/tools/libxl/libxl_internal.h
+++ b/tools/libxl/libxl_internal.h
@@ -45,6 +45,7 @@
#define LIBXL_HVM_EXTRA_MEMORY 2048
#define LIBXL_MIN_DOM0_MEM (128*1024)
#define QEMU_SIGNATURE "DeviceModelRecord0002"
+#define SAVEFILE "/var/lib/xen/qemu-save"
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))