From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpHdz-0000e3-8O for qemu-devel@nongnu.org; Thu, 12 Jul 2012 07:33:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SpHdv-0005Cr-54 for qemu-devel@nongnu.org; Thu, 12 Jul 2012 07:33:15 -0400 Received: from mail-yx0-f173.google.com ([209.85.213.173]:64004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpHdv-0005Cg-0j for qemu-devel@nongnu.org; Thu, 12 Jul 2012 07:33:11 -0400 Received: by yenl1 with SMTP id l1so2476036yen.4 for ; Thu, 12 Jul 2012 04:33:08 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4FFEB5ED.20405@redhat.com> Date: Thu, 12 Jul 2012 13:33:01 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1340714974-25489-1-git-send-email-agraf@suse.de> <85304819-A359-491E-AF7A-B8D6A1DE15DC@suse.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] ahci: add -drive support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Kevin Wolf , Alexander Graf , qemu-devel qemu-devel Il 12/07/2012 13:09, Markus Armbruster ha scritto: >> > >> > It isn't. AHCI is on the same level as IDE. They both speak ATA, but >> > the guest os interface is completely different. You can write a >> > generic IDE driver, but that won't be able to talk to an AHCI >> > controller in AHCI mode. You can write a generic AHCI driver, but that >> > won't be able to talk to an IDE controller. > Yes, but does the naive command line user care? > > -serial configures a serial device. The kind of device depends on the > board: 16550A UARTs with -M pc, Exynos 4210 UARTs with -M nuri, ColdFire > UARTs with -M an5206, ... You can't write a generic serial device > driver. The naive command line user uses -cdrom or just "qemu file.img", they do not use -drive. The non-naive command line user who has so far been using -drive with if=ide, can learn to omit it when they move to q35. Paolo