Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
virsh -c vbox:///session fails
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message

Joined: 09 Aug 2008
Posts: 253

PostPosted: Mon Jun 27, 2016 11:53 am    Post subject: virsh -c vbox:///session fails Reply with quote


virsh -c vbox:///session
error: failed to connect to the hypervisor
error: internal error: unable to initialize VirtualBox driver API

I have emerged libvirt with virtualbox modules:

[I] app-emulation/libvirt
Available versions: 1.2.21-r2(0/1.2.21) 1.3.1-r1(0/1.3.1) 1.3.4(0/1.3.4) (~)1.3.5(0/1.3.5) **9999 {apparmor audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm lxc +macvtap nfs nls numa openvz parted pcap phyp policykit +qemu rbd sasl selinux systemd +udev uml +vepa virt-network virtualbox wireshark-plugins xen}
Installed versions: 1.3.5(08:10:42 PM 06/26/2016)(caps libvirtd macvtap nls policykit systemd udev vepa virt-network virtualbox -apparmor -audit -avahi -firewalld -fuse -glusterfs -iscsi -lvm -lxc -nfs -numa -openvz -parted -pcap -phyp -qemu -rbd -sasl -selinux -uml -wireshark-plugins -xen)

eix virtualbox -I
[I] app-emulation/virtualbox
Available versions: 4.3.32 (~)4.3.36 (~)5.0.16-r1 (~)5.0.20 {+additions alsa debug doc extensions headless java libressl lvm +opengl pam pulseaudio python +qt4 +sdk +udev vboxwebsrv vnc ELIBC="FreeBSD" PYTHON_TARGETS="python2_7"}
Installed versions: 5.0.20(08:36:18 PM 06/26/2016)(alsa headless opengl pam pulseaudio python sdk udev -debug -doc -java -libressl -lvm -qt4 -vboxwebsrv -vnc ELIBC="-FreeBSD" PYTHON_TARGETS="python2_7")
Description: Family of powerful x86 virtualization products for enterprise and home use

[I] app-emulation/virtualbox-modules
Available versions: 4.3.32 (~)4.3.36 (~)5.0.16 (~)5.0.20 {pax_kernel KERNEL="linux"}
Installed versions: 5.0.20(09:14:37 AM 06/25/2016)(-pax_kernel KERNEL="linux")
Description: Kernel Modules for Virtualbox

What am I missing?

David Shen
Back to top
View user's profile Send private message

Joined: 31 Jul 2016
Posts: 3

PostPosted: Sun Jul 31, 2016 9:07 pm    Post subject: Reply with quote

Nothing. The support for VBox 5 has been added just recently:

commit d0bef6433408745e4fffb9f16a146cbde9510f3b
Author: Martin Pietsch <>
AuthorDate: Sun Jun 19 13:54:23 2016 +0200
Commit: Ján Tomko <>
CommitDate: Fri Jun 24 09:26:06 2016 +0200

Add support for VirtualBox 5

$ git describe --contains d0bef6433408745e4fffb9f16a146cbde9510f3b

So updating your libvirt should do the trick.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum