From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NF6e9-0002Wj-H9 for qemu-devel@nongnu.org; Mon, 30 Nov 2009 08:50:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NF6e4-0002V6-UI for qemu-devel@nongnu.org; Mon, 30 Nov 2009 08:50:33 -0500 Received: from [199.232.76.173] (port=53050 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NF6e4-0002V3-QX for qemu-devel@nongnu.org; Mon, 30 Nov 2009 08:50:28 -0500 Received: from lo.gmane.org ([80.91.229.12]:40753) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NF6e4-0001sn-8T for qemu-devel@nongnu.org; Mon, 30 Nov 2009 08:50:28 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NF6e1-0002OK-JO for qemu-devel@nongnu.org; Mon, 30 Nov 2009 14:50:25 +0100 Received: from 93-34-210-248.ip51.fastwebnet.it ([93.34.210.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Nov 2009 14:50:25 +0100 Received: from pbonzini by 93-34-210-248.ip51.fastwebnet.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Nov 2009 14:50:25 +0100 From: Paolo Bonzini Date: Mon, 30 Nov 2009 14:50:02 +0100 Message-ID: References: <1258476556-32472-1-git-send-email-agraf@suse.de> <4B13C45D.8000503@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <4B13C45D.8000503@suse.de> Sender: news Subject: [Qemu-devel] Re: [PATCH] Make -kernel for linux work with bochsbios List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 11/30/2009 02:10 PM, Alexander Graf wrote: > Alexander Graf wrote: >> While trying to run -kernel with -bios pc-bios/pcbios.bin, I realized >> that I was actually writing data to %es, but only set up %ds to a 32-bit >> segment we want to write to. >> >> So at the end of the day the data hasn't actually been copied. Oops. >> >> So here's a fix to set ES instead of DS, which makes -kernel work with >> BOCHS bios again (and actually makes the code do the correct thing)! >> > > ping ACK Paolo