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

[Xen-changelog] Lookup backend by name _or_id_. This is important for domain 0, for example!



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID a97fe1ca116e67b07f9a9307c4371ae985b375e1
# Parent  b3751c780aa5b8f511dffc4114102b4ca110a11b
Lookup backend by name _or_id_.  This is important for domain 0, for example!

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r b3751c780aa5 -r a97fe1ca116e 
tools/python/xen/xend/server/DevController.py
--- a/tools/python/xen/xend/server/DevController.py     Mon Apr  3 17:32:43 2006
+++ b/tools/python/xen/xend/server/DevController.py     Mon Apr  3 22:57:42 2006
@@ -90,7 +90,7 @@
         if backdom_name is None:
             backdom = xen.xend.XendDomain.PRIV_DOMAIN
         else:
-            bd = xd.domain_lookup_by_name_nr(backdom_name)
+            bd = xd.domain_lookup_by_name_or_id_nr(backdom_name)
             backdom = bd.getDomid()
         count = 0
         while True:

_______________________________________________
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®.