From: Avi Kivity Date: Sun, 4 Jan 2009 22:53:19 +0000 (+0200) Subject: KVM: VMX: Prevent exit handler from running if emulating due to invalid state X-Git-Tag: v2.6.30-rc1~664^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10f32d84c750ccf8c0afb3a4ea9d4059aa3e9ffc;p=pandora-kernel.git KVM: VMX: Prevent exit handler from running if emulating due to invalid state If we've just emulated an instruction, we won't have any valid exit reason and associated information. Fix by moving the clearing of the emulation_required flag to the exit handler. This way the exit handler can notice that we've been emulating and abort early. Signed-off-by: Avi Kivity --- Reading git-diff-tree failed