From patchwork Wed Oct 24 09:50:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Wolf X-Patchwork-Id: 193743 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 836512C0147 for ; Wed, 24 Oct 2012 21:53:11 +1100 (EST) Received: from localhost ([::1]:34590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQxcx-0002mR-Dc for incoming@patchwork.ozlabs.org; Wed, 24 Oct 2012 05:51:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQxcB-0000rt-V3 for qemu-devel@nongnu.org; Wed, 24 Oct 2012 05:51:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQxc5-0006hT-Sq for qemu-devel@nongnu.org; Wed, 24 Oct 2012 05:51:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:21344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQxc5-0006hI-K1 for qemu-devel@nongnu.org; Wed, 24 Oct 2012 05:51:01 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9O9oxaK026761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 24 Oct 2012 05:50:59 -0400 Received: from dhcp-5-188.str.redhat.com (dhcp-200-232.str.redhat.com [10.33.200.232]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q9O9ov1N004084; Wed, 24 Oct 2012 05:50:57 -0400 From: Kevin Wolf To: anthony@codemonkey.ws Date: Wed, 24 Oct 2012 11:50:24 +0200 Message-Id: <1351072256-6112-1-git-send-email-kwolf@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 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/32] 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 a8170e5e97ad17ca169c64ba87ae2f53850dab4c: Rename target_phys_addr_t to hwaddr (2012-10-23 08:58:25 -0500) are available in the git repository at: git://repo.or.cz/qemu/kevin.git for-anthony Alex Bligh (1): qemu-img rebase: use empty string to rebase without backing file Corey Bryant (5): monitor: Allow add-fd to any specified fd set monitor: Enable adding an inherited fd to an fd set monitor: Prevent removing fd from set during init qemu-config: Add new -add-fd command line option osdep: Less restrictive F_SEFL in qemu_dup_flags() Jeff Cody (4): qmp: fix __accept() in qmp.py block: make bdrv_find_backing_image compare canonical filenames block: in commit, determine base image from the top image qemu-iotests: add relative backing file tests for block-commit (040) Kashyap Chamarthy (1): qemu-img: document 'info --backing-chain' Kevin Wolf (2): qemu-img: Fix division by zero for zero size images qemu-iotests: Test qemu-img operation on zero size image Luiz Capitulino (1): block: bdrv_create(): don't leak cco.filename on error Paolo Bonzini (16): block: add bdrv_query_info block: add bdrv_query_stats block: add bdrv_open_backing_file block: introduce new dirty bitmap functionality block: export dirty bitmap information in query-block block: rename block_job_complete to block_job_completed block: add block-job-complete block: introduce BLOCK_JOB_READY event mirror: introduce mirror job qmp: add drive-mirror command mirror: implement completion qemu-iotests: add mirroring test case iostatus: forward block_job_iostatus_reset to block job mirror: add support for on-source-error/on-target-error qmp: add pull_event function qemu-iotests: add testcases for mirroring on-source-error/on-target-error Stefan Hajnoczi (2): qemu-img: Add --backing-chain option to info command qemu-iotests: Add 043 backing file chain infinite loop test QMP/qmp-events.txt | 18 ++ QMP/qmp.py | 21 ++ block.c | 307 ++++++++++++++------- block.h | 8 +- block/Makefile.objs | 1 + block/commit.c | 11 +- block/mirror.c | 322 +++++++++++++++++++++ block/stream.c | 4 +- block_int.h | 24 ++ blockdev.c | 182 +++++++++++-- blockjob.c | 36 +++- blockjob.h | 41 +++- hmp-commands.hx | 38 +++- hmp.c | 39 +++ hmp.h | 2 + monitor.c | 143 ++++++---- monitor.h | 4 + osdep.c | 12 +- qapi-schema.json | 106 +++++++- qemu-config.c | 22 ++ qemu-img-cmds.hx | 4 +- qemu-img.c | 219 +++++++++++++--- qemu-img.texi | 25 ++- qemu-options.hx | 36 +++ qerror.h | 3 + qmp-commands.hx | 53 ++++ tests/qemu-iotests/040 | 106 +++++++- tests/qemu-iotests/040.out | 4 +- tests/qemu-iotests/041 | 615 +++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/041.out | 5 + tests/qemu-iotests/042 | 78 ++++++ tests/qemu-iotests/042.out | 15 + tests/qemu-iotests/043 | 95 +++++++ tests/qemu-iotests/043.out | 66 +++++ tests/qemu-iotests/common.rc | 10 + tests/qemu-iotests/group | 3 + tests/qemu-iotests/iotests.py | 4 + trace-events | 8 + vl.c | 94 +++++++ 39 files changed, 2537 insertions(+), 247 deletions(-) create mode 100644 block/mirror.c create mode 100755 tests/qemu-iotests/041 create mode 100644 tests/qemu-iotests/041.out create mode 100755 tests/qemu-iotests/042 create mode 100644 tests/qemu-iotests/042.out create mode 100755 tests/qemu-iotests/043 create mode 100644 tests/qemu-iotests/043.out