From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C3Gsd-0002Dy-22 for qemu-devel@nongnu.org; Fri, 03 Sep 2004 12:25:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C3Gsb-0002Ch-Fk for qemu-devel@nongnu.org; Fri, 03 Sep 2004 12:25:38 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C3Gsb-0002CX-DC for qemu-devel@nongnu.org; Fri, 03 Sep 2004 12:25:37 -0400 Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1C3GnS-0007H4-Cl for qemu-devel@nongnu.org; Fri, 03 Sep 2004 12:20:18 -0400 Message-ID: <41389938.3060707@gmx.com> Date: Fri, 03 Sep 2004 18:18:00 +0200 From: "Bochnig, Martin" MIME-Version: 1.0 Subject: Re: [Qemu-devel] qemu and solaris, suggested pci-ide DMA PATCH References: <200409031256.i83CuILj020249@tiger2.tools.intra> In-Reply-To: <200409031256.i83CuILj020249@tiger2.tools.intra> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: bochnig@pool.math.tu-berlin.de, 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 Hi, very good, thanx. I will try it tonight. Martin Juergen Keil wrote: > I wrote: > > >>As far as I understand it, the Solaris ata driver does not use DMA >>transfers with the "pci-ide" qemu hardware, because the "bus master >>support indicator" bit in pci configuration space offset 09h is not >>set. >> >>The message from the Solaris 10 b63 kernel is something like: >> >> "ATA DMA off: cntrl not Bus Master DMA capable" >> >>So it'll fall back to PIO mode transfers. PIO transfers may be slow, but >>that's OK, so far. > > > The following patch changes the qemu pci-ide device to report a > "pci buster master ide controller" instead of a "pci ide controller > (without bus master support)". With that patch installed, a Solaris x86 > guest os starts using DMA ide transfers. Maximum transfer rates on the qemu > ide hdd doubles (I observe ~10MByte/sec in DMA mode vs. ~5MByte/sec in PIO > mode). > > (The patch includes the busmaster status register patch I send two days ago, > to enable the pci-ide controller for Solaris x86 in qemu "-pci" mode)