x86 has a Undefined Instruction, its opcode is 0F 0B and it generates an invalid opcode exception. This instruction is provided for software testing to explicitly generate an invalid opcode exception. The opcode for this instruction is reserved for this purpose. Thanks Xin On Sun, Nov 13, 2011 at 8:50 PM, 王永博 <wangyongbo90@xxxxxxxxx> wrote: > > > 2011/11/14 Xin Tong <xerox.time.tech@xxxxxxxxx> >> >> I would like to know how I can make a UD2 (Undefined Instruction) >> cause a vmexit in KVM ? >> >> Thanks >> >> >> Xin > > what is UD2 ? >> >> -- >> 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 > > -- 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