ia64/xen-unstable

changeset 18738:2c20d026bb55

xend: Fix typo in waitForBackend() for phantom VBDs

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Oct 28 10:37:30 2008 +0000 (2008-10-28)
parents 16eede823854
children 19549b9766fd
files tools/python/xen/xend/server/DevController.py
line diff
     1.1 --- a/tools/python/xen/xend/server/DevController.py	Tue Oct 28 10:36:22 2008 +0000
     1.2 +++ b/tools/python/xen/xend/server/DevController.py	Tue Oct 28 10:37:30 2008 +0000
     1.3 @@ -542,7 +542,7 @@ class DevController:
     1.4              xswatch(statusPath, hotplugStatusCallback, ev, result)
     1.5              ev.wait(DEVICE_CREATE_TIMEOUT)
     1.6              err = xstransact.Read(statusPath, HOTPLUG_ERROR_NODE)
     1.7 -            if result['status'] != 'Connected':
     1.8 +            if result['status'] != Connected:
     1.9                  return (result['status'], err)
    1.10              
    1.11          backpath = self.readVm(devid, "backend")