Skip to content

KVM: nVMX: Make direct IRQ/NMI injection work

Jan Kiszka kvm 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 6 repliesIn review
  2. v35 patches 7 repliesSuperseded
  3. v25 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch3 repliesSuperseded

Changes in this version from the cover letter

- reworked patch 2, 4 and 5 according to review
- restored clearing of vm_entry_intr_info_field
- no longer read idt_vectoring_info_field from VMCS
- removed check of idt_vectoring_info_field on vmx_nmi_allowed/ vmx_interrupt_allowed
- added optimization patch 6

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6KVM: nVMX: Fix injection of PENDING_INTERRUPT and NMI_WINDOW exits to L1arch/x86/kvm/vmx.c+2 -70 replies
2/6KVM: nVMX: Rework event injection and recoveryarch/x86/kvm/vmx.c+64 -350 replies
3/6KVM: VMX: Move vmx_nmi_allowed after vmx_set_nmi_maskarch/x86/kvm/vmx.c+10 -100 replies
4/6KVM: nVMX: Fix conditions for interrupt injectionarch/x86/kvm/vmx.c+12 -80 replies
5/6KVM: nVMX: Fix conditions for NMI injectionarch/x86/kvm/vmx.c+28 -08 replies
6/6KVM: nVMX: Avoid reading VM_EXIT_INTR_ERROR_CODE needlessly on nested exitsarch/x86/kvm/vmx.c+5 -10 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchGleb Natapov
1/6R-b
2/6
3/6
4/6
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/6] KVM: nVMX: Make direct IRQ/NMI injection work

Changes in this version:
- reworked patch 2, 4 and 5 according to review
- restored clearing of vm_entry_intr_info_field
- no longer read idt_vectoring_info_field from VMCS
- removed check of idt_vectoring_info_field on vmx_nmi_allowed/ vmx_interrupt_allowed
- added optimization patch 6

Jan Kiszka (6):
KVM: nVMX: Fix injection of PENDING_INTERRUPT and NMI_WINDOW exits to

    L1

KVM: nVMX: Rework event injection and recovery
KVM: VMX: Move vmx_nmi_allowed after vmx_set_nmi_mask
KVM: nVMX: Fix conditions for interrupt injection
KVM: nVMX: Fix conditions for NMI injection
KVM: nVMX: Avoid reading VM_EXIT_INTR_ERROR_CODE needlessly on nested
exits

 arch/x86/kvm/vmx.c |  182 ++++++++++++++++++++++++++++++++++-----------------
 1 files changed, 121 insertions(+), 61 deletions(-)
Signature · 1 line
1.7.3.4