mirror of https://gitee.com/openkylin/linux.git
KVM: x86 emulator: Don't force #UD for 0F 01 /5
While it isn't defined, no need to force a #UD. If it becomes defined in the future this can cause wierd problems for the guest. Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
26d05cc740
commit
68152d8812
|
@ -4127,9 +4127,6 @@ x86_emulate_insn(struct x86_emulate_ctxt *ctxt)
|
|||
case 6: /* lmsw */
|
||||
rc = em_lmsw(ctxt);
|
||||
break;
|
||||
case 5: /* not defined */
|
||||
rc = emulate_ud(ctxt);
|
||||
break;
|
||||
case 7: /* invlpg*/
|
||||
rc = em_invlpg(ctxt);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue