acrn-hypervisor/hypervisor/arch/x86/guest
Binbin Wu 21aa1907fd hv: vcpuid: cpuid leaf 07h has subleaf
Two changes:

1. cpuid leaf 07h has subleaf:
According to SDM 3-194 Vol.2A, Table 3-8, cpuid leaf 07h has sub-leaves.
cpuid.07.eax reports the maximum input for sub-leaves.
Since there is no definition for subleaf > 0 in SDM, hv only supports subleaf 0.

2. In currently hv code, cpuid leaf function 14h is disabled,
CPUID.07H:EBX.INTEL_PROCESSOR_TRACE should be disabled as well.

Tracked-On: #2198
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Li, Fei1 <fei1.li@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
2018-12-27 09:05:12 +08:00
..
guest.c hv:fix MISRA-C violations in create_vm 2018-12-20 18:47:57 +08:00
instr_emul.c hv: enable SMAP in hypervisor 2018-12-14 15:24:26 +08:00
instr_emul.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
pm.c HV: fix pm code for multi-exits & unsigned const 2018-12-20 21:56:48 +08:00
ucode.c hv: refine coding style for ucode.c 2018-12-19 09:44:42 +08:00
vcpu.c scheduler: make scheduling based on struct sched_object 2018-12-21 10:34:15 +08:00
vcpuid.c hv: vcpuid: cpuid leaf 07h has subleaf 2018-12-27 09:05:12 +08:00
vlapic_priv.h hv: self-IPI APIC register in x2APIC mode of guest vLAPIC 2018-11-02 13:48:43 +08:00
vlapic.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vm.c hv:fix MISRA-C violations in create_vm 2018-12-20 18:47:57 +08:00
vmcall.c hv: vmcall: fix "goto detected" violations 2018-12-24 09:57:43 +08:00
vmsr.c hv: fix enable_msr_interception() function 2018-12-20 18:46:19 +08:00
vmtrr.c hv: refine a few functions to only one exit point 2018-12-19 09:17:30 +08:00