[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] Fix typo in waitForBackend() for phantom VBDs
Hi, I believe that a value of "result['status']" is an integer, isn't a character string. diff -r 8d41996e6897 tools/python/xen/xend/server/DevController.py --- a/tools/python/xen/xend/server/DevController.py Mon Oct 27 18:51:52 2008 +0000 +++ b/tools/python/xen/xend/server/DevController.py Tue Oct 28 09:14:53 2008 +0900 @@ -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") Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx> Best regards, Kan Attachment:
waitForBackend.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |