Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2020 11:17:10 +0200
From:      Christian Jeannot <info@os-plus.org>
To:        Eric van Gyzen <eric@vangyzen.net>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: bhyve with AMD Ryzen 3900X and MSI MEG ACE X570
Message-ID:  <ef3f421b-bf03-d72b-f6b3-0c8ae73daf52@os-plus.org>
In-Reply-To: <87c31320-c347-aa1b-adc3-7b36d6edeb38@vangyzen.net>
References:  <2535c7f2-ef59-467e-779b-6c9c6db82005@os-plus.org> <87c31320-c347-aa1b-adc3-7b36d6edeb38@vangyzen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Eric,

thank you for your information.

I will first check if I can find a way in the BIOS to configure SVM.

Fromy my point of view MSI should provie a BIOS where it is possible to 
configure this option.

If this does not work I will look for your hint.

Regards

--Christian

Am 26.04.20 um 19:53 schrieb Eric van Gyzen:
> 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

-- 
--
christian jeannot
vogelmauer 17
86152 augsburg
+49 821 81552861
info@os-plus.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef3f421b-bf03-d72b-f6b3-0c8ae73daf52>