Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
Virtualization: Guest in guest?

Is it possible to run a virtual machine under a virtual machine ?

share|improve this question

marked as duplicate by Shane Madden, Chris S, Iain, sysadmin1138 Sep 29 '11 at 17:56

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
I thought of this the other day. I wonder if you can measure the performance loss the deeper the VM's go. A VMware inside a Hyper-V inside a VMWare? Hmmm... inside virtualbox? –  Jason Taylor Sep 29 '11 at 17:31
3  
2 words: VM Inception! –  TylerShads Sep 29 '11 at 17:40

5 Answers 5

Possibly, but not with ahrdware acceleration - the processor only has one ring 0. For the hyper-visor.

The sense of it is academic, though - it makes NO sense from an admin perspective.

share|improve this answer
    
...but Linux kernel 3.1 is going to add this functionality. With all the problems. –  mailq Sep 29 '11 at 17:02

esxi 4.1 can virtualize itself.

share|improve this answer
    
As can Linux's KVM. avikivity.blogspot.com/2008/09/… –  sciurus Sep 29 '11 at 18:01

Yes it is known a nested virtualization. Here is a paper on same http://www.xen.org/files/xensummit_intel09/xensummit-nested-virt.pdf relative to Xen from Intel.

share|improve this answer

Yes, it is possible with bare-metal hypervizors, and is very common for virtualization lab environments. Not generally recommended for production though.

http://www.vcritical.com/2009/05/vmware-esx-4-can-even-virtualize-itself/

share|improve this answer

Sure. For some reason not long ago I was running QEMU as an ARM emulator inside Fedora inside VMWare Server on a Windows XP desktop.

It worked well enough.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.