From ef54bcfeea6c8b04e2a4f9396e16d88558aa2eee Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 4 Sep 2014 19:46:15 +0200 Subject: [PATCH] KVM: x86: skip writeback on injection of nested exception If a nested page fault happens during emulation, we will inject a vmexit, not a page fault. However because writeback happens after the injection, we will write ctxt->eip from L2 into the L1 EIP. We do not write back if an instruction caused an interception vmexit---do the same for page faults. Suggested-by: Gleb Natapov Reviewed-by: Gleb Natapov Signed-off-by: Paolo Bonzini --- Reading git-format-patch failed