]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
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, 24 Apr 2011 07:20:27 +0000 (10:20 +0300)
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 99948c1a136986dc3de5ed9516a7bc838b5ce639..6c7a2d071af6f920bf00eb89ca3d2fc02e604e54 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;