mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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>
This commit is contained in:
1 parent
e1e6f0f906
commit
1b1d0b8b75
5 files changed
+15
-3
No files matched your search
@@ -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
|
||||
|
||||
|
||||