Commit 68152d88 authored by Avi Kivity's avatar Avi Kivity

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: default avatarAvi Kivity <avi@redhat.com>
parent 26d05cc7
...@@ -4127,9 +4127,6 @@ x86_emulate_insn(struct x86_emulate_ctxt *ctxt) ...@@ -4127,9 +4127,6 @@ x86_emulate_insn(struct x86_emulate_ctxt *ctxt)
case 6: /* lmsw */ case 6: /* lmsw */
rc = em_lmsw(ctxt); rc = em_lmsw(ctxt);
break; break;
case 5: /* not defined */
rc = emulate_ud(ctxt);
break;
case 7: /* invlpg*/ case 7: /* invlpg*/
rc = em_invlpg(ctxt); rc = em_invlpg(ctxt);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment