Nested virtualization without nested vmx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I'm currently researching the possibility of nested virtualization.
The goal is to test which hypervisor can be nested inside kvm.

I have already read much about nested virtualization on AMD machines
(on the mailing list and Avi's blog) with the nested svm patch, but I
did not find much information about this subject on Intel machines.
What I did find is that the nested vmx support is not yet finished (or
maybe almost?). So I understand that testing whether kvm runs inside
kvm on Intel will not work until this patch is included in kvm.

However, the goal of the patch is to insert the virtualization
extension into the guest (in virtualized processor), right?
Hypervisors that use software virtualization do not need these
extension so is it correct to state that these hypervisors could
already be nested inside kvm (e.g. running a VirtualBox or VMware
guest inside a kvm guest)? When I tried this with VMware, the KVM
guest (L1) crashed and rebooted. The test with VirtualBox displayed
the message "Kernel panic - not syncing: Attempted to kill init!".
Nesting a Xen guest inside a KVM guest also failed in that the Xen
guest tries to boot, crashes and tries to reboot, etc.

Is there something that I'm overlooking or something that I can try in
order to get it to work? Or what could be the problem that these
hypervisors cannot be nested?

Some technical information:

host$ cat /proc/cpuinfo
model name	: Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz

host$ dmesg | grep kvm
[   18.480937] loaded kvm module (kvm-kmod-devel-88)
[ 4924.495094] kvm: emulating exchange as write

host$ uname -a
Linux 2.6.28-16-generic #57-Ubuntu SMP Wed Nov 11 09:47:24 UTC 2009
i686 GNU/Linux

Kind regards,
Olivier

--

Met vriendelijke groet
Olivier Berghmans
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux