From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOn3u-0001aw-75 for qemu-devel@nongnu.org; Tue, 12 Dec 2017 11:05:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOn3o-0006Ij-O6 for qemu-devel@nongnu.org; Tue, 12 Dec 2017 11:05:42 -0500 Received: from [195.214.232.25] (port=3923 helo=relay.sw.ru) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eOn3o-0006AO-BS for qemu-devel@nongnu.org; Tue, 12 Dec 2017 11:05:36 -0500 From: Vladimir Sementsov-Ogievskiy Date: Tue, 12 Dec 2017 19:04:47 +0300 Message-Id: <20171212160450.17510-1-vsementsov@virtuozzo.com> Subject: [Qemu-devel] [PATCH v2 0/3] fix bitmaps migration through shared storage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, qemu-block@nongnu.org Cc: mreitz@redhat.com, kwolf@redhat.com, crosa@redhat.com, ehabkost@redhat.com, vsementsov@virtuozzo.com, den@openvz.org, jsnow@redhat.com Hi all. This fixes bitmaps migration through shared storage. Look at 02 for details. The bug introduced in 2.10 with the whole qcow2 bitmaps feature, so qemu-stable in CC. However I doubt that someone really suffered from this. v2: John, thank you for reviewing v1. changes: add John's r-bs, change s/timeout=10/timeout=10.0/ in last patch and drop old 03 patch, related to this timeout fix. Vladimir Sementsov-Ogievskiy (3): qcow2-bitmap: add qcow2_reopen_bitmaps_rw_hint() qcow2: handle reopening bitmaps on bdrv_invalidate_cache iotests: add dirty bitmap migration test block/qcow2.h | 2 ++ block/qcow2-bitmap.c | 15 ++++++++- block/qcow2.c | 8 ++++- tests/qemu-iotests/169 | 82 ++++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/169.out | 5 +++ tests/qemu-iotests/group | 1 + 6 files changed, 111 insertions(+), 2 deletions(-) create mode 100755 tests/qemu-iotests/169 create mode 100644 tests/qemu-iotests/169.out -- 2.11.1