direct-io.hg
changeset 6620:5d8b2c258b26
Pass live flag as number, not "True"/"False".
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author | cl349@firebug.cl.cam.ac.uk |
---|---|
date | Mon Sep 05 14:48:44 2005 +0000 (2005-09-05) |
parents | cd5d566e1d54 |
children | 89e8a2144c1d |
files | tools/python/xen/xend/XendCheckpoint.py |
line diff
1.1 --- a/tools/python/xen/xend/XendCheckpoint.py Mon Sep 05 14:45:19 2005 +0000 1.2 +++ b/tools/python/xen/xend/XendCheckpoint.py Mon Sep 05 14:48:44 2005 +0000 1.3 @@ -48,7 +48,7 @@ def save(xd, fd, dominfo, live): 1.4 # simply uses the defaults compiled into libxenguest; see the comments 1.5 # and/or code in xc_linux_save() for more information. 1.6 cmd = [PATH_XC_SAVE, str(xc.handle()), str(fd), 1.7 - str(dominfo.id), "0", "0", str(live) ] 1.8 + str(dominfo.id), "0", "0", str(int(live)) ] 1.9 log.info("[xc_save] " + join(cmd)) 1.10 child = xPopen3(cmd, True, -1, [fd, xc.handle()]) 1.11