mbox series

[0/2] KVM: x86: Don't re-{try,execute} L2 instrs

Message ID 20180822215225.28703-1-sean.j.christopherson@intel.com (mailing list archive)
Headers show
Series KVM: x86: Don't re-{try,execute} L2 instrs | expand

Message

Sean Christopherson Aug. 22, 2018, 9:52 p.m. UTC
Fix a bug where L2 can get stuck in an infinite fault loop due to an
L0 MMIO emulation failure that L0 thinks can be fixed by restarting
L2 (it thinks the fault is in the guest's domain because L0 tries
to translate an L2 GPA as an L2 GVA, i.e. CR2 isn't actually a CR2).

Sean Christopherson (2):
  KVM: x86: Do not re-{try,execute} after failed emulation in L2
  KVM: x86: Set EMULTYPE_NO_REEXECUTE for MMIO emulation

 arch/x86/kvm/mmu.c | 4 ++--
 arch/x86/kvm/x86.c | 6 ++++++
 2 files changed, 8 insertions(+), 2 deletions(-)