Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 2020 12:11:49 -0700
From:      Anish <akgupt3@gmail.com>
To:        Eric van Gyzen <eric@vangyzen.net>
Cc:        Christian Jeannot <info@os-plus.org>,  "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: bhyve with AMD Ryzen 3900X and MSI MEG ACE X570
Message-ID:  <CALnRwMSSmJpVpJ1s1EzW=VQFN=DoJf7cRcOVvNJ5du9--vUDHw@mail.gmail.com>
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
>If SVM is actually disabled, I have no idea what impact this
change will have, so beware.

As per the AMD document, it will cause GP fault if it has been implemented
as per specification. If we are lucky and it works, that will be an
interesting finding.

-Anish

On Sun, Apr 26, 2020 at 10:53 AM Eric van Gyzen <eric@vangyzen.net> wrote:

> 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 =E2=80=9E21.7. FreeB=
SD as a
> > Host with bhyve=E2=80=9C.
> >
> > 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-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALnRwMSSmJpVpJ1s1EzW=VQFN=DoJf7cRcOVvNJ5du9--vUDHw>