Received: from eggs.gnu.org ([2001:4830:134:3::10]:51586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNiPh-0004dz-Ha for qemu-devel@nongnu.org; Sun, 22 Sep 2013 08:05:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VNiPX-0006Cq-Px for qemu-devel@nongnu.org; Sun, 22 Sep 2013 08:05:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNiPX-0006Ce-Hp for qemu-devel@nongnu.org; Sun, 22 Sep 2013 08:05:11 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r8MC5ACQ004481 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 22 Sep 2013 08:05:10 -0400 From: Fam Zheng Date: Sun, 22 Sep 2013 20:05:05 +0800 Message-Id: <1379851507-17921-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] block: fix backing file overriding List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@redhat.com The backing.file.filename option is not working as expected: if there's also a backing file name from the format driver, adding this option fails bdrv_open; if there's no backing file name info in the image, "info block" doesn't show the overrided file name. A test case is updated to catch these issues. Fam Zheng (2): block: fix backing file overriding qemu-iotests: add test for backing file overriding block.c | 7 +++++-- tests/qemu-iotests/051 | 17 ++++++++++++++++- tests/qemu-iotests/051.out | 11 +++++++++++ 3 files changed, 32 insertions(+), 3 deletions(-) -- 1.8.3.1