Hello All,
I am wondering if it's possible to run the Xen hypervisor inside a Linux guest? I know any emulator/virtualizer that doesn't use VT-x/AMD-V should technically run inside VirtualBox. I just don't feel like either uninstalling VirtualBox or dual-booting a second Linux partition to play around with Xen. I believe the newer versions of Xen require a VT-x/AMD-V enabled chip.
A side question is... Can you run VirtualBox inside a VirtualBox guest? With VT-x/AMD-V disabled of course.
Possible to test Xen inside a VirtualBox?
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Possible to test Xen inside a VirtualBox?
Quick answer: don't know, try it.
Longer answer: even a VM platform which doesn't use VT-x may still play tricks with privilege levels (rings) that make it awkward to run inside another VM. Hence VM within a VM is not supported whether or not it uses VT-x.
Longer answer: even a VM platform which doesn't use VT-x may still play tricks with privilege levels (rings) that make it awkward to run inside another VM. Hence VM within a VM is not supported whether or not it uses VT-x.
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Possible to test Xen inside a VirtualBox?
I just tried the following successfully. VT-x/AMD-V was enabled on both VMs.kveroneau wrote:A side question is... Can you run VirtualBox inside a VirtualBox guest? With VT-x/AMD-V disabled of course.
- OSX running VirtualBox with
- WinXP (VT-x/AMD-V) running VirtualBox with
- WinXP (VT-x/AMD-V)
- WinXP (VT-x/AMD-V) running VirtualBox with
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Possible to test Xen inside a VirtualBox?
Your second (nested) virtualizer will not have VT-x/AMD-v support. This means no 64 bit guests in the nest. Also you must have nested page support on the real host.
The real question is not nesting VBox in VBox though it is nesting Xen in VBox which is going to be different, especially if it requires VT-x which it won't see.
The real question is not nesting VBox in VBox though it is nesting Xen in VBox which is going to be different, especially if it requires VT-x which it won't see.