From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaqB5-00042E-86 for qemu-devel@nongnu.org; Tue, 01 Mar 2016 14:41:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaqB2-0003rU-GR for qemu-devel@nongnu.org; Tue, 01 Mar 2016 14:41:51 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:38862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaqB2-0003qs-8b for qemu-devel@nongnu.org; Tue, 01 Mar 2016 14:41:48 -0500 References: <1456841370-14602-1-git-send-email-pbonzini@redhat.com> From: =?UTF-8?Q?Herv=c3=a9_Poussineau?= Message-ID: <56D5F073.50309@reactos.org> Date: Tue, 1 Mar 2016 20:41:39 +0100 MIME-Version: 1.0 In-Reply-To: <1456841370-14602-1-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] target-i386: fix interrupt shadow List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Le 01/03/2016 15:09, Paolo Bonzini a =C3=A9crit : > The handling of the interrupt shadow is subtle. QEMU's check to stop t= he > interrupt shadow needs to check the state after the _penultimate_ > instruction. Because the interrupt shadow is only enabled at the end o= f > a translation block, and it makes the next, the state at the > penultimate instruction is stored in the current translation block's > flags. Fix gen_eob to check it correctly. > > This fixes Windows XP. > > Reported-by: Herv=C3=A9 Poussineau > Fixes: 7f0b7141b4c7deab51efd8ee1e83eab2d9b7a9ea > Signed-off-by: Paolo Bonzini Tested-by: Herv=C3=A9 Poussineau