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] [xen-4.0-testing] xend: Fix getStubdomDomid function

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] xend: Fix getStubdomDomid function
From: "Xen patchbot-4.0-testing" <patchbot-4.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 May 2010 05:16:35 -0700
Delivery-date: Wed, 19 May 2010 05:23:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1273909143 -3600
# Node ID cba70e8639fffb93407bc7b70e4006b40705ffff
# Parent  6c4f1f41765d205f745c5fdb89a8e271b51d2b80
xend: Fix getStubdomDomid function

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   21394:4dc64aa43692
xen-unstable date:        Sat May 15 08:31:42 2010 +0100
---
 tools/python/xen/xend/XendDomainInfo.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 6c4f1f41765d -r cba70e8639ff tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Sat May 15 08:38:39 2010 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py   Sat May 15 08:39:03 2010 +0100
@@ -1923,7 +1923,7 @@ class XendDomainInfo:
         dom_list = xstransact.List('/local/domain')
         for d in dom_list:
             target = xstransact.Read('/local/domain/' + d + '/target')
-            if target is not None and int(target) is self.domid :
+            if target is not None and int(target) == self.domid:
                 return int(d)
         return None
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.0-testing] xend: Fix getStubdomDomid function, Xen patchbot-4.0-testing <=