From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55569 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSXiz-0004zA-6a for qemu-devel@nongnu.org; Tue, 14 Dec 2010 11:27:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSXiw-0007f1-9o for qemu-devel@nongnu.org; Tue, 14 Dec 2010 11:27:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:9773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSXiw-0007ex-31 for qemu-devel@nongnu.org; Tue, 14 Dec 2010 11:27:34 -0500 Message-ID: <4D079B28.2000102@redhat.com> Date: Tue, 14 Dec 2010 17:28:24 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <1292286883-20157-1-git-send-email-agraf@suse.de> In-Reply-To: <1292286883-20157-1-git-send-email-agraf@suse.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 00/11] AHCI emulation support v9 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Joerg Roedel , Paul Brook , QEMU-devel Developers , Blue Swirl , Gerd Hoffmann , Stefan Hajnoczi , tj@kernel.org, Roland Elek , Sebastian Herbszt Am 14.12.2010 01:34, schrieb Alexander Graf: > This patch adds support for AHCI emulation. I have tested and verified it works > in Linux, OpenBSD, Windows Vista and Windows 7. This AHCI emulation supports > NCQ, so multiple read or write requests can be outstanding at the same time. > > The code is however not fully optimized yet. I'm fairly sure that there are > low hanging performance fruits to be found still :). In my simple benchmarks > I achieved about 2/3rd of virtio performance. > > Also, this AHCI emulation layer does not support legacy mode. So if you're > using a disk with this emulation, you do not get it exposed using the legacy > IDE interfaces. > > Another nitpick is CD-ROM support in Windows. Somehow it doesn't detect a > CD-ROM drive attached to AHCI. At least it doesn't list it. > > To attach an AHCI disk to your VM, please use > > -drive id=disk,file=...,if=none -device ahci,id=ahci \ > -device ide-drive,drive=disk,bus=ahci.0 > > This patch set is based on work done during the Google Summer of Code. I was > mentoring a student, Roland Elek, who wrote most of the AHCI emulation code > based on a patch from Chong Qiao. A bunch of other people were also involved, > so everybody who I didn't mention - thanks a lot! > > git://repo.or.cz/qemu/ahci.git ahci I have applied everything but patch 4 (including patch 12/11) to the block branch. Before I can include it in a pull request I need at least a new version of patch 3 and you'll probably want to have a new patch 4 in. There's no need to resend the rest of the patch series. For the changes needed please see the comments on the individual patches. Kevin