Running Hyper-V inside of Windows guest

Discussions about using Windows guests in VirtualBox.
Post Reply
imrazor
Posts: 34
Joined: 15. Oct 2015, 02:53
Primary OS: Linux other
VBox Version: OSE Debian
Guest OSses: Windows Server 2012 & R2, Win8.1, CentOS 7

Running Hyper-V inside of Windows guest

Post by imrazor »

I've heard (but not verified) that it's possible to run VMWare ESXi *inside* of a VM. Is this possible with Microsoft's Hyper-V? Or will I tear a rift in the space-time continuum if I try this?

Background: I'm trying to learn Windows Server 2012 & R2 running on a virtual network with VirtualBox. Hyper-V is a technology that MS is pushing pretty hard, so it would be useful to learn how to configure and administer it, even if performance is abysmal.

EDIT: I did some additional research, and found that this feature is called "Nested virtualization" and it was *NOT* supported with 64-bit guests, at least as of Aug. 2014. Has anything changed? What's the difference between "nested virtualization" and "paravirtualization"?
Martin
Volunteer
Posts: 2562
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: Running Hyper-V inside of Windows guest

Post by Martin »

Nested virtualization is not supported with Virtualbox.
Paravirtualization is something completely different. ;)
imrazor
Posts: 34
Joined: 15. Oct 2015, 02:53
Primary OS: Linux other
VBox Version: OSE Debian
Guest OSses: Windows Server 2012 & R2, Win8.1, CentOS 7

Re: Running Hyper-V inside of Windows guest

Post by imrazor »

Martin wrote:Nested virtualization is not supported with Virtualbox.
Paravirtualization is something completely different. ;)
Yep, I got all excited when I saw "Hyper-V" in the paravirtualization option. Apparently that's something completely different.

Reading through the VirtualBox documentation it seems like paravirtualization is basically a way to let the guest OS know it's running in a virtual environment. I'm not sure what benefit that endows to the guest OS though.
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: Running Hyper-V inside of Windows guest

Post by mpack »

imrazor wrote:it seems like paravirtualization is basically a way to let the guest OS know it's running in a virtual environment. I'm not sure what benefit that endows to the guest OS though.
Paravirtualization is much more efficient than simulating hardware. Essentially the VM can access host hardware without the normal VM performance penalty. The downside is that the guest OS needs drivers for a specific VM API (or in the VBox case, a compatible API).
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Running Hyper-V inside of Windows guest

Post by BillG »

You would not cause any damage if you tried to enable the Hyper-V feature in a server VM. Hyper-V requires hardware virtualization, and that is not passed through to the guest. It might even tell you that it installed because it can install the management tools even if it cannot run vms. That is what it does on a physical machine which does not have hardware virtualization enabled.
Bill
Post Reply