diff --git a/hypervisor/arch/x86/guest/vcpuid.c b/hypervisor/arch/x86/guest/vcpuid.c index fe523b1c9..17fe25dfb 100644 --- a/hypervisor/arch/x86/guest/vcpuid.c +++ b/hypervisor/arch/x86/guest/vcpuid.c @@ -206,7 +206,7 @@ int32_t set_vcpuid_entries(struct acrn_vm *vm) for (i = 1U; i <= limit; i++) { /* cpuid 1/0xb is percpu related */ - if ((i == 1U) || (i == 0xbU)) { + if ((i == 1U) || (i == 0xbU) || (i == 0xdU)) { continue; } @@ -225,20 +225,6 @@ int32_t set_vcpuid_entries(struct acrn_vm *vm) } break; - case 0x0dU: - for (j = 0U; j < 64U; j++) { - init_vcpuid_entry(i, j, CPUID_CHECK_SUBLEAF, &entry); - if (entry.eax == 0U) { - continue; - } - result = set_vcpuid_entry(vm, &entry); - if (result != 0) { - /* wants to break out of switch */ - break; - } - } - break; - /* These features are disabled */ /* PMU is not supported */ case 0x0aU: