Re: [PATCH] KVM: VMX: Pass cr0.mp through to the guest when the fpu is active

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 24, 2010 at 04:26:40PM +0200, Avi Kivity wrote:
> When cr0.mp is clear, the guest doesn't expect a #NM in response to
> a WAIT instruction.  Because we always keep cr0.mp set, it will get
> a #NM, and potentially be confused.
> 
> Fix by keeping cr0.mp set only when the fpu is inactive, and passing
> it through when inactive.
> 
> Reported-by: Lorenzo Martignoni <martignlo@xxxxxxxxx>
> Analyzed-by: Gleb Natapov <gleb@xxxxxxxxxx>
> Signed-off-by: Avi Kivity <avi@xxxxxxxxxx>

Applied, thanks.

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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux