mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-06 08:04:55 +00:00
This patch changes the code in vlapic_set_apicbase for the following reasons 1) Better readability as it first checks if the new value programmed into MSR is any different from the existing value cached in guest structures 2) Check if both bits 11:10 are set before enabling x2APIC mode for guest. Current code does not check if Bit 11 is set. 3) Add TODO in the comments, to detail about the current gaps in IA32_APIC_BASE MSR emulation. Tracked-On: #3253 Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>