diff options
author | Avi Kivity <avi@redhat.com> | 2012-02-01 11:23:21 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-03-05 13:57:20 +0100 |
commit | 1a18a69b762374c423305772500f36eb8984ca52 (patch) | |
tree | df0c7276bac2b3899a7d033fa24783e84e7817ab /virt | |
parent | KVM: Don't mistreat edge-triggered INIT IPI as INIT de-assert. (LAPIC) (diff) | |
download | linux-1a18a69b762374c423305772500f36eb8984ca52.tar.xz linux-1a18a69b762374c423305772500f36eb8984ca52.zip |
KVM: x86 emulator: reject SYSENTER in compatibility mode on AMD guests
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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions