From: Xiao Guangrong Date: Sun, 13 Jan 2013 15:49:07 +0000 (+0800) Subject: KVM: x86: improve reexecute_instruction X-Git-Tag: v3.9-rc1~97^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93c05d3ef25275829d421a255271595ac219a518;p=pandora-kernel.git KVM: x86: improve reexecute_instruction The current reexecute_instruction can not well detect the failed instruction emulation. It allows guest to retry all the instructions except it accesses on error pfn For example, some cases are nested-write-protect - if the page we want to write is used as PDE but it chains to itself. Under this case, we should stop the emulation and report the case to userspace Reviewed-by: Gleb Natapov Signed-off-by: Xiao Guangrong Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed