Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtualbox: Disable KVM enable-at-load #8897

Open
xtexChooser opened this issue Dec 7, 2024 · 1 comment
Open

virtualbox: Disable KVM enable-at-load #8897

xtexChooser opened this issue Dec 7, 2024 · 1 comment

Comments

@xtexChooser
Copy link
Contributor

Since Linux kernel 6.12-rc1, KVM has been enabling itself once system boot (torvalds/linux@b4886fa). This leads to VirtualBox failing to start VMs, because VBox conflicts with KVM.

VirtualBox suggests adding kvm.enable_virt_at_load=0 kernel parameter to avoid KVM virtualization being enabled on boot. I suggest to ship this parameter with the virtualbox package, making it ready to use since installed.

@MingcongBai
Copy link
Member

I seem to be more inclined to patch the said behaviour in the kernel, there has been some recent discussion about this on the list, too.

Also, since we build the KVM modules into the kernel image (to ease QEMU users), modprobe.d seems difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants