Re: [Qemu-devel] [PATCH for-2.3 0/4] blockdev: support dataplane in remaining QMP commands

2014-11-20 Thread Max Reitz

On 2014-11-19 at 15:19, Stefan Hajnoczi wrote:

This patch series adds virtio-blk dataplane support for the following QMP
commands:

  * eject
  * change
  * change-backing-file
  * block_passwd
  * blockdev-snapshot-delete-internal-sync

This requires acquiring and releasing the BlockDriverState's AioContext so that
the IOThread does not run while the monitor command is executing.

Monitor commands that use AioContext can be unblocked in the virtio-blk
dataplane op blockers list.

After this series only the transaction QMP command remains to be converted.

Stefan Hajnoczi (4):
   blockdev: acquire AioContext in blockdev-snapshot-delete-internal-sync
   blockdev: check for BLOCK_OP_TYPE_INTERNAL_SNAPSHOT_DELETE
   blockdev: acquire AioContext in eject, change, and block_passwd
   blockdev: acquire AioContext in change-backing-file

  blockdev.c  | 75 -
  hw/block/dataplane/virtio-blk.c |  4 +++
  2 files changed, 63 insertions(+), 16 deletions(-)


Thanks, applied to my block-next tree:

https://github.com/XanClic/qemu/commits/block-next



[Qemu-devel] [PATCH for-2.3 0/4] blockdev: support dataplane in remaining QMP commands

2014-11-19 Thread Stefan Hajnoczi
This patch series adds virtio-blk dataplane support for the following QMP
commands:

 * eject
 * change
 * change-backing-file
 * block_passwd
 * blockdev-snapshot-delete-internal-sync

This requires acquiring and releasing the BlockDriverState's AioContext so that
the IOThread does not run while the monitor command is executing.

Monitor commands that use AioContext can be unblocked in the virtio-blk
dataplane op blockers list.

After this series only the transaction QMP command remains to be converted.

Stefan Hajnoczi (4):
  blockdev: acquire AioContext in blockdev-snapshot-delete-internal-sync
  blockdev: check for BLOCK_OP_TYPE_INTERNAL_SNAPSHOT_DELETE
  blockdev: acquire AioContext in eject, change, and block_passwd
  blockdev: acquire AioContext in change-backing-file

 blockdev.c  | 75 -
 hw/block/dataplane/virtio-blk.c |  4 +++
 2 files changed, 63 insertions(+), 16 deletions(-)

-- 
2.1.0