[PATCH 2/3] KVM: x86 emulator: Don't force #UD for 0F 01 /5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 arch/x86/kvm/emulate.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index bf4284d..e8f146d 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;
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux