Comments on: How to Enable Nested Virtualization in VirtualBox on Linux https://www.linuxtechi.com/enable-nested-virtualization-virtualbox-linux/ Wed, 19 Aug 2020 17:34:49 +0000 hourly 1 By: Clark https://www.linuxtechi.com/enable-nested-virtualization-virtualbox-linux/#comment-21437 Wed, 19 Aug 2020 17:34:49 +0000 https://www.linuxtechi.com/?p=10019#comment-21437 In reply to Sainster.

Perhaps this will solve your problem too.

My host OS was Windows 10 (build 2004 – April 2020) that I was running VirtualBox on (as opposed to a Linux host in the article). I had this same error, “Cannot enable nested VT-x/AMD-V without nested-paging and unresricted guest execution!”.

Then I found this thread: ‘https://nullrend.com/11909/verr_cpum_invalid_hwvirt_config/’

The problem I was having was that Windows Hyper-V was interfering with VirtualBox. Perhaps this can happen on other host OSes too where another hypervisor, like KVM, interferes with VirtualBox.

My problem was fixed once I executed the following command and rebooted my Windows 10 host:

Disable-WindowsOptionalFeature -online -FeatureName VirtualMachinePlatform

]]>
By: Hasbullah Marwan https://www.linuxtechi.com/enable-nested-virtualization-virtualbox-linux/#comment-21008 Mon, 13 Jul 2020 02:22:38 +0000 https://www.linuxtechi.com/?p=10019#comment-21008 i create vm in vbox to running docker, but its containers can’t ping outsite the world. i think it cause nested is disabled. but after i enable i have same problem

]]>
By: Sainster https://www.linuxtechi.com/enable-nested-virtualization-virtualbox-linux/#comment-20059 Tue, 05 May 2020 22:31:39 +0000 https://www.linuxtechi.com/?p=10019#comment-20059 Hello I tried enabling the nested virtualization but got an error: “Cannot enable nested VT-x/AMD-V without nested-paging and unrestricted guest execution! (VERR_CPUM_INVALID_HWVIRT_CONFIG). Result Code: NS_ERROR_FAILURE (0x80004005) Component: ConsoleWrap Interface: IConsole {etc…}. Tried executing command you wrote with sudo and still it won’t open in VB. Any ideas? Thanks

]]>
By: Bruce Ferrell https://www.linuxtechi.com/enable-nested-virtualization-virtualbox-linux/#comment-19192 Tue, 10 Mar 2020 23:02:57 +0000 https://www.linuxtechi.com/?p=10019#comment-19192 Here is an official confirmation in VirtualBox doc: ‘https://www.virtualbox.org/manual/ch03.html’ Chapter 3.5.2. Processor Tab

Enable Nested VT-x/AMD-V: Enables nested virtualization, with passthrough of hardware virtualization functions to the guest VM.

This feature is available on host systems that use an AMD CPU. For Intel CPUs, the option is grayed out.

And I can confirm, it doesn’t work on Intel(R) Xeon(R) CPU E5540

]]>