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
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to