From: Paolo Bonzini Date: Thu, 4 Sep 2014 17:46:15 +0000 (+0200) Subject: KVM: x86: skip writeback on injection of nested exception X-Git-Tag: fixes-for-v3.18-merge-window~23^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef54bcfeea6c8b04e2a4f9396e16d88558aa2eee;p=pandora-kernel.git 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-diff-tree failed