Changeset 82578 in vbox
- Timestamp:
- Dec 13, 2019 11:24:45 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp
r81786 r82578 27 27 #include <VBox/vmm/ssm.h> 28 28 #include "CPUMInternal.h" 29 #include <VBox/vmm/vm .h>29 #include <VBox/vmm/vmcc.h> 30 30 #include <VBox/vmm/mm.h> 31 31 #include <VBox/sup.h> … … 4982 4982 AssertLogRelRC(rc); 4983 4983 } 4984 4985 /* Advertise IBRS_ALL if present at this point... */ 4986 if (pVM->cpum.s.HostFeatures.fArchCap & MSR_IA32_ARCH_CAP_F_IBRS_ALL) 4987 VMCC_FOR_EACH_VMCPU_STMT(pVM, pVCpu->cpum.s.GuestMsrs.msr.ArchCaps |= MSR_IA32_ARCH_CAP_F_IBRS_ALL); 4984 4988 } 4985 4989 … … 5157 5161 if (pLeaf) 5158 5162 pLeaf->uEdx &= ~(X86_CPUID_STEXT_FEATURE_EDX_IBRS_IBPB | X86_CPUID_STEXT_FEATURE_EDX_STIBP); 5159 pVM->cpum.s.GuestFeatures.fSpeculationControl = 0;5163 VMCC_FOR_EACH_VMCPU_STMT(pVM, pVCpu->cpum.s.GuestMsrs.msr.ArchCaps &= ~MSR_IA32_ARCH_CAP_F_IBRS_ALL); 5160 5164 Log(("CPUM: ClearGuestCpuIdFeature: Disabled speculation control!\n")); 5161 5165 break;
Note:
See TracChangeset
for help on using the changeset viewer.