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: [email protected]
          Reporter: [email protected]
          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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to