I found a fix on my machine for this error. You need to ensure:
a.) Virtualization (VT-X) is turned on at the BIOS level
b.) The "Virtualize Intel VT-x/EPT or AMD-V/RVI" tickbox must be set in Hardware->Processors.
c.) Preferred mode should be left at automatic.
I had an old virtual machine for MS-DOS, which required the above to work on my new Ryzen processor. Hope this works for y'all. I have had a few VM's requiring same.