All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Alexander Graf <agraf@suse.de>
Cc: Kevin Wolf <kwolf@redhat.com>,
	qemu-devel qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH v2] ahci: add -drive support
Date: Mon, 09 Jul 2012 13:19:49 +0200	[thread overview]
Message-ID: <m3y5mtp4fe.fsf@blackfin.pond.sub.org> (raw)
In-Reply-To: <F25E1C30-CCAD-4734-A3A2-B8B4A45CDF1E@suse.de> (Alexander Graf's message of "Mon, 9 Jul 2012 13:08:43 +0200")

Alexander Graf <agraf@suse.de> writes:

> On 09.07.2012, at 13:06, Markus Armbruster wrote:
>
>> Kevin Wolf <kwolf@redhat.com> writes:
>> 
>>> Am 09.07.2012 10:50, schrieb Markus Armbruster:
>>>> Alexander Graf <agraf@suse.de> 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 <agraf@suse.de>
>>>>> 
>>>>> ---
>>>>> 
>>>>> 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?
>
> We could create a cmd646 and attach drives to that.

Naive use of the command line then connects your drives to some an old
and slow add-on controller instead of the perfectly servicable and fast
on-board controller.

Let me rephrase my question: s/could/should/

  reply	other threads:[~2012-07-09 11:19 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1340714974-25489-1-git-send-email-agraf@suse.de>
2012-07-09  8:50 ` [Qemu-devel] [PATCH v2] ahci: add -drive support Markus Armbruster
2012-07-09  9:11   ` Kevin Wolf
2012-07-09  9:13     ` Alexander Graf
2012-07-09  9:27       ` Kevin Wolf
2012-07-09  9:36         ` Alexander Graf
2012-07-09  9:41           ` Gleb Natapov
2012-07-09  9:44             ` Alexander Graf
2012-07-09  9:46               ` Gleb Natapov
2012-07-09  9:52           ` Kevin Wolf
2012-07-09 10:02             ` Gleb Natapov
2012-07-09 10:03               ` Kevin Wolf
2012-07-09 10:05                 ` Gleb Natapov
2012-07-09 10:14             ` Gerd Hoffmann
2012-07-09 11:05               ` Markus Armbruster
2012-07-09 11:06     ` Markus Armbruster
2012-07-09 11:08       ` Alexander Graf
2012-07-09 11:19         ` Markus Armbruster [this message]
2012-07-09 11:22           ` Alexander Graf
2012-07-11 22:33   ` Alexander Graf
2012-07-12  8:17     ` Markus Armbruster
2012-07-12  8:23       ` Alexander Graf
2012-07-12 11:09         ` Markus Armbruster
2012-07-12 11:28           ` Alexander Graf
2012-07-12 11:42             ` Markus Armbruster
2012-07-12 11:33           ` Paolo Bonzini
2012-07-12  8:42       ` Gerd Hoffmann
2012-07-12 10:58         ` Markus Armbruster
2012-07-12 11:50       ` Alexander Graf
2012-07-12 14:39         ` Markus Armbruster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3y5mtp4fe.fsf@blackfin.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=agraf@suse.de \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.