From: Takuya Yoshikawa Date: Sat, 30 Jul 2011 09:03:34 +0000 (+0900) Subject: KVM: x86 emulator: Make x86_decode_insn() return proper macros X-Git-Tag: v3.2-rc1~119^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d2887e2d849969f58ce79203f9785ebe065d494;p=pandora-kernel.git KVM: x86 emulator: Make x86_decode_insn() return proper macros Return EMULATION_OK/FAILED consistently. Also treat instruction fetch errors, not restricted to X86EMUL_UNHANDLEABLE, as EMULATION_FAILED; although this cannot happen in practice, the current logic will continue the emulation even if the decoder fails to fetch the instruction. Signed-off-by: Takuya Yoshikawa Signed-off-by: Avi Kivity --- Reading git-diff-tree failed