VirtualBox 6.0 and Hyper-V
Re: VirtualBox 6.0 and Hyper-V
How's the performance? Is Sandbox enabled on your box?
Cheers.
Cheers.
Last edited by socratis on 14. Aug 2019, 16:34, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Reason: Removed unnecessary verbatim quote of the whole previous message.
-
- Posts: 38
- Joined: 16. Mar 2012, 03:15
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Commodore OS, Win 8
Re: VirtualBox 6.0 and Hyper-V
That did it for me! It runs incredibly slowly, though.
Tom L
Tom L
Last edited by socratis on 14. Aug 2019, 16:35, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Reason: Removed unnecessary verbatim quote of the whole previous message.
-
- Posts: 38
- Joined: 16. Mar 2012, 03:15
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Commodore OS, Win 8
Re: VirtualBox 6.0 and Hyper-V
How do you enable sandbox mode? Is it in VirtualBox or in Hyper-V?
Tom L
Tom L
Last edited by socratis on 14. Aug 2019, 16:35, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Reason: Removed unnecessary verbatim quote of the whole previous message.
-
- Posts: 1
- Joined: 30. Jul 2019, 02:14
- Primary OS: MS Windows 10
- VBox Version: OSE other
- Guest OSses: Ubuntu 18.04
Re: VirtualBox 6.0 and Hyper-V
Windows Sandbox, see attached screenshot. For more information, see December article on Windows Kernel Internals techcommunity (sorry I can't post URLs).How do you enable sandbox mode? Is it in VirtualBox or in Hyper-V?
- Attachments
-
- Optional Windows Features dlg.png (91.01 KiB) Viewed 9523 times
-
- Posts: 38
- Joined: 16. Mar 2012, 03:15
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Commodore OS, Win 8
Re: VirtualBox 6.0 and Hyper-V
It's no solution at all. The whole point of this thread is to be able to run Hyper-V AND VirtualBox at the same time.WesleyRast wrote:This is what fixed it for me. Hyper-V is just cancer for running anything else related to virtual machines.
Open an admin Powershell and type the following to disable Hyper-V:Then restart your machine. `vagrant up` will now work with no problem.Code: Select all
bcdedit /set hypervisorlaunchtype off
Re: VirtualBox 6.0 and Hyper-V
After a few days of struggling, this got me up and running.RColbert wrote:To make this work for me on the current 20H1 Insider release of Windows 10, I added the line mentioned in a previous post to the ExtraData section of the %userprofile%\.VirtualBox\VirtualBox.xml config file.
<ExtraDataItem name="VBoxInternal/NEM/UseRing0Runloop" value="0"/>
64bit Windows and Linux VMs are able to run.
-
- Posts: 341
- Joined: 9. Mar 2012, 00:14
Re: VirtualBox 6.0 and Hyper-V
This customization:
1. Works with SandBox too?
2. Performance?
3. VB's recommended solution?
Gotta find out
Code: Select all
<ExtraDataItem name="VBoxInternal/NEM/UseRing0Runloop" value="0"/>
2. Performance?
3. VB's recommended solution?
Gotta find out
Re: VirtualBox 6.0 and Hyper-V
When can I expect a new VirtualBox release that feels less alpha release and supports
- Running on the same system as Hyper-V
- automatically suggests enabling or sets the proper Windows settings by itself
- Has sane error messages
- Does not need UseRing0Runloop workaround
- No or little performance penalty
- just works?
-
- Posts: 3
- Joined: 12. Aug 2019, 16:31
Re: VirtualBox 6.0 and Hyper-V
I got it working on my XPS with "fast ring" on Win10 Pro enabled. (I will post a follow up with logs/settings once I get them collected)
I have Sandbox and WSL2 working already.
What I noticed is that about every 4th time I boot the same Linux guest, it "hangs" with "dracut-initqueue timeout' at startup.
It is not consistent on this. I am using XFS for the filesystem in the guest (MBR, primary partitions... this usually works best).
I see the "turtle" at the bottom. But. performance is certainly acceptable.
I have Sandbox and WSL2 working already.
What I noticed is that about every 4th time I boot the same Linux guest, it "hangs" with "dracut-initqueue timeout' at startup.
It is not consistent on this. I am using XFS for the filesystem in the guest (MBR, primary partitions... this usually works best).
I see the "turtle" at the bottom. But. performance is certainly acceptable.
-
- Posts: 3
- Joined: 12. Aug 2019, 16:31
Re: VirtualBox 6.0 and Hyper-V
I was getting startup crashes on the instances until I enabled this in my CentOS template image. Now everything is fine.loyukfai wrote:This customization:1. Works with SandBox too?Code: Select all
<ExtraDataItem name="VBoxInternal/NEM/UseRing0Runloop" value="0"/>
2. Performance?
3. VB's recommended solution?
Gotta find out
Re: VirtualBox 6.0 and Hyper-V
Hey guys ... good work digging out this setting.
I guess this depends on some future work to make the underlying hyperv apis accessible to 3rd party providers like VirtualBox and VMWare workstation, right?
/Lars
One question though. Does this only work on the insider builds of windows 10? I still can't get it to work on my windows 10 1903 build 18362.295<ExtraDataItem name="VBoxInternal/NEM/UseRing0Runloop" value="0"/>
I guess this depends on some future work to make the underlying hyperv apis accessible to 3rd party providers like VirtualBox and VMWare workstation, right?
/Lars
-
- Posts: 3
- Joined: 12. Aug 2019, 16:31
Re: VirtualBox 6.0 and Hyper-V
After some long nights of testing and installing from scratch, I suspect that the device drivers in the Linux guest additions is causing unpredictable behavior.
I *believe* this is the culprit with one of the drivers that gets loaded as I am having issues with booting and the Vbox error logs (at the host) are looking mostly normal.
My recommendations to folks is hold off on installing the Guest Additions in their Linux VMs until a useful bug report can be submitted.
The testing I did was with CentOS 7.5.1804 with Virtualbox 6.0.10 on an i7 XPS 9570 running the latest patches.
I *believe* this is the culprit with one of the drivers that gets loaded as I am having issues with booting and the Vbox error logs (at the host) are looking mostly normal.
My recommendations to folks is hold off on installing the Guest Additions in their Linux VMs until a useful bug report can be submitted.
The testing I did was with CentOS 7.5.1804 with Virtualbox 6.0.10 on an i7 XPS 9570 running the latest patches.
Re: VirtualBox 6.0 and Hyper-V
@BillG Thank you!
If it is better not running VirtualBox while Hyper-V is enabled(i.e. for dockers APPs), and disable Hyper-V and reboot Win10 when VirtualBox needs to run VM?
Will this start the VirtualBox again, and the VMs that had been created be safe to start and run as usual?
If it is better not running VirtualBox while Hyper-V is enabled(i.e. for dockers APPs), and disable Hyper-V and reboot Win10 when VirtualBox needs to run VM?
Will this start the VirtualBox again, and the VMs that had been created be safe to start and run as usual?
-
- Volunteer
- Posts: 5105
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: VirtualBox 6.0 and Hyper-V
Your vms will not be affected, nor will the VirtualBox program (except that it will now work properly because the Windows hypervisor is not running).
Bill