[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xm: display domain id on domain creation



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1226573450 0
# Node ID 9f68b6ae6243dd8af575ce79bc60d74e1f2364c4
# Parent  8de4b4e9a435cea9b8e85863fcb832c213281076
xm: display domain id on domain creation

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
---
 tools/python/xen/xm/create.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff -r 8de4b4e9a435 -r 9f68b6ae6243 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py     Wed Nov 12 12:04:15 2008 +0000
+++ b/tools/python/xen/xm/create.py     Thu Nov 13 10:50:50 2008 +0000
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.