WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Lookup backend by name _or_id_. This is important for do

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Lookup backend by name _or_id_. This is important for domain 0, for example!
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 04 Apr 2006 15:24:11 +0000
Delivery-date: Tue, 04 Apr 2006 08:54:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Lookup backend by name _or_id_. This is important for domain 0, for example!, Xen patchbot -unstable <=