Received: from eggs.gnu.org ([2001:4830:134:3::10]:60653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFiWW-0006J4-EH for qemu-devel@nongnu.org; Tue, 30 May 2017 10:53:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFiWT-0008Mj-Tc for qemu-devel@nongnu.org; Tue, 30 May 2017 10:53:28 -0400 From: Alberto Garcia In-Reply-To: <20170529190322.xc2e2uh7wp6hlcs6@eukaryote> References: <20170529190322.xc2e2uh7wp6hlcs6@eukaryote> Date: Tue, 30 May 2017 16:53:23 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [RFC] Making 'block-stream', and 'block-commit' accept node-name List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kashyap Chamarthy , qemu-devel@nongnu.org Cc: qemu-block@nongnu.org On Mon 29 May 2017 09:03:22 PM CEST, Kashyap Chamarthy wrote: > Observe the following ('qmp-shell', for brevity) invocation of the > four major types (stream, commit, mirror, backup) of live block > operations: > > (QEMU) block-stream device=node-D base=a.qcow2 job-id=job-block-stream > (QEMU) block-commit device=node-D base=a.qcow2 top=b.qcow2 job-id=job-block-commit > (QEMU) drive-mirror device=node-D target=e.qcow2 sync=full job-id=job-drive-mirror > (QEMU) drive-backup device=node-D sync=full target=e.qcow2 job-id=job-drive-backup > (QEMU) blockdev-backup device=node-B target=node-E sync=full job-id=job-blockdev-backup > (QEMU) blockdev-mirror device=node-D target=node-E sync=full job-id=job-blockdev-mirror > > While we have `blockdev-{mirror, backup}` as 'node-name'-alternatives > for `drive-{mirror, backup}`, as the eagle-eyed will, the > `block-stream` and `block-commit` commands still operate on file names > for parameters 'base' and 'top'. block-stream does accept a node name for the top and base images (see 554b614765090f47d and 312fe09cc8af86c). block-commit hasn't changed, but it should be possible to follow a similar approach. Berto