Ling, Xiaofeng
2005-Nov-02 06:44 UTC
[Xen-devel] [PATCH] fix vmx guest creation fail due to vbd connection error detection
Changeset 7582 adds vbd connect error detection, this cause vmx guest creation fail. Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com> diff -r ae2e13795c63 tools/python/xen/xend/server/DevController.py --- a/tools/python/xen/xend/server/DevController.py Tue Nov 1 19:13:06 2005 +0100 +++ b/tools/python/xen/xend/server/DevController.py Wed Nov 2 14:38:31 2005 +0800 @@ -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) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel