Received: from eggs.gnu.org ([208.118.235.92]:51394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoBnq-00067P-Lt for qemu-devel@nongnu.org; Mon, 09 Jul 2012 07:07:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoBnl-00077e-Q4 for qemu-devel@nongnu.org; Mon, 09 Jul 2012 07:06:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoBnl-00077U-JB for qemu-devel@nongnu.org; Mon, 09 Jul 2012 07:06:49 -0400 From: Markus Armbruster References: <1340714974-25489-1-git-send-email-agraf@suse.de> <4FFAA03D.6020302@redhat.com> Date: Mon, 09 Jul 2012 13:06:47 +0200 In-Reply-To: <4FFAA03D.6020302@redhat.com> (Kevin Wolf's message of "Mon, 09 Jul 2012 11:11:25 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH v2] ahci: add -drive support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Alexander Graf , qemu-devel qemu-devel Kevin Wolf writes: > Am 09.07.2012 10:50, schrieb Markus Armbruster: >> Alexander Graf writes: >> >>> We've had support for creating AHCI devices using -device for a while now, >>> but it's cumbersome to users. We really should provide an easier way for >>> them to leverage the power of AHCI! >>> >>> So let's introduce a new if= option to -drive, giving users the same >>> command line experience as for scsi or ide. >>> >>> Signed-off-by: Alexander Graf >>> >>> --- >>> >>> v1 -> v2: >>> >>> - support more than a single drive per adapter >>> - support index= option >>> - treat IF_AHCI the same as IF_IDE >> >> Inhowfar? Not obvious to me from the patch, or the diff patch v1. >> >>> - add is_ata() helper to match AHCI || IDE >> >> Not addressed: >> >> Once we switch to q35, if=ahci will become a redundant wart: to add >> drives to the board's AHCI controller, you'll have to use if=ide. >> if=ahci will create new controllers, which is generally not what you >> want. Ugh. > > Can we even make it the default with q35 as long as our AHCI controller > doesn't also expose a legacy interface for compatibility? Err, what else could we do with if=ide with q35?