From: Avi Kivity Date: Wed, 1 Feb 2012 10:23:21 +0000 (+0200) Subject: KVM: x86 emulator: reject SYSENTER in compatibility mode on AMD guests X-Git-Tag: v3.2.67~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5616c083eb60afce45e44fb0f790aa7b9f20656;p=pandora-kernel.git 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-diff-tree failed