mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 15:45:05 +00:00
hv: Add support for leaf 0xb emulation
ACRN does not support platforms that do not have x2APIC mode of LAPIC in hardware. With this patch, x2APIC is exposed to guests by default. Extended Topology Leaf 0xb in cpuid returns x2APIC ID and topology information to OS. This patch adds support to return guest topology and guest x2APIC ID. Number of SMT siblings is returned as 0. Tracked-On: #1626 Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com> Reviewed-by: Xu Anthony <anthony.xu@intel.com>
This commit is contained in:
committed by
lijinxia
parent
f3aa20a8ac
commit
ff56b6f62d
@@ -23,8 +23,6 @@ static uint64_t startup_paddr = 0UL;
|
||||
/* physical cpu active bitmap, support up to 64 cpus */
|
||||
uint64_t pcpu_active_bitmap = 0UL;
|
||||
|
||||
/* X2APIC mode is disabled by default. */
|
||||
bool x2apic_enabled = false;
|
||||
static bool skip_l1dfl_vmentry;
|
||||
static uint64_t x86_arch_capabilities;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user