From patchwork Fri Jan 25 18:45:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Wolf X-Patchwork-Id: 215828 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 E0AEB2C0099 for ; Sat, 26 Jan 2013 05:46:28 +1100 (EST) Received: from localhost ([::1]:56643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyoIE-00076T-V9 for incoming@patchwork.ozlabs.org; Fri, 25 Jan 2013 13:46:26 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyoHv-0006z4-9y for qemu-devel@nongnu.org; Fri, 25 Jan 2013 13:46:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TyoHt-0007g5-I2 for qemu-devel@nongnu.org; Fri, 25 Jan 2013 13:46:06 -0500 Received: from mx1.redhat.com ([209.132.183.28]:15932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyoHt-0007fu-AF for qemu-devel@nongnu.org; Fri, 25 Jan 2013 13:46:05 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r0PIk38E020290 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 25 Jan 2013 13:46:03 -0500 Received: from dhcp-5-188.str.redhat.com (vpn1-6-44.ams2.redhat.com [10.36.6.44]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r0PIk1dT018934; Fri, 25 Jan 2013 13:46:01 -0500 From: Kevin Wolf To: anthony@codemonkey.ws Date: Fri, 25 Jan 2013 19:45:36 +0100 Message-Id: <1359139560-15387-1-git-send-email-kwolf@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: kwolf@redhat.com, qemu-devel@nongnu.org Subject: [Qemu-devel] [PULL 00/24] 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 11c29918be32be5b00f367c7da9724a5cddbbb0f: Merge remote-tracking branch 'bonzini/scsi-next' into staging (2013-01-24 12:56:02 -0600) are available in the git repository at: git://repo.or.cz/qemu/kevin.git for-anthony Jason Baron (2): ahci: Remove unused AHCIDevice fields ahci: Add migration support Kevin Wolf (2): ahci: Change data types in preparation for migration ide: Add fall through annotations Paolo Bonzini (14): host-utils: add ffsl add hierarchical bitmap data type and test cases block: implement dirty bitmap using HBitmap block: make round_to_clusters public mirror: perform COW if the cluster size is bigger than the granularity block: return count of dirty sectors, not chunks block: allow customizing the granularity of the dirty bitmap mirror: allow customizing the granularity mirror: switch mirror_iteration to AIO mirror: add buf-size argument to drive-mirror mirror: support more than one in-flight AIO operation mirror: support arbitrarily-sized iterations mirror: do nothing on zero-sized disk hbitmap: add assertion on hbitmap_iter_init Stefan Weil (5): block: Add special error code for wrong format block: Use error code EMEDIUMTYPE for wrong format in some block drivers block/vdi: Improve debug output for signature block/vdi: Improved return values from vdi_open block/vdi: Check for bad signature Vishvananda Ishaya (1): block: Create proper size file for disk mirror block-migration.c | 7 +- block.c | 124 ++++---------- block/bochs.c | 2 +- block/cow.c | 2 +- block/mirror.c | 382 +++++++++++++++++++++++++++++++++++------- block/qcow.c | 2 +- block/qcow2.c | 2 +- block/qed.c | 2 +- block/vdi.c | 25 +++- block/vmdk.c | 4 +- blockdev.c | 52 ++++-- hmp.c | 2 +- hw/ide/ahci.c | 98 ++++++++++-- hw/ide/ahci.h | 20 ++- hw/ide/core.c | 33 +++- hw/ide/ich.c | 14 +- include/block/block.h | 11 +- include/block/block_int.h | 10 +- include/qemu-common.h | 3 + include/qemu/hbitmap.h | 208 +++++++++++++++++++++++ include/qemu/host-utils.h | 26 +++ qapi-schema.json | 15 ++- qmp-commands.hx | 10 +- tests/Makefile | 3 + tests/qemu-iotests/041 | 81 +++++++++ tests/qemu-iotests/041.out | 4 +- tests/test-hbitmap.c | 401 ++++++++++++++++++++++++++++++++++++++++++++ trace-events | 12 ++ util/Makefile.objs | 2 +- util/hbitmap.c | 401 ++++++++++++++++++++++++++++++++++++++++++++ 30 files changed, 1728 insertions(+), 230 deletions(-) create mode 100644 include/qemu/hbitmap.h create mode 100644 tests/test-hbitmap.c create mode 100644 util/hbitmap.c