From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOtTY-0001bF-Ko for qemu-devel@nongnu.org; Tue, 02 Sep 2014 15:10:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOtTR-0006XM-6I for qemu-devel@nongnu.org; Tue, 02 Sep 2014 15:10:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOtTQ-0006X9-Ks for qemu-devel@nongnu.org; Tue, 02 Sep 2014 15:10:36 -0400 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 s82JAZAX023170 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 2 Sep 2014 15:10:36 -0400 Message-ID: <54061624.7090907@redhat.com> Date: Tue, 02 Sep 2014 21:10:28 +0200 From: Max Reitz MIME-Version: 1.0 References: <1409652063-32336-1-git-send-email-stefanha@redhat.com> <1409652063-32336-3-git-send-email-stefanha@redhat.com> In-Reply-To: <1409652063-32336-3-git-send-email-stefanha@redhat.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 2/2] qemu-img: fix rebase src_cache option documentation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , qemu-devel@nongnu.org Cc: Kevin Wolf , jenelson@redhat.com, Fam Zheng On 02.09.2014 12:01, Stefan Hajnoczi wrote: > The src_cache option (-T) specifies the cache mode for backing files. > It applies both the image's old backing file as well as the new backing > file: > > ret = bdrv_open(&bs_old_backing, backing_name, NULL, NULL, src_flags, > old_backing_drv, &local_err); > if (ret) { > ... > } > if (out_baseimg[0]) { > bs_new_backing = bdrv_new("new_backing", &error_abort); > ret = bdrv_open(&bs_new_backing, out_baseimg, NULL, NULL, src_flags, > new_backing_drv, &local_err); > if (ret) { > ... > } > } > > The documentation only mentions the new backing file but it really > applies to both. > > Suggested-by: Jeff Nelson > Signed-off-by: Stefan Hajnoczi > --- > qemu-img.texi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Max Reitz