Skip to content

Commit

Permalink
KVM: x86 emulator: Don't force #UD for 0F 01 /5
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Avi Kivity committed May 22, 2011
1 parent 26d05cc commit 68152d8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/x86/kvm/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 68152d8

Please sign in to comment.