diff --git a/usr.sbin/bhyve/xmsr.c b/usr.sbin/bhyve/xmsr.c --- a/usr.sbin/bhyve/xmsr.c +++ b/usr.sbin/bhyve/xmsr.c @@ -124,6 +124,14 @@ */ *val = 0x000a1003; break; + case MSR_IA32_FEATURE_CONTROL: + /* + * Windows guest check this MSR + * Bit 0 is a lock bit ==> set this bit to avoid + * attempts of writing to this MSR + */ + *val = 1; + break; default: error = -1; break;