[Xen-devel] [PATCH v2 0/4] x86/nvmx: fixes for interrupt injection
Roger Pau Monne
osstest identified a regression caused by my earlier attempt to fix
interrupt injection when using nested VMX. This series aims to fix the
regression, and should unblock several osstest branches.
The following report is from osstest with this series applied:
Note the last patch (4/4) is the one that actually fixes the issue. Xen
will always use the Ack on exit feature so patches 2/4 and 3/4 don't
change the functionality when running a nested Xen, as it always
requires SVI to be updated.
Roger Pau Monne (4):
Revert "x86/vvmx: fix virtual interrupt injection when Ack on exit
control is used"
x86/nvmx: only update SVI when using Ack on exit
x86/nvmx: split updating RVI from SVI in nvmx_update_apicv
x86/nvmx: update exit bitmap when using virtual interrupt delivery
xen/arch/x86/hvm/vmx/intr.c | 21 ++++++++++++--------
xen/arch/x86/hvm/vmx/vvmx.c | 33 ++++++++++++++++++++-----------
xen/include/asm-x86/hvm/vmx/vmx.h | 2 ++
3 files changed, 36 insertions(+), 20 deletions(-)