VERR_CPUM_INVALID_HWVIRT_CONFIG on Linux Mint 19.2

Discussions related to using VirtualBox on Linux hosts.
Post Reply
batman78
Posts: 6
Joined: 21. Jul 2020, 11:26

VERR_CPUM_INVALID_HWVIRT_CONFIG on Linux Mint 19.2

Post by batman78 »

Hello everyone

I am running Virtualbox on Linux Mint on an HP DV6 Laptop from 2010 with an i7 q720, 8GB RAM, 500GB SSD. I enabled nested virtualization via a terminal command because the option was greyed out despite nested virtualization being supported on both Intel and AMD CPUs. It now gives me a new error:

"Cannot enable nested VT-x/AMD-V without nested-paging and unresricted guest execution!

(VERR_CPUM_INVALID_HWVIRT_CONFIG). "

How do I fix this? I am trying to run ESXi v6.00 as a VM inside Virtualbox.
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: VERR_CPUM_INVALID_HWVIRT_CONFIG on Linux Mint 19.2

Post by fth0 »

batman78 wrote:How do I fix this?
You cannot. Google for "q720 Unrestiricted Guess" (the spelling mistakes are intended :!:) for a confirmation that your CPU doesn't provide the Unrestricted Guest CPU feature.
batman78
Posts: 6
Joined: 21. Jul 2020, 11:26

Re: VERR_CPUM_INVALID_HWVIRT_CONFIG on Linux Mint 19.2

Post by batman78 »

fth0 wrote:
batman78 wrote:How do I fix this?
You cannot. Google for "q720 Unrestiricted Guess" (the spelling mistakes are intended :!:) for a confirmation that your CPU doesn't provide the Unrestricted Guest CPU feature.
.
Last edited by batman78 on 21. Jul 2020, 15:12, edited 2 times in total.
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: VERR_CPUM_INVALID_HWVIRT_CONFIG on Linux Mint 19.2

Post by fth0 »

batman78 wrote:The error came with the spelling mistake in the error message.
I wasn't referring to the spelling mistake in the VirtualBox error message, but to the two spelling mistakes in the Google search result, and using them in a Google search leads you right away to the wanted search result. ;)
batman78 wrote:Which CPUs provide unrestricted guest?
AFAIK, the Unrestricted Guest CPU feature was introduced with the Sandy Bridge architecture (around 2011). Your CPU is from around 2009. I don't know about any current CPUs not having the Unrestricted Guest CPU feature, and I also haven't seen reports about it in the VirtualBox forums, but that's no guarantee.

Another aspect that's maybe more important to you: I wouldn't simply assume that VMware ESXi can be run inside a VirtualBox VM, because nested virtualization rarely works when combining different hypervisors.
batman78
Posts: 6
Joined: 21. Jul 2020, 11:26

Re: VERR_CPUM_INVALID_HWVIRT_CONFIG on Linux Mint 19.2

Post by batman78 »

fth0 wrote:
batman78 wrote:The error came with the spelling mistake in the error message.
I wasn't referring to the spelling mistake in the VirtualBox error message, but to the two spelling mistakes in the Google search result, and using them in a Google search leads you right away to the wanted search result. ;)
batman78 wrote:Which CPUs provide unrestricted guest?
AFAIK, the Unrestricted Guest CPU feature was introduced with the Sandy Bridge architecture (around 2011). Your CPU is from around 2009. I don't know about any current CPUs not having the Unrestricted Guest CPU feature, and I also haven't seen reports about it in the VirtualBox forums, but that's no guarantee.

Another aspect that's maybe more important to you: I wouldn't simply assume that VMware ESXi can be run inside a VirtualBox VM, because nested virtualization rarely works when combining different hypervisors.
Yep and it was someone else’s mistakes not mine. So?

That’s how I am instructed to do it I don’t choose to do it in this way. Is there an option to enable legacy CPUs as that is available in VMWare Workstation?
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: VERR_CPUM_INVALID_HWVIRT_CONFIG on Linux Mint 19.2

Post by fth0 »

I'm sorry, but you don't seem to understand what I'm telling you. I'll try again and summarize:

Your CPU doesn't provide the Unrestricted Guest CPU feature. Nested virtualization in VirtualBox requires this CPU feature.
batman78
Posts: 6
Joined: 21. Jul 2020, 11:26

Re: VERR_CPUM_INVALID_HWVIRT_CONFIG on Linux Mint 19.2

Post by batman78 »

fth0 wrote:I'm sorry, but you don't seem to understand what I'm telling you. I'll try again and summarize:

Your CPU doesn't provide the Unrestricted Guest CPU feature. Nested virtualization in VirtualBox requires this CPU feature.
I understand what you were saying it just sounded like you were making fun of me in that first reply. I have an Ubuntu All in one PC that has an i5 3470s and I think it’s third gen but it doesn’t work either. Nested virtualisation is greyed out too. Maybe because it’s not fifth gen. Maybe I should buy a 10th gen i7 and maybe it will work
batman78
Posts: 6
Joined: 21. Jul 2020, 11:26

Re: VERR_CPUM_INVALID_HWVIRT_CONFIG on Linux Mint 19.2

Post by batman78 »

Update: Ubuntu with an i5 3470S is working on VMware Workstation 15.5.6 and is not working on 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: VERR_CPUM_INVALID_HWVIRT_CONFIG on Linux Mint 19.2

Post by mpack »

So?
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: VERR_CPUM_INVALID_HWVIRT_CONFIG on Linux Mint 19.2

Post by fth0 »

batman78 wrote:I understand what you were saying it just sounded like you were making fun of me in that first reply.
Never intended that, sorry.
batman78 wrote:Nested virtualisation is greyed out too. Maybe because it’s not fifth gen. Maybe I should buy a 10th gen i7 and maybe it will work
I can already warn you that you'll get into new problem territory here. Whereas current Intel i7 CPUs will provide the Unrestricted Guest CPU feature, only some of those CPUs will provide the VMCS Shadowing CPU feature, which is also required by VirtualBox for nested virtualization.
Post Reply