Skip to content

Commit 9b269ae

Browse files
yonghuahjren1
authored andcommitted
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>
1 parent 34ccbb5 commit 9b269ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hypervisor/arch/x86/guest/vlapic.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2384,6 +2384,9 @@ int apicv_write_exit_handler(struct vcpu *vcpu)
23842384
case APIC_OFFSET_ID:
23852385
vlapic_id_write_handler(vlapic);
23862386
break;
2387+
case APIC_OFFSET_EOI:
2388+
vlapic_process_eoi(vlapic);
2389+
break;
23872390
case APIC_OFFSET_LDR:
23882391
vlapic_ldr_write_handler(vlapic);
23892392
break;

0 commit comments

Comments
 (0)