Received: from eggs.gnu.org ([2001:4830:134:3::10]:55509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axaPH-00006T-40 for qemu-devel@nongnu.org; Tue, 03 May 2016 09:30:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axaP4-0004SI-JT for qemu-devel@nongnu.org; Tue, 03 May 2016 09:30:25 -0400 From: Alberto Garcia In-Reply-To: <20160503131839.GD3917@noname.str.redhat.com> References: <20160429151107.GL4350@noname.redhat.com> <20160503131839.GD3917@noname.str.redhat.com> Date: Tue, 03 May 2016 15:29:25 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v9 07/11] block: Add QMP support for streaming to an intermediate layer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org, Max Reitz , Eric Blake , Stefan Hajnoczi On Tue 03 May 2016 03:18:39 PM CEST, Kevin Wolf wrote: >> > On the other hand, this code assumes that there is only a single >> > top-level node. This isn't necessarily true any more these days. >> >> Hmm... if you give me an example I can test that scenario. > > Simply reference the same node twice: > > $ x86_64-softmmu/qemu-system-x86_64 \ > -drive if=none,file=/tmp/backing.qcow2,id=backing \ > -drive file=/tmp/test.qcow2,backing=backing,id=hda \ > -drive file=/tmp/test2.qcow2,backing=backing,id=hdb You're right, but maybe we need to add additional checks to some of the existing commands then, because if you run e.g block-commit on hda you're gonna corrupt hdb. Berto