qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] blockdev: support dataplane in QMP 'transaction' command
@ 2014-11-21 10:48 Stefan Hajnoczi
  2014-11-21 10:48 ` [Qemu-devel] [PATCH 1/4] blockdev: update outdated qmp_transaction() comments Stefan Hajnoczi
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Stefan Hajnoczi @ 2014-11-21 10:48 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Paolo Bonzini, Stefan Hajnoczi, mreitz

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-11-26 16:41 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Qemu-devel] [PATCH 0/4] blockdev: support dataplane in QMP 'transaction' command Stefan Hajnoczi

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).