git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7cde28
)
KVM: x86 emulator: reject SYSENTER in compatibility mode on AMD guests
author
Avi Kivity
<avi@redhat.com>
Wed, 1 Feb 2012 10:23:21 +0000
(12:23 +0200)
committer
Ben Hutchings
<ben@decadent.org.uk>
Fri, 20 Feb 2015 00:49:42 +0000
(
00:49
+0000)
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 <avi@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/x86/kvm/emulate.c
patch
|
blob
|
history
diff --cc
arch/x86/kvm/emulate.c
Simple merge