xm: display domain id on domain creation

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
This commit is contained in:
Keir Fraser committed 2008-11-13 10:50:50 +00:00
1 parent be3d9af19c
commit 3c66521c46
1 file changed
+3 -2
+3 -2
View File
@@ -1202,8 +1202,9 @@ def make_domain(opts, config):
except:
server.xend.domain.destroy(dom)
err("Failed to unpause domain %s" % dom)
opts.info("Started domain %s" % (dom))
return int(sxp.child_value(dominfo, 'domid'))
domid = int(sxp.child_value(dominfo, 'domid'))
opts.info("Started domain %s (id=%d)" % (dom, domid))
return domid
def get_xauthority():
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.