Received: from eggs.gnu.org ([2001:4830:134:3::10]:59069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJOQP-00009e-UA for qemu-devel@nongnu.org; Wed, 13 Jan 2016 11:37:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJOQO-0001o4-Pn for qemu-devel@nongnu.org; Wed, 13 Jan 2016 11:37:33 -0500 From: Kevin Wolf Date: Wed, 13 Jan 2016 17:37:07 +0100 Message-Id: <1452703036-17999-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/9] block/qcow2: Migration handoff fixes and cleanups List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, qemu-devel@nongnu.org, mreitz@redhat.com This is the non-controversal part of the qcow2 locking series, which just makes the state of images with respect to live migration clearer and fixes a few bugs we have in the handoff procedure and with writing the qcow2 feature table. Kevin Wolf (9): qcow2: Write feature table only for v3 images qcow2: Write full header on image creation block: Assert no write requests under BDRV_O_INCOMING block: Fix error path in bdrv_invalidate_cache() block: Rename BDRV_O_INCOMING to BDRV_O_INACTIVE block: Inactivate BDS when migration completes qcow2: Implement .bdrv_inactivate qcow2: Fix BDRV_O_INACTIVE handling in qcow2_invalidate_cache() qcow2: Make image inaccessible after failed qcow2_invalidate_cache() block.c | 42 +++++++++++++++-- block/io.c | 2 + block/qcow2.c | 110 +++++++++++++++++++++++++++------------------ block/qed.c | 4 +- include/block/block.h | 3 +- include/block/block_int.h | 1 + migration/migration.c | 7 +++ nbd.c | 2 +- qmp.c | 12 +++++ tests/qemu-iotests/031.out | 17 +++---- tests/qemu-iotests/036 | 2 + tests/qemu-iotests/036.out | 5 +++ tests/qemu-iotests/061.out | 35 ++++++++------- 13 files changed, 166 insertions(+), 76 deletions(-) -- 1.8.3.1