mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
xm: display domain id on domain creation
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
This commit is contained in:
1 parent
be3d9af19c
commit
3c66521c46
1 file changed
+3
-2
@@ -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():
|
||||
|
||||