Currently we have some ad-hoc code in x86.c to restrict #UD emulation to expected instructions (that is, vendor specific instructions). This patchset replaces the ad-hoc code with proper emulator support using decode tables. Avi Kivity (4): KVM: Fix x86_decode_insn() return code check KVM: Simplify exit path on decode failure KVM: x86 emulator: vendor specific instructions KVM: Drop ad-hoc vendor specific instruction restriction arch/x86/include/asm/kvm_emulate.h | 1 + arch/x86/kvm/emulate.c | 12 +++++++++--- arch/x86/kvm/x86.c | 35 +++++------------------------------ 3 files changed, 15 insertions(+), 33 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html