mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
xend: Fix typo in waitForBackend() for phantom VBDs
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
1 parent
5059df0621
commit
4b88a787b3
1 file changed
+1
-1
@@ -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")
|
||||
|
||||