From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl1po-0000gi-Gt for qemu-devel@nongnu.org; Mon, 25 Nov 2013 14:28:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vl1pi-00027X-Gb for qemu-devel@nongnu.org; Mon, 25 Nov 2013 14:28:40 -0500 Received: from mx1.redhat.com ([209.132.183.28]:11329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl1pi-00027K-7r for qemu-devel@nongnu.org; Mon, 25 Nov 2013 14:28:34 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rAPJSU06028205 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 25 Nov 2013 14:28:30 -0500 From: Max Reitz Date: Mon, 25 Nov 2013 20:28:54 +0100 Message-Id: <1385407736-13941-1-git-send-email-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH for-1.7 0/2] block/drive-mirror: Reuse backing HD for sync=none List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Paolo Bonzini , Stefan Hajnoczi , Max Reitz This series fixes the drive-mirror blockjob in case of "none" sync mode to always use the old (current) image file as the backing file of the newly created mirrored file (in case of "absolute-paths" mode). It is rather important to get this into 1.7, as we will introduce an at least pretty strange API in case the original file is unbacked otherwise. Max Reitz (2): block/drive-mirror: Reuse backing HD for sync=none qemu-iotests: Fix test 041 blockdev.c | 3 +++ tests/qemu-iotests/041 | 32 ++++++++++++++++++++++++-------- tests/qemu-iotests/041.out | 4 ++-- 3 files changed, 29 insertions(+), 10 deletions(-) -- 1.8.4.2