mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
Don't try and print out the info returned by the server after a restore -- there
isn't any. Don't try and unpause the restored domain either -- XendCheckpoint does that. Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
4213a82e5b
commit
d96a859929
1 file changed
+1
-5
@@ -321,11 +321,7 @@ def xm_restore(args):
|
||||
sys.exit(1)
|
||||
|
||||
from xen.xend.XendClient import server
|
||||
info = server.xend_domain_restore(savefile)
|
||||
PrettyPrint.prettyprint(info)
|
||||
id = sxp.child_value(info, 'domid')
|
||||
if id is not None:
|
||||
server.xend_domain_unpause(domid)
|
||||
server.xend_domain_restore(savefile)
|
||||
|
||||
|
||||
def getDomains(domain_names):
|
||||
|
||||