Files
acrn-hypervisor/hypervisor/arch/x86
Yu Wang 7f2b9a1c7d hv: virq: update apicv irr/rvi before handle vmcs event injection
From SDM Vol3 26.3.2.5:
Once the virtual interrupt is recognized, it will be delivered in VMX
non-root operation immediately after VM entry(including any specified
event injection) completes.

So the hardware can handle vmcs event injection and evaluation/delivery
of apicv virtual interrupts in one time vm-entry.

This patch move the apicv irr/rvi sync before handle vmcs events
injection. The old code cause the apicv virtual interrupt evaluation and
delivery be handled until next vm-exit if met pending exceptions.

Tracked-On: #1443
Signed-off-by: Yu Wang <yu1.wang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-10-12 16:30:57 +08:00
..
2018-10-11 16:48:11 +08:00
2018-10-11 16:48:11 +08:00
2018-10-10 13:02:00 +08:00
2018-10-11 16:48:11 +08:00
2018-10-11 15:16:11 +08:00
2018-10-11 16:48:11 +08:00
2018-10-11 16:48:11 +08:00
2018-10-11 16:48:11 +08:00
2018-10-11 16:48:11 +08:00
2018-09-29 09:24:00 +08:00
2018-09-28 16:39:36 +08:00
2018-10-11 16:48:11 +08:00
2018-08-16 16:24:13 +08:00
2018-10-11 16:48:11 +08:00