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
davidshen84
Apprentice
Apprentice


Joined: 09 Aug 2008
Posts: 219

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

Hi,

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:

Quote:
[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)


Quote:
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")
Homepage: http://www.virtualbox.org/
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")
Homepage: http://www.virtualbox.org/
Description: Kernel Modules for Virtualbox


What am I missing?


Thanks~
_________________
David Shen
Back to top
View user's profile Send private message
mprivozn
n00b
n00b


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 <martin.pietsch@tu-dresden.de>
AuthorDate: Sun Jun 19 13:54:23 2016 +0200
Commit: Ján Tomko <jtomko@redhat.com>
CommitDate: Fri Jun 24 09:26:06 2016 +0200

Add support for VirtualBox 5


$ git describe --contains d0bef6433408745e4fffb9f16a146cbde9510f3b
v2.0.0-rc1~59

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