[arch-general] libvirt and VirtualBox

Jukka Salmi j+arch at salmi.ch
Thu Mar 3 13:37:16 UTC 2016


On an up-to-date Arch x86-64 system, I fail to manage VirtualBox VMs
with libvirt virsh:

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

Is this supposed to work out of the box?

Both VirtualBox (5.0.14-1) and libvirt (1.3.2-1) are installed from the
community repository, and VirtualBox support seems to be compiled in:

$ virsh -V
Virsh command line tool of libvirt 1.3.2
Compiled with support for:
 Hypervisors: QEMU/KVM LXC UML OpenVZ VMware PHYP VirtualBox ESX Test

Furthermore, both VirtualBox alone (i.e. when managed by VBoxManage or
similar) and libvirt when used to manage QEMU/KVM sessions work fine.

Any hints about what I'm missing?

TIA & cheers,


This email fills a much-needed gap in the archives.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20160303/ff033b77/attachment.asc>

More information about the arch-general mailing list