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 (3): KVM: Drop bogus x86_decode_insn() error check v2: replaces v1's first two patches KVM: x86 emulator: vendor specific instructions KVM: Drop ad-hoc vendor specific instruction restriction v3: preserve early-exit on #UD (reexecute_instruction() isn't reliable since we don't have a valid cr2) arch/x86/include/asm/kvm_emulate.h | 1 + arch/x86/kvm/emulate.c | 12 +++++++++--- arch/x86/kvm/x86.c | 36 +++++------------------------------- 3 files changed, 15 insertions(+), 34 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