mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 18:27:18 +00:00
Add handle EOI case when APIC-write VM exit
-If "virtual-interrupt delivery" VM-execution control is 0, Processor will causes an APIC-write VM exit if page offset is 0xB0 (EOI), SDM Vol3, Chapter 29.4.3 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
This commit is contained in:
committed by
Anthony Xu
parent
1b33e5bf2e
commit
7ce4248e34
@@ -2384,6 +2384,9 @@ int apicv_write_exit_handler(struct vcpu *vcpu)
|
|||||||
case APIC_OFFSET_ID:
|
case APIC_OFFSET_ID:
|
||||||
vlapic_id_write_handler(vlapic);
|
vlapic_id_write_handler(vlapic);
|
||||||
break;
|
break;
|
||||||
|
case APIC_OFFSET_EOI:
|
||||||
|
vlapic_process_eoi(vlapic);
|
||||||
|
break;
|
||||||
case APIC_OFFSET_LDR:
|
case APIC_OFFSET_LDR:
|
||||||
vlapic_ldr_write_handler(vlapic);
|
vlapic_ldr_write_handler(vlapic);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user