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

[Xen-changelog] [xen-unstable] xend: Fix typo in waitForBackend() for phantom VBDs



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1225190250 0
# Node ID 2c20d026bb55722247c0d9ab81c125118a10346f
# Parent  16eede82385477740830a8c4ddc0a5a200c851c7
xend: Fix typo in waitForBackend() for phantom VBDs

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
 tools/python/xen/xend/server/DevController.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 16eede823854 -r 2c20d026bb55 
tools/python/xen/xend/server/DevController.py
--- a/tools/python/xen/xend/server/DevController.py     Tue Oct 28 10:36:22 
2008 +0000
+++ b/tools/python/xen/xend/server/DevController.py     Tue Oct 28 10:37:30 
2008 +0000
@@ -542,7 +542,7 @@ class DevController:
             xswatch(statusPath, hotplugStatusCallback, ev, result)
             ev.wait(DEVICE_CREATE_TIMEOUT)
             err = xstransact.Read(statusPath, HOTPLUG_ERROR_NODE)
-            if result['status'] != 'Connected':
+            if result['status'] != Connected:
                 return (result['status'], err)
             
         backpath = self.readVm(devid, "backend")

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