From: Kevin Wolf <kwolf@redhat.com>
To: Juan Quintela <quintela@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH] Replace calls of old bdrv_open
Date: Wed, 31 Mar 2010 15:12:56 +0200 [thread overview]
Message-ID: <4BB34A58.8040106@redhat.com> (raw)
In-Reply-To: <m3r5n04p1o.fsf@trasno.mitica>
Am 31.03.2010 15:08, schrieb Juan Quintela:
> Kevin Wolf <kwolf@redhat.com> wrote:
>> What is known today as bdrv_open2 becomes the new bdrv_open. All remaining
>> callers of the old function are converted to the new one. In some places they
>> even know the right format, so they should have used bdrv_open2 from the
>> beginning.
>>
>> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
>
> I would preffer a:
> bdrv_open() like yours with assert(drv != NULL).
>
> bdrv_open_guess() for the current behaviour with NULL drv argument.
> (name sucks but I can guet a better one at the momment).
>
> Why? because I would like to have an easy way to grep for all places
> that "guess" what driver should they use. And as you found on the
> patch, several places knew it and where using it out of laziness.
>
> If I can have my pony, your patch is better than current behaviour :)
Feel free to post a v2 that implements your version. :-)
Kevin
next prev parent reply other threads:[~2010-03-31 13:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-31 12:46 [Qemu-devel] [PATCH] Replace calls of old bdrv_open Kevin Wolf
2010-03-31 13:07 ` [Qemu-devel] " Juan Quintela
2010-03-31 13:08 ` Juan Quintela
2010-03-31 13:12 ` Kevin Wolf [this message]
2010-04-05 8:58 ` Christoph Hellwig
2010-04-05 8:55 ` [Qemu-devel] " Christoph Hellwig
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=4BB34A58.8040106@redhat.com \
--to=kwolf@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
/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.