From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CQ6Ic-0006PZ-Gv for qemu-devel@nongnu.org; Fri, 05 Nov 2004 10:46:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CQ6Ib-0006PE-N1 for qemu-devel@nongnu.org; Fri, 05 Nov 2004 10:46:50 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQ6Ib-0006P4-J7 for qemu-devel@nongnu.org; Fri, 05 Nov 2004 10:46:49 -0500 Received: from [192.76.135.70] (helo=kurt.tools.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CQ69F-0003Ip-QN for qemu-devel@nongnu.org; Fri, 05 Nov 2004 10:37:10 -0500 Received: from tiger2.tools.intra (tiger2.tools.intra [172.20.0.11]) by kurt.tools.de (8.12.11/8.12.11) with ESMTP id iA5Fb6CH026788 for ; Fri, 5 Nov 2004 16:37:06 +0100 (MET) Received: from tiger2.tools.intra (tiger2.tools.intra [IPv6:2::20:208:c7ff:feaa:83b8]) by tiger2.tools.intra (8.12.10+Sun/8.12.10) with SMTP id iA5Fb6Y3013972 for ; Fri, 5 Nov 2004 16:37:06 +0100 (CET) Message-Id: <200411051537.iA5Fb6Y3013972@tiger2.tools.intra> Date: Fri, 5 Nov 2004 16:37:06 +0100 (CET) From: Juergen Keil Subject: Re: [Qemu-devel] enabling bus-master IDE driver MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: Z/fF+VCiWDmHJ5RQGKP9Ag== Reply-To: Juergen Keil , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > Quoting zitu : > > > > > > Does that mean that the patch doesn't work? Do I have to do something else > > > to make dma work? > > > > I think this patch is almost complete for linux and solaris guests. Some > > more work/init is needed inside XP/NT/2K. Anyone around with this > > knowledge ? > > answering to myself... :) > > WIN_WRITEDMA_EXT & WIN_READDMA_EXT cases are not defined in hw/ide.c Aha, and Windows uses these commands, on small HDDs <= 128GB ? > I have no idea where to start to write a patch for these... :( > > Until these and the atapi_dma are set/defined, no dma should work IMHO. > And this seems not to be OS dependant. > > Which means the linux figures I got were wrong ??? The *_EXT versions are apparently for HDDs with capacities >128GB, these need 48-bit LBA addresses to access the HDD space over the 128GB mark. I guess that Solaris/Linux uses the commands with the smaller 28-bit LBA disk addresses for small disks with capacities <= 128GB. An interesting experiment would be to setup a QEMU HDD image > 128GB, then try Solaris x86/Linux with such a big disk and check if it still works. Probably not.