From e049abb542fbb09020303513d6cdbf2f490bac90 Mon Sep 17 00:00:00 2001 From: Li Fei1 Date: Fri, 9 Apr 2021 16:40:37 +0800 Subject: [PATCH] hv: vcpuid: hide new cpuid 0x1b/0x1f Hide CPUID 0x1b (PCONFIG) and 0x1f (Extended Topology Enumeration Leaf) Tracked-On: #5929 Signed-off-by: Li Fei1 --- hypervisor/arch/x86/guest/vcpuid.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hypervisor/arch/x86/guest/vcpuid.c b/hypervisor/arch/x86/guest/vcpuid.c index 02c58feba..479191795 100644 --- a/hypervisor/arch/x86/guest/vcpuid.c +++ b/hypervisor/arch/x86/guest/vcpuid.c @@ -402,6 +402,10 @@ int32_t set_vcpuid_entries(struct acrn_vm *vm) case 0x10U: /* Intel Processor Trace */ case 0x14U: + /* PCONFIG */ + case 0x1bU: + /* V2 Extended Topology Enumeration Leaf */ + case 0x1fU: break; default: init_vcpuid_entry(i, 0U, 0U, &entry);