ia64/xen-unstable

changeset 18792:9f68b6ae6243

xm: display domain id on domain creation

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Nov 13 10:50:50 2008 +0000 (2008-11-13)
parents 8de4b4e9a435
children b87cc4de3ca6
files tools/python/xen/xm/create.py
line diff
     1.1 --- a/tools/python/xen/xm/create.py	Wed Nov 12 12:04:15 2008 +0000
     1.2 +++ b/tools/python/xen/xm/create.py	Thu Nov 13 10:50:50 2008 +0000
     1.3 @@ -1202,8 +1202,9 @@ def make_domain(opts, config):
     1.4          except:
     1.5              server.xend.domain.destroy(dom)
     1.6              err("Failed to unpause domain %s" % dom)
     1.7 -    opts.info("Started domain %s" % (dom))
     1.8 -    return int(sxp.child_value(dominfo, 'domid'))
     1.9 +    domid = int(sxp.child_value(dominfo, 'domid'))
    1.10 +    opts.info("Started domain %s (id=%d)" % (dom, domid))
    1.11 +    return domid
    1.12  
    1.13  
    1.14  def get_xauthority():