mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
xend: Fix SrvDomain.op_save.
The xen.xend.server.SrvDomain class provides an op_save method for saving guests. This just calls into the domain_save method on xen.xend.XenDomain The latter recently gained an extra 'checkpoint' argument, but the SrvDomain class is not providing this. The attached patch simply makes the 'checkpoint' arg default to 'False' if not provided by the caller which makes old calling convention. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
1 parent
f92b83e597
commit
1f2d7a821f
1 file changed
+1
-1
@@ -1227,7 +1227,7 @@ class XendDomain:
|
||||
XendCheckpoint.save(sock.fileno(), dominfo, True, live, dst)
|
||||
sock.close()
|
||||
|
||||
def domain_save(self, domid, dst, checkpoint):
|
||||
def domain_save(self, domid, dst, checkpoint=False):
|
||||
"""Start saving a domain to file.
|
||||
|
||||
@param domid: Domain ID or Name
|
||||
|
||||