Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2017 09:25:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 224476] [patch] bhyve: emulate MSR_EXTFEATURES
Message-ID:  <bug-224476-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224476

            Bug ID: 224476
           Summary: [patch] bhyve: emulate MSR_EXTFEATURES
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: m@jgz.jp
          Keywords: patch

When I try to boot a vm on AMD FX Series, it hangs.=20
The reason probably is that the VM cannot read the register (MSR_EXTFEATURE=
S).


Index: sys/amd64/vmm/amd/svm_msr.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- sys/amd64/vmm/amd/svm_msr.c (revision 327021)
+++ sys/amd64/vmm/amd/svm_msr.c (working copy)
@@ -125,6 +125,9 @@
        case MSR_AMDK8_IPM:
                *result =3D 0;
                break;
+       case MSR_EXTFEATURES:
+               *result =3D 0;
+               break;
        default:
                error =3D EINVAL;
                break;
@@ -161,6 +164,8 @@
                 * Ignore writes to microcode update register.
                 */
                break;
+       case MSR_EXTFEATURES:
+               break;
        default:
                error =3D EINVAL;
                break;

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224476-8>