mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
amd64/vmm: Don't advertise support for performance counters
vmm doesn't implement them, and after commit2272fac218("hwpmc: Add support for AMD-only IRPERF in hwpmc PERF class"), FreeBSD guests fail to boot since they access the unimplemented IRPERF MSR. MFC after: 1 week (cherry picked from commitc83e075d72)
This commit is contained in:
1 parent
0bad0023b4
commit
68f8842652
1 file changed
+1
-2
+1
-2
@@ -138,8 +138,7 @@ x86_emulate_cpuid(struct vcpu *vcpu, uint64_t *rax, uint64_t *rbx,
|
||||
* unsupported or unsafe AMD extended features
|
||||
* (8000_0008 EBX).
|
||||
*/
|
||||
regs[1] &= (AMDFEID_CLZERO | AMDFEID_IRPERF |
|
||||
AMDFEID_XSAVEERPTR);
|
||||
regs[1] &= AMDFEID_CLZERO | AMDFEID_XSAVEERPTR;
|
||||
|
||||
vm_get_topology(vm, &sockets, &cores, &threads,
|
||||
&maxcpus);
|
||||
|
||||
Reference in new issue
Block a user