On Wed, Feb 01, 2012 at 12:27:00PM +0200, Avi Kivity wrote:
> 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.

Note the SYSENTER_CS & 0xfffc == 0 check protects against a fatal error (unlike
the SYSCALL bug), in case of zeroed MSRs.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to