Skip to contentSkip to conversation

fix vmx guest creation fail due to vbd connection error detection

PATCH New Ling, Xiaofeng 1 participant 1 message Nov 2, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix vmx guest creation fail due to vbd connection error detection

Changeset 7582 adds vbd connect error detection, this cause vmx guest creation fail.

tools/python/xen/xend/server/DevController.py Wed Nov 2 14:38:31 2005 +0800 renamed from tools/python/xen/xend/server/DevController.py Tue Nov 1 19:13:06 2005 +0100 +2 -0
diff -r ae2e13795c63 tools/python/xen/xend/server/DevController.py
@@ -57,6 +57,8 @@
         @return The ID for the newly created device.
         """
         (devid, back, front) = self.getDeviceDetails(config)
+        if devid == 0:
+            return devid
 
         self.writeDetails(config, devid, back, front)