From: Marcelo Tosatti Subject: Re: [PATCH] fix realmode.c emulator test Date: Tue, 2 Mar 2010 09:57:32 -0300 Message-ID: <20100302125732.GB19959@amt.cnet> References: <20100301141446.GM16909@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: avi@redhat.com, kvm@vger.kernel.org To: Gleb Natapov Return-path: Received: from mx1.redhat.com ([209.132.183.28]:7727 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753209Ab0CBOcS (ORCPT ); Tue, 2 Mar 2010 09:32:18 -0500 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o22EWI5h001936 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 2 Mar 2010 09:32:18 -0500 Content-Disposition: inline In-Reply-To: <20100301141446.GM16909@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Mar 01, 2010 at 04:14:46PM +0200, Gleb Natapov wrote: > IO test doesn't clobber EAX register between out and in so if they do > nothing test succeed where it should fail. Fix that. Enlarge space for > tested code from 16 bytes to 32 bytes since now some tests are longer > then 16 bytes. > > Change ".pushsection .text" (which does nothing since we are already in > .text and thus test code is left in the middle of the main code) to use > subsections. > > Signed-off-by: Gleb Natapov Applied both, thanks.