[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Pass live flag as number, not "True"/"False".



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 5d8b2c258b2689e76d7bfbaf5c5ca09f25b7d40c
# Parent  cd5d566e1d549948a2f55013ab79fd19e1e4a23a
Pass live flag as number, not "True"/"False".
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r cd5d566e1d54 -r 5d8b2c258b26 tools/python/xen/xend/XendCheckpoint.py
--- a/tools/python/xen/xend/XendCheckpoint.py   Mon Sep  5 14:45:19 2005
+++ b/tools/python/xen/xend/XendCheckpoint.py   Mon Sep  5 14:48:44 2005
@@ -48,7 +48,7 @@
     # simply uses the defaults compiled into libxenguest; see the comments 
     # and/or code in xc_linux_save() for more information. 
     cmd = [PATH_XC_SAVE, str(xc.handle()), str(fd),
-           str(dominfo.id), "0", "0", str(live) ]
+           str(dominfo.id), "0", "0", str(int(live)) ]
     log.info("[xc_save] " + join(cmd))
     child = xPopen3(cmd, True, -1, [fd, xc.handle()])
     

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.