qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel@nongnu.org, mreitz@redhat.com
Subject: Re: [Qemu-devel] [PATCH 0/4] blockdev: support dataplane in QMP 'transaction' command
Date: Wed, 26 Nov 2014 16:41:20 +0000	[thread overview]
Message-ID: <20141126164120.GH14288@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1416566940-4430-1-git-send-email-stefanha@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1067 bytes --]

On Fri, Nov 21, 2014 at 10:48:56AM +0000, Stefan Hajnoczi wrote:
> These patches make the QMP 'transaction' command work with virtio-blk
> dataplane.  Each 'transaction' action must take care to acquire AioContext
> around BlockDriverState accesses.  Once that protection is in place we can
> unblock the op blockers for these commands.
> 
> The meat is in Patch 3.
> 
> Patches 1 & 2 are minor cleanups.
> Patch 4 protects the external snapshot command (oops, we forgot!).
> 
> Stefan Hajnoczi (4):
>   blockdev: update outdated qmp_transaction() comments
>   blockdev: drop unnecessary DriveBackupState field assignment
>   blockdev: acquire AioContext in QMP 'transaction' actions
>   blockdev: check for BLOCK_OP_TYPE_EXTERNAL_SNAPSHOT
> 
>  blockdev.c                      | 74 +++++++++++++++++++++++++++++++++--------
>  hw/block/dataplane/virtio-blk.c |  2 ++
>  2 files changed, 63 insertions(+), 13 deletions(-)
> 
> -- 
> 2.1.0
> 
> 

Applied to my block-next tree:
https://github.com/stefanha/qemu/commits/block-next

Stefan

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

      parent reply	other threads:[~2014-11-26 16:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-21 10:48 [Qemu-devel] [PATCH 0/4] blockdev: support dataplane in QMP 'transaction' command Stefan Hajnoczi
2014-11-21 10:48 ` [Qemu-devel] [PATCH 1/4] blockdev: update outdated qmp_transaction() comments Stefan Hajnoczi
2014-11-21 13:22   ` Max Reitz
2014-11-21 13:30     ` Max Reitz
2014-11-21 10:48 ` [Qemu-devel] [PATCH 2/4] blockdev: drop unnecessary DriveBackupState field assignment Stefan Hajnoczi
2014-11-21 13:25   ` Max Reitz
2014-11-21 10:48 ` [Qemu-devel] [PATCH 3/4] blockdev: acquire AioContext in QMP 'transaction' actions Stefan Hajnoczi
2014-11-21 13:51   ` Max Reitz
2014-11-24 13:57     ` Stefan Hajnoczi
2014-11-21 10:49 ` [Qemu-devel] [PATCH 4/4] blockdev: check for BLOCK_OP_TYPE_EXTERNAL_SNAPSHOT Stefan Hajnoczi
2014-11-21 11:58   ` Paolo Bonzini
2014-11-24 13:58     ` Stefan Hajnoczi
2014-11-24 16:13   ` Max Reitz
2014-11-26 16:41 ` Stefan Hajnoczi [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=20141126164120.GH14288@stefanha-thinkpad.redhat.com \
    --to=stefanha@gmail.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=pbonzini@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).