aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-04-21 05:17:13 -0400
committerAvi Kivity <avi@redhat.com>2011-05-22 08:39:34 -0400
commit68152d88122b24fad0f5910f74efcd19120a19a8 (patch)
treede13b4088c8cadae00c5a47447140c376cb90d54 /arch
parent26d05cc7403dfffbc5afd66a1292adfb7566e3ff (diff)
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/emulate.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index 8e1d0c8196bd..2132fab188b0 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -4127,9 +4127,6 @@ twobyte_insn:
4127 case 6: /* lmsw */ 4127 case 6: /* lmsw */
4128 rc = em_lmsw(ctxt); 4128 rc = em_lmsw(ctxt);
4129 break; 4129 break;
4130 case 5: /* not defined */
4131 rc = emulate_ud(ctxt);
4132 break;
4133 case 7: /* invlpg*/ 4130 case 7: /* invlpg*/
4134 rc = em_invlpg(ctxt); 4131 rc = em_invlpg(ctxt);
4135 break; 4132 break;