From d5616c083eb60afce45e44fb0f790aa7b9f20656 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Wed, 1 Feb 2012 12:23:21 +0200 Subject: [PATCH] KVM: x86 emulator: reject SYSENTER in compatibility mode on AMD guests commit 1a18a69b762374c423305772500f36eb8984ca52 upstream. If the guest thinks it's an AMD, it will not have prepared the SYSENTER MSRs, and if the guest executes SYSENTER in compatibility mode, it will fails. Detect this condition and #UD instead, like the spec says. Signed-off-by: Avi Kivity Signed-off-by: Ben Hutchings --- Reading git-format-patch failed