From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] KVM: x86 emulator: disable writeback for TEST Date: Mon, 12 Sep 2011 09:37:10 -0300 Message-ID: <20110912123710.GA14651@amt.cnet> References: <1315729382-2950-1-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, ya su To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:27776 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755454Ab1ILMnp (ORCPT ); Mon, 12 Sep 2011 08:43:45 -0400 Content-Disposition: inline In-Reply-To: <1315729382-2950-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Sep 11, 2011 at 11:23:02AM +0300, Avi Kivity wrote: > The TEST instruction doesn't write its destination operand. This > could cause problems if an MMIO register was accessed using the TEST > instruction. Recently Windows XP was observed to use TEST against > the APIC ICR; this can cause spurious IPIs. > > Signed-off-by: Avi Kivity Applied, thanks.