Recursive virtualization
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
A message that is not in the archive (sent off-list or not yet received): cb6aceaa0704040936j62354e99vb49108040ff79d4e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Quoted 7 lines
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?
We have an open todo task for it.
It is 'just' emulating the VMCS/VMCB structures and commands.
Quoted 2 lines
-----------------------------------------------------------------------
--
Quoted 5 lines
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=DEVD
EV
Quoted 4 lines
_______________________________________________
kvm-devel mailing list [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
A message that is not in the archive (sent off-list or not yet received): 64F9B87B6B770947A9F8391472E032160B318F00-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/[email protected]
Dor,
Thanks, I realize there will certainly be a lot of work in virtualizing them. Maybe Intel can help out with VVT-x to give a root-root mode. ;)
Any idea at a high level how vbox does it? I will post in their forum, but I assume somebody here has a good idea.
Thanks.
Quoted 12 lines · Dor Laor
Quoted 7 lines
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?
We have an open todo task for it.
It is 'just' emulating the VMCS/VMCB structures and commands.Quoted 1 line
Quoted 13 lines
Quoted 1 line
-----------------------------------------------------------------------
--
Quoted 5 lines
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
Quoted 4 lines
_______________________________________________
kvm-devel mailing list [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
A message that is not in the archive (sent off-list or not yet received): cb6aceaa0704040957r7ff6dc2dycc626e7079deceef-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Quoted 9 lines
Dor,
Thanks, I realize there will certainly be a lot of work in virtualizing them. Maybe Intel can help out with VVT-x to give a root-root mode. ;)
Any idea at a high level how vbox does it? I will post in their forum, but I assume somebody here has a good idea.
Vbox branched out from qemu. It is another emulator that suppose to run in native code in a similar fashion to kqeumu. They run the user code and non-dangerous stuff natively, the rest is fully emulated, thus can have nested levels.
Quoted 6 lines
Thanks.
Quoted 2 lines · Dor Laor
Quoted 2 lines
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
Quoted 1 line
Quoted 1 line
Quoted 1 line
of the possibilities for recursive virtualization. I know vbox
claims
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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
Quoted 1 line
Quoted 1 line
Quoted 1 line
that should be possible without an "enlightened" guest hypervisor
and
Quoted 11 lines
Quoted 7 lines
Quoted 1 line
by basically just virtualizing the VMCS/VMCB structures?
We have an open todo task for it.
It is 'just' emulating the VMCS/VMCB structures and commands.Quoted 1 line
-----------------------------------------------------------------------
Quoted 3 lines
--
Quoted 2 lines
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to
share
Quoted 10 lines
Quoted 3 lines
Quoted 2 lines
your
opinions on IT & business topics through brief surveys-and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
Quoted 6 lines
EV
Quoted 4 lines
_______________________________________________
kvm-devel mailing list [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
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
Quoted 1 line
Quoted 1 line
Quoted 1 line
On Wed, Apr 4, 2007 at 12:36 PM, in message
<cb6aceaa0704040936j62354e99vb49108040ff79d4e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>, "Casey Jeffery"
Quoted 8 lines · <[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?
Quoted 9 lines
-------------------------------------------------------------------------
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