From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O92si-0006ka-Qw for qemu-devel@nongnu.org; Mon, 03 May 2010 17:08:48 -0400 Received: from [140.186.70.92] (port=59920 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O92sh-0006kS-Gj for qemu-devel@nongnu.org; Mon, 03 May 2010 17:08:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O92sd-00049A-Oo for qemu-devel@nongnu.org; Mon, 03 May 2010 17:08:46 -0400 Received: from mail-fx0-f45.google.com ([209.85.161.45]:45952) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O92sd-00048t-K8 for qemu-devel@nongnu.org; Mon, 03 May 2010 17:08:43 -0400 Received: by fxm12 with SMTP id 12so2582275fxm.4 for ; Mon, 03 May 2010 14:08:41 -0700 (PDT) From: Elek Roland In-Reply-To: <1272815797.1611.13.camel@vibrance> References: <4BDAD1A3.1040906@loongson.cn> <62A72125-4FCF-4B72-82E5-24840460C3D2@suse.de> <4BDD7596.6080207@loongson.cn> <1272815797.1611.13.camel@vibrance> Content-Type: text/plain; charset="UTF-8" Date: Mon, 03 May 2010 23:08:33 +0200 Message-ID: <1272920913.1609.41.camel@vibrance> Mime-Version: 1.0 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: qemu-devel Developers Cc: Joerg Roedel , Alexander Graf 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. I think we could clean up the code and use it as a basis for full support. Regards, Roland