KVM: x86 emulator: Don't force #UD for 0F 01 /5
authorAvi Kivity <avi@redhat.com>
Thu, 21 Apr 2011 09:17:13 +0000 (12:17 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:39:34 +0000 (08:39 -0400)
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>
arch/x86/kvm/emulate.c

index 8e1d0c8196bd7c030f15bd648a03b0ece433f9c5..2132fab188b0ec0924fda81cd9f1d2695e9fd161 100644 (file)
@@ -4127,9 +4127,6 @@ twobyte_insn:
                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;