提交 6059354d 编写于 作者: G Guido Günther

return VIR_DRV_OPEN_DECLINED instead of VIR_DRV_OPEN_ERROR when vbox can't be

found so other hypervisors can be probed. Patch by Pritesh Kothari.
上级 67e2804e
Fri May 8 12:15:05 CEST 2009 Guido Günther <agx@sigxcpu.org>
* src/vbox/vbox_tmpl.c (virDrvOpen): return VIR_DRV_OPEN_DECLINED
instead of VIR_DRV_OPEN_ERROR when vbox can't be found so other
hypervisors can be probed. Patch by Pritesh Kothari.
Fri May 8 12:09:12 CEST 2009 Guido Günther <agx@sigxcpu.org>
* src/vbox/vbox_tmpl.c (vboxUninitialize): fix crash when init fails
......
......@@ -351,7 +351,7 @@ static virDrvOpenStatus vboxOpen(virConnectPtr conn,
return VIR_DRV_OPEN_SUCCESS;
cleanup:
vboxUninitialize(data);
return VIR_DRV_OPEN_ERROR;
return VIR_DRV_OPEN_DECLINED;
}
static int vboxClose(virConnectPtr conn) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册