VirtualBox 6.0 and Hyper-V

Discussions related to using VirtualBox on Windows hosts.

Re: VirtualBox 6.0 and Hyper-V

Postby klaus » 21. Jan 2021, 12:23

BillG, please provide VBox.log for the hanging VM run... that's the bare minimum requirement to make your report meaningful (otherwise it's just a nice looking screenshot without much additional information), as described in first section of the Troubleshooting chapter in the manual.
klaus
Oracle Corporation
 
Posts: 828
Joined: 10. May 2007, 14:57

Re: VirtualBox 6.0 and Hyper-V

Postby bbahes » 21. Jan 2021, 12:38

shawnz wrote:BillG, on Pro you should see all three of the options. Scroll down and you should see the other two (Virtual Machine Platform and Windows Hypervisor Platform) near the bottom.

But the difference between them is not relevant to Virtualbox. Activating any of those components will enable Hyper-V to load at boot, and if Hyper-V is loaded, you will get the green turtle.


And you get slow guest VM...
Will this ever be resolved?
bbahes
 
Posts: 1
Joined: 24. Oct 2020, 10:19

Re: VirtualBox 6.0 and Hyper-V

Postby scottgus1 » 22. Jan 2021, 19:56

bbahes wrote:Will this ever be resolved?

That's a hard one. Predicting the future is a little hard. :shock: The devs can but try, and if Microsoft stopped changing things then that turtle might be able to be sent down to the Galapagos some day...
scottgus1
Site Moderator
 
Posts: 12471
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VirtualBox 6.0 and Hyper-V

Postby JochenW » 27. Jan 2021, 21:05

I would like to point out, that there seem to be other issues, which might come into the game:

I have a VM, on which the green turtle is active (Indeed, I have Hyper-V enabled, because I need it to run the Docker Desktop.)

On the same VM,

1.) booting from CentOS-8.3.2011-x86_64-dvd1.iso fails, reporting VERR_CPUM_RAISE_GP_0 (see https://www.virtualbox.org/ticket/20141 for details).
2.) booting from ubuntu-20.10-desktop-amd64.iso works just fine.

In other words: Depending on the Linux kernel, using Hyper-V might work (or not).
JochenW
 
Posts: 11
Joined: 30. Dec 2018, 14:18

Re: VirtualBox 6.0 and Hyper-V

Postby djangofan » 4. Feb 2021, 19:03

Quick question: is using VMWare a working and functional alternative?
djangofan
 
Posts: 1
Joined: 4. Feb 2021, 19:01

Re: VirtualBox 6.0 and Hyper-V

Postby scottgus1 » 4. Feb 2021, 19:13

djangofan wrote:is using VMWare a working and functional alternative?

Alternative to what? Running VMware under Hyper-V as opposed to Virtualbox under Hyper-V?

If so, we wouldn't really know. You could try it and let us know...
scottgus1
Site Moderator
 
Posts: 12471
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VirtualBox 6.0 and Hyper-V

Postby mpack » 4. Feb 2021, 19:18

scottgus1 wrote:... and let us know...

Or not! Knowing how VMWare works or not in some particular scenario is not very useful to a VirtualBox user AFAICS. And like you Scott I have no idea whether it works, and have no motive to find out!
mpack
Site Moderator
 
Posts: 34260
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

CentOS 8.2 / VBox Windows 10 Host / Cannot Install OS

Postby raidenz » 6. Feb 2021, 02:27

I am having the EXACT same issue. Running Virtualbox 6.1.18 on the latest Windows 10 Pro and I have docker Desktop also installed. Trying to install CentOS 8.3 iso and it freezes during kernel loading. I even tried the latest CentOS 8 stream [CentOS-Stream-8-x86_64-20210204-dvd1.iso] and it freezes during kernel initialization. [Shows green turtle icon when Hyper-V is enabled].

If I run a custom made linux distro [running linux kernel 5.10.13], it boots without an issue.

It's only if I disable Hyper-V and reboot and re-run Virtualbox, CentOS 8 or CentOS Stream works without any issue [no green turtle icon]. I would love to see this get fixed in Virtualbox to get CentOS 8.3 working when Hyper-v is enabled. [MsrExit/0: 0010:ffffffffbb864d98/LM: WRMSR 00000033, 20000000:00000000 -> VERR_CPUM_RAISE_GP_0!]
raidenz
 
Posts: 1
Joined: 6. Feb 2021, 02:25

Re: VirtualBox 6.0 and Hyper-V

Postby aquacrayfish » 7. Feb 2021, 18:43

I'm seeing the same error. Windows 10 Home Editon (so Hyper-V is not a valid feature), basic HyperVisor Platform Windows Feature is enabled, VirtualBox Guest Additions installed and version 6.1.
Attachments
Windows 98 II-2021-02-07-11-19-30.zip
(7.22 KiB) Downloaded 16 times
aquacrayfish
 
Posts: 1
Joined: 7. Feb 2021, 18:39

Re: VirtualBox 6.0 and Hyper-V

Postby BillG » 8. Feb 2021, 06:13

It may not be a feature of Windows Home, but activating anything which loads the hypervisor will cause problems.

Either turn it off or prevent the hypervisor from loading using the bcdedit command (or both to be sure!)
Bill
BillG
Volunteer
 
Posts: 4796
Joined: 19. Sep 2009, 04:44
Location: Sydney, Australia
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 7,8,Server

Re: VirtualBox 6.0 and Hyper-V

Postby P_G » 23. Mar 2021, 09:49

JochenW wrote:Depending on the Linux kernel, using Hyper-V might work (or not).

raidenz wrote:If I run a custom made linux distro [running linux kernel 5.10.13], it boots without an issue.

Virtualbox 6.1.18 with debian guest, only kernel 5.9.3 boot, the 5.10.13 and 5.7.6 crash.

Maybe the custom kernel change the behavior ?
P_G
 
Posts: 2
Joined: 22. Mar 2021, 19:39

Re: VirtualBox 6.0 and Hyper-V

Postby P_G » 2. May 2021, 18:09

Virtualbox 6.1.22 r144080 fixed the issue for kernel 5.10. I did not test other kernels.
P_G
 
Posts: 2
Joined: 22. Mar 2021, 19:39

Re: VirtualBox 6.0 and Hyper-V

Postby scottgus1 » 3. May 2021, 19:16

We are officially calling in the dogs and putting out the fire on this topic. :lol:

As can be seen by reading this long tome of a topic, Virtualbox continues to develop running under Hyper-V. Successes and failures depend on the host and VM OS being used. As situations develop, new Microsoft Windows versions come out, and new OS's to be used in the VMs come out, it will come down to personal experimentation whether a particular host Windows version and VM OS will work with active host Hyper-V running.

If anyone has a question about running their VMs in Virtualbox under active host Hyper-V, please start a new topic for their own host and VM situation.
scottgus1
Site Moderator
 
Posts: 12471
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Previous

Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: No registered users and 43 guests