My host laptop has an Intel i7 processor and virtualization is enabled in the BIOS. I know that since Virtual Box 6.0, Virtual Box allows nested virtualization, with passthrough of hardware virtualization functions to the guest VM.
The following checkboxes are enabled in my GuestOS (Ubuntu) settings in the VirtualBox:
Processor > Extended Features > Enable Nested VT-x/AMD-V
Acceleration > Paravirtualization Interface > KVM
Acceleration > Hardware Virtualization > Enable VT-x/AMD-V
Acceleration > Hardware Virtualization > Enable Nested Paging
I would assume that since VT-x is enabled, I would be able to run KVM on my Guest OS, but after running kvm-ok
, I saw that my GuestOS does not support KVM extensions.
$ kvm-ok
INFO: Your CPU does not support KVM extensions
INFO: For more detailed results, you should run this as root
HINT: sudo /usr/sbin/kvm-ok
$ egrep -c '(vmx|svm)' /proc/cpuinfo
0
Do anyone know how to run nested virtualization (ie. KVM Android Emulator) on Virtual Box Linux GuestOS?