xm: display domain id on domain creation
PATCH 1/1 xm: display domain id on domain creation
This patch adds display of domain id as follows:
$ xm create vm1
Using config file "/etc/xen/vm1".
Started domain VM1 (id=8)
^^^^^^It's useful, isn't it?
Thanks,
Kouya
tools/python/xen/xm/create.py +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():
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Hi Kouya,
I would like it for the following commands too.
- xm start
- xm restore
- xm resume
Best regards,
Kan
Quoted 20 lines · Kouya Shimura
This patch adds display of domain id as follows:
$ xm create vm1 Using config file "/etc/xen/vm1". Started domain VM1 (id=8) ^^^^^^It's useful, isn't it?
Thanks,
KouyaSigned-off-by Kouya Shimura <[email protected]>-------------------------------text/plain-------------------------------
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Hi Kan,
Hmm, I hardly use those commands.
They are currently quiet. I had a quick look at python code and it seems to take a lot of time to implement them.
Thanks,
Kouya
Quoted 32 lines · Masaki Kanno
Hi Kouya,
I would like it for the following commands too.
- xm start
- xm restore
- xm resumeBest regards,
KanQuoted 20 lines · Kouya Shimura
This patch adds display of domain id as follows:
$ xm create vm1 Using config file "/etc/xen/vm1". Started domain VM1 (id=8) ^^^^^^It's useful, isn't it?
Thanks,
KouyaSigned-off-by Kouya Shimura <[email protected]>-------------------------------text/plain-------------------------------
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel