On Sun, Jan 24, 2010 at 12:17:23PM +0200, Avi Kivity wrote: > The simplistic clts implementation has a couple of flaws: > - kvm_read_cr0_bits() is temporarily unsynchronized when vcpu->arch.cr0 changes > - if the fpu is active, we need to clear GUEST_CR0.TS, not just > CR_READ_SHADOW.TS, so that we don't send the guest an unexpected #NM. > > Fix by replacing custom logic with a call to vmx_set_cr0(), which does the > right thing, albeit less efficiently. > > 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