Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9PGP-0001OV-NA for qemu-devel@nongnu.org; Tue, 04 May 2010 17:02:45 -0400 Received: from [140.186.70.92] (port=43583 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9PGO-0001Mi-IK for qemu-devel@nongnu.org; Tue, 04 May 2010 17:02:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9PGN-0002AV-EI for qemu-devel@nongnu.org; Tue, 04 May 2010 17:02:44 -0400 Received: from mail.gmx.net ([213.165.64.20]:59117) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O9PGM-0002A4-VY for qemu-devel@nongnu.org; Tue, 04 May 2010 17:02:43 -0400 Message-ID: <410A4DD7394D4F558AA912A10A2D2AA9@FSCPC> From: "Sebastian Herbszt" References: <4BDAD1A3.1040906@loongson.cn><62A72125-4FCF-4B72-82E5-24840460C3D2@suse.de><4BDD7596.6080207@loongson.cn> <1272815797.1611.13.camel@vibrance> <1272920913.1609.41.camel@vibrance> In-Reply-To: <1272920913.1609.41.camel@vibrance> Date: Tue, 4 May 2010 22:56:19 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [RFC] [PATCH] add ahci support into qemu List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Elek Roland , qemu-devel Developers Cc: Joerg Roedel , Alexander Graf Elek Roland wrote: > On v, 2010-05-02 at 17:56 +0200, Elek Roland wrote: >> I'm going to try the patch in practice as >> soon as I finish my university project. (It's due today.) > > I've tried the patch, and I can confirm that it does provide an AHCI > device and a SATA disk. It shows up in qemu as an Intel Corporation > 82801FR/FRW (ICH6R/ICH6RW) SATA Controller, which is consistent with the > device and vendor IDs in the code. I could successfully create an ext2 > filesystem on the virtual disk, mount it, write a text file on it and > read it back. > I've noticed the following errors: > - The source code claims to implement 2 ports, Linux reports 3. > - When I halt the guest OS, the AHCI device throws a hardware error > about an unimplemented command. Those issues should be fixed now by the following two patches: 0001-fix-port-count-cap-and-version-etc-to-ahci.patch 0002-add-WIN_STANDBYNOW1-process-into-ahci.patch Sebastian > I think we could clean up the code and use it as a basis for full > support. > > Regards, > Roland > > > >