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 <a...@redhat.com>
---
 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to