bhyve with AMD Ryzen 3900X and MSI MEG ACE X570

Eric van Gyzen eric at vangyzen.net
Sun Apr 26 17:53:18 UTC 2020


On 4/26/20 3:57 AM, Christian Jeannot wrote:
> Hi Community,
> 
> I am testing bhyve from FreeBSD 12.1 RELEASE.
> 
> My environment:
> - CPU: AMD Ryze 3900X
> - Mainboard: MSI MEG ACE X570, Default settings, latest BIOS 7C35v18
> - RAM: G.Skill RipJaws V DIMM Kit 64GB, DDR4-3200, CL16-18-18-38
> - GPU: Sapphire Nitro RX 5700XT
> 
> I checked the settings in the BIOS. Virtualization options are enabled. 
> SVM is enabled.
> 
> I follow the instruction from the FreeBSD handbook „21.7. FreeBSD as a 
> Host with bhyve“.
> 
> When I run
>      kldload vmm
> I got an output that SVM is disabled by BIOS. When I check the BIOS it 
> is enabled.

I use bhyve on a Ryzen with an Asus Prime X470-PRO.

I wonder if your BIOS is enabling SVM but failing to update the MSR to 
say it's enabled.  Try commenting out the second "return (0);" in 
svm_available() in sys/amd64/vmm/amd/svm.c and rebuilding the vmm 
module.  If SVM is actually disabled, I have no idea what impact this 
change will have, so beware.  If SVM is actually enabled and this hack 
allows you to use it, we could probably commit a tunable to do this more 
cleanly.

Eric


More information about the freebsd-virtualization mailing list