mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 05:17:59 +03:00
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.
This commit is contained in:
parent
67e2804ecb
commit
6059354da6
@ -1,3 +1,9 @@
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user