mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
HV: cpuid: Disable Intel RDT for guest OS
Now the Intel RDT emulation is working in progress. So disable it for temporary solution to avoid guest OS running with incorrect RDT configuration. Signed-off-by: Shuo Liu <shuo.a.liu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -98,7 +98,9 @@ static void init_vcpuid_entry(__unused struct vm *vm,
|
||||
&entry->eax, &entry->ebx,
|
||||
&entry->ecx, &entry->edx);
|
||||
/* mask invpcid */
|
||||
entry->ebx &= ~CPUID_EBX_INVPCID;
|
||||
entry->ebx &= ~(CPUID_EBX_INVPCID |
|
||||
CPUID_EBX_PQM |
|
||||
CPUID_EBX_PQE);
|
||||
} else {
|
||||
entry->eax = 0U;
|
||||
entry->ebx = 0U;
|
||||
|
Reference in New Issue
Block a user