You are here

libvirt and virtualbox-ose not working?

I tried to use libvirt and virtualbox-ose, but i only get this error:

$ virsh Fehler: no hypervisor driver available Fehler: Verbindung zum Hypervisor scheiterte

After an "strace -e open virsh" i found, that it can't found VBoxXPCOMC.so. Virtualbox-ose installs into /usr/lib64/virtualbox-ose/ but libvirt searchs in /usr/lib64/virtualbox ...

The solution was to set the env-variable VBOX_APP_HOME before starting virsh:

VBOX_APP_HOME=/usr/lib64/virtualbox-ose virsh

And now it works! :-)