From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOo2C-0001oy-4I for qemu-devel@nongnu.org; Fri, 20 Feb 2015 08:54:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOo28-0005aZ-Mk for qemu-devel@nongnu.org; Fri, 20 Feb 2015 08:54:23 -0500 Received: from smtp3.mundo-r.com ([212.51.32.191]:56145 helo=smtp4.mundo-r.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOo28-0005Zn-FJ for qemu-devel@nongnu.org; Fri, 20 Feb 2015 08:54:20 -0500 From: Alberto Garcia Date: Fri, 20 Feb 2015 15:53:16 +0200 Message-Id: Subject: [Qemu-devel] [PATCH 0/3] Support streaming to an intermediate layer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Alberto Garcia , Stefan Hajnoczi Hello, I added support to the Block Stream API for streaming to an intermediate layer. I followed the proposed API from the wiki, which simply adds an additional 'top' parameter to block-stream specifying the image that data is written to: http://wiki.qemu.org/Features/Snapshots#Streaming_to_an_Intermediate_Layer_.5Bproposal.5D I split the work in three patches, I think the code is pretty straightforward and doesn't need much explanation, but feedback and questions are welcome. Regards, Berto Alberto Garcia (3): block: Support streaming to an intermediate layer block: Add QMP support for streaming to an intermediate layer docs: Document how to stream to an intermediate layer block.c | 4 +++- block/stream.c | 49 ++++++++++++++++++++++++++++++++++++----------- blockdev.c | 19 ++++++++++++++---- docs/live-block-ops.txt | 28 ++++++++++++++++++--------- hmp.c | 2 +- include/block/block_int.h | 19 +++++++++--------- include/qapi/qmp/qerror.h | 3 +++ qapi/block-core.json | 18 +++++++++++++---- qmp-commands.hx | 2 +- 9 files changed, 104 insertions(+), 40 deletions(-) -- 2.1.4