Skip to content
Commit 1a18a69b authored by Avi Kivity's avatar Avi Kivity
Browse files

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: default avatarAvi Kivity <avi@redhat.com>
parent a52315e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment