cyberus-technology / virtualbox-kvm

KVM Backend for VirtualBox. With our current development model, we cannot easily accept pull requests here. If you'd like to contribute, feel free to reach out to us, we are happy to find a solution.
GNU General Public License v3.0
872 stars 121 forks source link

Feature Request: Nested Virtualization #19

Open naY9yjoS6ZqhOd35sIFH opened 3 months ago

naY9yjoS6ZqhOd35sIFH commented 3 months ago

name: Feature Request Nested Virtualzation KVM-backend in VirtualBox title: ''


Bug Description

after enable Nested Virtualzation of exist VMs it doesn't work with Nested Virtualzation in VMs

How to Reproduce

mkdir -p /media/ramos/vbox
VBoxManage createvm --name x64zfs --default --basefolder=/media/ramos/vbox --ostype=Linux26_64 --register
VBoxManage modifyvm x64zfs --nested-hw-virt=on

VM configuration

Guest OS configuration details:

Host OS details:

Logs

each machine one reply

naY9yjoS6ZqhOd35sIFH commented 3 months ago

VBox.log cpu.txt dmesg.txt x64zfs.vbox.txt

tpressure commented 3 months ago

Hi @naY9yjoS6ZqhOd35sIFH

nested virtualization support is ongoing work and is currently not supported by the KVM-Backend for VirtualBox.

tpressure commented 2 months ago

You can try the following test branch for nested VMX (Intel). Note that SVM (AMD) is not supported right now.

https://github.com/tpressure/virtualbox-kvm/tree/nested_vmx_dev

To enable nested virtualization, you have to run VBoxManage modifyvm <vm_name> --nested-hw-virt on

tpressure commented 1 month ago

Nested virtualization for Intel systems is now officially supported with the latest release: https://github.com/cyberus-technology/virtualbox-kvm/releases/tag/dev-20240502

naY9yjoS6ZqhOd35sIFH commented 1 month ago

roger that,and AMD support is No worries. I'm in no hurry