From patchwork Fri Sep 28 17:56:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Wolf X-Patchwork-Id: 187850 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 86FAB2C00D6 for ; Sat, 29 Sep 2012 03:57:41 +1000 (EST) Received: from localhost ([::1]:34220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THeol-0002eD-0m for incoming@patchwork.ozlabs.org; Fri, 28 Sep 2012 13:57:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THeoU-0002dP-Av for qemu-devel@nongnu.org; Fri, 28 Sep 2012 13:57:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THeoR-0007Ln-Nz for qemu-devel@nongnu.org; Fri, 28 Sep 2012 13:57:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THeoR-0007Ky-FV for qemu-devel@nongnu.org; Fri, 28 Sep 2012 13:57:19 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q8SHvG87025457 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 Sep 2012 13:57:16 -0400 Received: from dhcp-5-188.str.redhat.com (vpn1-7-84.ams2.redhat.com [10.36.7.84]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q8SHvF33020617; Fri, 28 Sep 2012 13:57:15 -0400 From: Kevin Wolf To: anthony@codemonkey.ws Date: Fri, 28 Sep 2012 19:56:43 +0200 Message-Id: <1348855033-17174-1-git-send-email-kwolf@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: kwolf@redhat.com, qemu-devel@nongnu.org Subject: [Qemu-devel] [PULL 00/30] Block patches X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The following changes since commit 6f8fd2530e9a530f237240daf1c981fa5df7f978: Merge branch 'arm-devs.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm (2012-09-27 21:48:56 +0200) are available in the git repository at: git://repo.or.cz/qemu/kevin.git for-anthony Bharata B Rao (2): configure: Add a config option for GlusterFS as block backend block: Support GlusterFS as a QEMU block backend. Jeff Cody (7): block: after creating a live snapshot, make old image read-only block: add support functions for live commit, to find and delete images. block: add live block commit functionality blockdev: rename block_stream_cb to a generic block_job_cb block: helper function, to find the base image of a chain QAPI: add command for live block commit, 'block-commit' qemu-iotests: add initial tests for live block commit Kevin Wolf (1): block-migration: Flush requests in blk_mig_cleanup Paolo Bonzini (20): aio: Fix qemu_aio_wait() to maintain correct walking_handlers count qemu: URI parsing library aio: Another fix to the walking_handlers logic qerror/block: introduce QERR_BLOCK_JOB_NOT_ACTIVE block: fix documentation of block_job_cancel_sync block: move job APIs to separate files block: add block_job_query qmp: add 'busy' member to BlockJobInfo block: add support for job pause/resume qmp: add block-job-pause and block-job-resume qemu-iotests: add test for pausing a streaming operation iostatus: rename BlockErrorAction, BlockQMPEventAction iostatus: move BlockdevOnError declaration to QAPI iostatus: change is_read to a bool iostatus: reorganize io error code block: introduce block job error stream: add on-error argument blkdebug: process all set_state rules in the old state qemu-iotests: map underscore to dash in QMP argument names qemu-iotests: add tests for streaming error handling Makefile.objs | 5 +- QMP/qmp-events.txt | 28 +- aio.c | 14 +- block-migration.c | 2 + block.c | 346 ++++--- block.h | 25 +- block/Makefile.objs | 5 +- block/blkdebug.c | 12 +- block/commit.c | 268 +++++ block/gluster.c | 624 ++++++++++++ block/stream.c | 29 +- block_int.h | 178 +--- blockdev.c | 149 +++- blockjob.c | 249 +++++ blockjob.h | 243 +++++ configure | 35 + hmp-commands.hx | 35 +- hmp.c | 26 +- hmp.h | 2 + hw/fdc.c | 4 +- hw/ide/core.c | 22 +- hw/ide/pci.c | 4 +- hw/scsi-disk.c | 25 +- hw/scsi-generic.c | 4 +- hw/virtio-blk.c | 23 +- monitor.c | 1 + monitor.h | 1 + qapi-schema.json | 125 +++- qemu-tool.c | 6 + qerror.h | 6 + qmp-commands.hx | 20 +- tests/qemu-iotests/030 | 260 +++++- tests/qemu-iotests/030.out | 4 +- tests/qemu-iotests/040 | 178 ++++ tests/qemu-iotests/040.out | 5 + tests/qemu-iotests/group | 3 +- tests/qemu-iotests/iotests.py | 15 +- trace-events | 6 +- uri.c | 2249 +++++++++++++++++++++++++++++++++++++++++ uri.h | 113 ++ 40 files changed, 4923 insertions(+), 426 deletions(-) create mode 100644 block/commit.c create mode 100644 block/gluster.c create mode 100644 blockjob.c create mode 100644 blockjob.h create mode 100755 tests/qemu-iotests/040 create mode 100644 tests/qemu-iotests/040.out create mode 100644 uri.c create mode 100644 uri.h