It seems from cursory inspection that this is possible in theory, even on HVM 
hardware.  My thoughts are as follows (Intel oriented, which I know better):

*) The hypervisor sets to trap on VMX type operations (VMXON/OFF/START/RESUME, 
etc) and provide emulation of them as follows:

*) When a VMXON instruction is encountered, mark the guest as a nested 
hypervisor and setup any necessary structures for tracking

*) when a VMXSTART/RESUME instruction is encountered, launch the new guest as a 
subordinate guest of the owning hypervisor guest.  When a VMEXIT occurs, 
VMXRESUME the hypervisor guest.

etc etc

This in theory could work to any degree of nesting, as long as the VMX 
operations are emulated.  Note that each subordinate hypervisor would think it 
was emulating the VMX operations too, even though it is really only the bottom 
hypervisor which does so.  This is kind of mind bending ;)

-Greg


>>> On Wed, Apr 4, 2007 at 12:36 PM, in message
<[EMAIL PROTECTED]>, "Casey Jeffery"
<[EMAIL PROTECTED]> wrote: 
> I swear this has been brought up before in this forum, but I can't
> find it. I'm curious what the virtualization gurus in this forum think
> of the possibilities for recursive virtualization. I know vbox claims
> to support it, but I haven't come across many details on how they do
> it and I don't think they really use the hvm hardware. Is it something
> that should be possible without an "enlightened" guest hypervisor and
> by basically just virtualizing the VMCS/VMCB structures?
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> kvm- devel mailing list
> kvm- [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/kvm- devel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to