diff --git a/ChangeLog b/ChangeLog index 9b803bb1a6..e835dfc573 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Fri May 8 12:15:05 CEST 2009 Guido Günther + + * 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 * src/vbox/vbox_tmpl.c (vboxUninitialize): fix crash when init fails diff --git a/src/vbox/vbox_tmpl.c b/src/vbox/vbox_tmpl.c index 6507a69782..30632111ec 100644 --- a/src/vbox/vbox_tmpl.c +++ b/src/vbox/vbox_tmpl.c @@ -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) {