summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-04-21 09:17:13 (GMT)
committerAvi Kivity <avi@redhat.com>2011-05-22 12:39:34 (GMT)
commit68152d88122b24fad0f5910f74efcd19120a19a8 (patch)
treede13b4088c8cadae00c5a47447140c376cb90d54
parent26d05cc7403dfffbc5afd66a1292adfb7566e3ff (diff)
downloadlinux-68152d88122b24fad0f5910f74efcd19120a19a8.tar.xz
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>
-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 8e1d0c8..2132fab 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -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;