From: Avi Kivity Date: Sun, 25 Jul 2010 11:51:16 +0000 (+0300) Subject: KVM: x86 emulator: fix handling for unemulated instructions X-Git-Tag: v2.6.37-rc1~142^2~320 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91269b8f94eedce1767b2f208d656e5a5683326a;p=pandora-kernel.git KVM: x86 emulator: fix handling for unemulated instructions If an instruction is present in the decode tables but not in the execution switch, it will be emulated as a NOP. An example is IRET (0xcf). Fix by adding default: labels to the execution switches. Signed-off-by: Avi Kivity Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed