qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Benoît Canet" <benoit.canet@irqsave.net>
To: Kevin Wolf <kwolf@redhat.com>
Cc: Jeff Cody <jcody@redhat.com>,
	qemu-devel@nongnu.org, Stefan Hajnoczi <stefanha@redhat.com>,
	Max Reitz <mreitz@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v3 0/8] block: Integrate bdrv_file_open() into bdrv_open()
Date: Mon, 17 Feb 2014 14:35:07 +0100	[thread overview]
Message-ID: <20140217133507.GA3136@irqsave.net> (raw)
In-Reply-To: <20140217124243.GH3502@dhcp-200-207.str.redhat.com>

The Monday 17 Feb 2014 à 13:42:43 (+0100), Kevin Wolf wrote :
> Am 15.02.2014 um 04:30 hat Max Reitz geschrieben:
> > bdrv_file_open() is now nearly a subset of bdrv_open(), except for the
> > fact that bdrv_file_open() is for protocols and bdrv_open() for block
> > drivers. It is possible to use bdrv_file_open() with a block driver, but
> > in that case that block driver must be explicitly specified.
> > 
> > Due to these great similarities, bdrv_file_open() can be integrated and
> > made a special case of bdrv_open(). If the flag BDRV_O_PROTOCOL is
> > specified, bdrv_open() will now do what bdrv_file_open() used to do:
> > Auto-detecting a protocol instead of a block driver.
> > 
> > This series implements this and changes all calls to bdrv_file_open() to
> > bdrv_open() calls with BDRV_O_PROTOCOL specified.
> > 
> > Note that this flag cannot be discerned automatically since it is
> > impossible for bdrv_open() to know by itself whether a given file should
> > be opened with or without the format layer involved: Both are valid
> > alternatives. Therefore, it still has to be specified by the user.
> 
> This series conflicts with Benoît's patches that have been merged into
> master. When rebasing, please be careful with the code motion patch so
> that you don't accidentally revert Benoît's changes. (It's an easy
> conflict to resolve, but not trivial enough for me to do it while
> applying the patch, with no additional review.)
> 
> Kevin

I will do another review once Max has rebased and resent this series.

Best regards

Benoît

> 

      reply	other threads:[~2014-02-17 14:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-15  3:30 [Qemu-devel] [PATCH v3 0/8] block: Integrate bdrv_file_open() into bdrv_open() Max Reitz
2014-02-15  3:30 ` [Qemu-devel] [PATCH v3 1/8] block: Change BDS parameter of bdrv_open() to ** Max Reitz
2014-02-15  3:30 ` [Qemu-devel] [PATCH v3 2/8] block: Add reference parameter to bdrv_open() Max Reitz
2014-02-15  3:30 ` [Qemu-devel] [PATCH v3 3/8] block: Make bdrv_file_open() static Max Reitz
2014-02-17 13:26   ` Kevin Wolf
2014-02-18 13:48   ` Benoît Canet
2014-02-15  3:30 ` [Qemu-devel] [PATCH v3 4/8] block: Reuse reference handling from bdrv_open() Max Reitz
2014-02-15  3:30 ` [Qemu-devel] [PATCH v3 5/8] block: Remove bdrv_new() from bdrv_file_open() Max Reitz
2014-02-15  3:30 ` [Qemu-devel] [PATCH v3 6/8] block: Handle bs->options in bdrv_open() only Max Reitz
2014-02-15  3:30 ` [Qemu-devel] [PATCH v3 7/8] block: Reuse success path from bdrv_open() Max Reitz
2014-02-17 13:34   ` Kevin Wolf
2014-02-18 13:44   ` Benoît Canet
2014-02-15  3:30 ` [Qemu-devel] [PATCH v3 8/8] block: Remove bdrv_open_image()'s force_raw option Max Reitz
2014-02-17 12:42 ` [Qemu-devel] [PATCH v3 0/8] block: Integrate bdrv_file_open() into bdrv_open() Kevin Wolf
2014-02-17 13:35   ` Benoît Canet [this message]

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=20140217133507.GA3136@irqsave.net \
    --to=benoit.canet@irqsave.net \
    --cc=jcody@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).