From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0fNW-0005R6-VD for qemu-devel@nongnu.org; Thu, 04 Jun 2015 20:20:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0fNV-0007TR-LO for qemu-devel@nongnu.org; Thu, 04 Jun 2015 20:20:54 -0400 From: John Snow Date: Thu, 4 Jun 2015 20:20:37 -0400 Message-Id: <1433463642-21840-5-git-send-email-jsnow@redhat.com> In-Reply-To: <1433463642-21840-1-git-send-email-jsnow@redhat.com> References: <1433463642-21840-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [PATCH 4/9] qapi: add Copy data type for bitmaps List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, John Snow , jcody@redhat.com, qemu-devel@nongnu.org We need both a "source" and a "destination" bitmap name, so a new type is needed to share with the transactional system in a later patch. Signed-off-by: John Snow --- qapi/block-core.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/qapi/block-core.json b/qapi/block-core.json index 0061713..6bed205 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -1000,6 +1000,20 @@ 'data': { 'node': 'str', 'name': 'str' } } ## +# @BlockDirtyBitmapCopy +# +# @node: name of device/node which the bitmap is tracking +# +# @source: name of the dirty bitmap to be copied from +# +# @dest: name of the new dirty bitmap to create +# +# Since 2.4 +## +{ 'struct': 'BlockDirtyBitmapCopy', + 'data': { 'node': 'str', 'source': 'str', 'dest': 'str' } } + +## # @BlockDirtyBitmapAdd # # @node: name of device/node which the bitmap is tracking -- 2.1.0