Masaki Kanno
2008-Oct-28 01:02 UTC
[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@jp.fujitsu.com> Best regards, Kan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Reasonably Related Threads
- Xend crashes when it''s trying to create domU
- [PATCH]Remove XendLogging dependency from xswatch
- [PATCH] del xend entry when destroy pv usb host controller of a guest os with no pv-frontend driver
- xenstore watch for domU shutdown
- Exception starting xend ((11, ''Resource temporarily unavailable''))