mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
d4efbea9d1b4dd345fd99c29fc551d12d89b016d
The aim of virtualbox use flag is to drag in
app-emulation/virtualbox as dependency. Libvirt builds
without it just fine, but then fails at runtime:
error: failed to connect to the hypervisor
error: internal error: unable to initialize VirtualBox driver API
This is because VBoxXPCOMC.so is loaded at runtime (via dlopen()
[1]). But all of our ebuilds are missing the dependency because
of the commit below (which has really poor commit message and
doesn't explain why the dependency was removed).
For now, libvirt supports virtualbox-6.1 and virtualbox-7.0.
Support for virtualbox-7.1 is being worked on [2].
This reverts commit cbb7c820c7.
1: https://gitlab.com/libvirt/libvirt/-/blob/master/src/vbox/vbox_XPCOMCGlue.c?ref_type=heads#L110
2: https://gitlab.com/libvirt/libvirt/-/issues/681
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38937
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
…
…
…
…
…
…
…
…
…
…
…
…
Description
No description provided
9.8 GiB
Languages
Shell
98%
Roff
1.4%
Emacs Lisp
0.2%
C
0.1%