mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-05 02:40:37 +00:00
hv: LAPIC pass-thru support for partition mode of ACRN
ACRN, in partition mode, supports LAPIC pass-thru to guests. Guest needs to use x2APIC mode of LAPIC for pass-thru to be enabled. ACRN also needs the user to configure lapic_pt to true in vm_desc for the VM. Interrupt Command Register (ICR) is the only APIC register that is intercepted. Reference code in partition/vm_description.c enables LAPIC pass-thru for vm2. 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
ff56b6f62d
commit
48ae379b4b
@@ -193,6 +193,7 @@ struct vm_description {
|
||||
bool vm_vuart;
|
||||
const char *bootargs;
|
||||
struct vpci_vdev_array *vpci_vdev_array;
|
||||
bool lapic_pt;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user