aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python
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/python
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/python')
-rw-r--r--tools/python/xen/xend/image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py
index 1983502a2e..f1464ac1f2 100644
--- a/tools/python/xen/xend/image.py
+++ b/tools/python/xen/xend/image.py
@@ -936,7 +936,7 @@ class HVMImageHandler(ImageHandler):
args = ImageHandler.getDeviceModelArgs(self, restore)
args = args + ([ "-M", "xenfv"])
if restore:
- args = args + ([ "-loadvm", "/var/lib/xen/qemu-save.%d" %
+ args = args + ([ "-loadvm", "/var/lib/xen/qemu-resume.%d" %
self.vm.getDomid() ])
return args