[libvirt] [PATCH] vbox: don't fail on missing vbox

Guido Günther agx at sigxcpu.org
Thu May 7 08:50:54 UTC 2009


Hi,
virsh fails with:

10:47:37.104: debug : do_open:922 : no name, allowing driver auto-select
10:47:37.104: debug : do_open:930 : trying driver 0 (Test) ...
10:47:37.104: debug : do_open:936 : driver 0 Test returned DECLINED
10:47:37.104: debug : do_open:930 : trying driver 1 (OPENVZ) ...
10:47:37.105: debug : do_open:936 : driver 1 OPENVZ returned DECLINED
10:47:37.105: debug : do_open:930 : trying driver 2 (VBOX) ...
10:47:37.106: debug : do_open:936 : driver 2 VBOX returned ERROR
10:47:37.106: debug : virUnrefConnect:210 : unref connection 0x10032b10 1
10:47:37.106: debug : virReleaseConnect:171 : release connection 0x10032b10
error: failed to connect to the hypervisor

if one has built with vbox support but vbox is not installed. Attached
patch calls VBoxCGlueInit() early so we can return 'declined' instead of
'error'. O.k. to apply?
 -- Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-don-t-return-VIR_DRV_OPEN_ERROR-if-we-can-t-find-the.patch
Type: text/x-diff
Size: 1345 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090507/3b19e80b/attachment-0001.bin>


More information about the libvir-list mailing list