ia64/xen-unstable

changeset 8272:b215584242c4

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>
author emellor@leeni.uk.xensource.com
date Wed Dec 07 16:26:07 2005 +0000 (2005-12-07)
parents 77d01909546d
children 1f6ff996a9fe 05b37057b1cf
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Wed Dec 07 16:25:13 2005 +0000
     1.2 +++ b/tools/python/xen/xm/main.py	Wed Dec 07 16:26:07 2005 +0000
     1.3 @@ -321,11 +321,7 @@ def xm_restore(args):
     1.4          sys.exit(1)
     1.5  
     1.6      from xen.xend.XendClient import server
     1.7 -    info = server.xend_domain_restore(savefile)
     1.8 -    PrettyPrint.prettyprint(info)
     1.9 -    id = sxp.child_value(info, 'domid')
    1.10 -    if id is not None:
    1.11 -        server.xend_domain_unpause(domid)
    1.12 +    server.xend_domain_restore(savefile)
    1.13  
    1.14  
    1.15  def getDomains(domain_names):