[Bug 224476] [patch] bhyve: emulate MSR_EXTFEATURES

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 20 09:25:02 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224476

            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 at FreeBSD.org
          Reporter: m at jgz.jp
          Keywords: patch

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


Index: sys/amd64/vmm/amd/svm_msr.c
===================================================================
--- 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 = 0;
                break;
+       case MSR_EXTFEATURES:
+               *result = 0;
+               break;
        default:
                error = EINVAL;
                break;
@@ -161,6 +164,8 @@
                 * Ignore writes to microcode update register.
                 */
                break;
+       case MSR_EXTFEATURES:
+               break;
        default:
                error = EINVAL;
                break;

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


More information about the freebsd-bugs mailing list