Blame SOURCES/kvm-qapi-schema-Use-BlockdevSnapshot-type-for-blockdev-s.patch

218e99
From 230096f8fe835dc7814028643bb6feaa08bda5c5 Mon Sep 17 00:00:00 2001
218e99
From: Kevin Wolf <kwolf@redhat.com>
218e99
Date: Mon, 9 Sep 2013 14:28:06 +0200
218e99
Subject: [PATCH 15/38] qapi-schema: Use BlockdevSnapshot type for blockdev-snapshot-sync
218e99
218e99
RH-Author: Kevin Wolf <kwolf@redhat.com>
218e99
Message-id: <1378736903-18489-16-git-send-email-kwolf@redhat.com>
218e99
Patchwork-id: 54202
218e99
O-Subject: [RHEL-7.0 qemu-kvm PATCH 15/32] qapi-schema: Use BlockdevSnapshot type for blockdev-snapshot-sync
218e99
Bugzilla: 1005818
218e99
RH-Acked-by: Fam Zheng <famz@redhat.com>
218e99
RH-Acked-by: Max Reitz <mreitz@redhat.com>
218e99
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
218e99
218e99
Bugzilla: 1005818
218e99
218e99
We don't have to duplicate the definition any more now that we may refer
218e99
to a type instead.
218e99
218e99
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
218e99
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
218e99
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
218e99
(cherry picked from commit 852ad1a900a4ae23514e1a53c86632543592c31b)
218e99
218e99
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
218e99
---
218e99
 qapi-schema.json | 14 ++------------
218e99
 1 file changed, 2 insertions(+), 12 deletions(-)
218e99
218e99
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
218e99
---
218e99
 qapi-schema.json |   14 ++------------
218e99
 1 files changed, 2 insertions(+), 12 deletions(-)
218e99
218e99
diff --git a/qapi-schema.json b/qapi-schema.json
218e99
index 8dca641..3936337 100644
218e99
--- a/qapi-schema.json
218e99
+++ b/qapi-schema.json
218e99
@@ -1650,16 +1650,7 @@
218e99
 #
218e99
 # Generates a synchronous snapshot of a block device.
218e99
 #
218e99
-# @device:  the name of the device to generate the snapshot from.
218e99
-#
218e99
-# @snapshot-file: the target of the new image. If the file exists, or if it
218e99
-#                 is a device, the snapshot will be created in the existing
218e99
-#                 file/device. If does not exist, a new file will be created.
218e99
-#
218e99
-# @format: #optional the format of the snapshot image, default is 'qcow2'.
218e99
-#
218e99
-# @mode: #optional whether and how QEMU should create a new image, default is
218e99
-#        'absolute-paths'.
218e99
+# For the arguments, see the documentation of BlockdevSnapshot.
218e99
 #
218e99
 # Returns: nothing on success
218e99
 #          If @device is not a valid block device, DeviceNotFound
218e99
@@ -1667,8 +1658,7 @@
218e99
 # Since 0.14.0
218e99
 ##
218e99
 { 'command': 'blockdev-snapshot-sync',
218e99
-  'data': { 'device': 'str', 'snapshot-file': 'str', '*format': 'str',
218e99
-            '*mode': 'NewImageMode'} }
218e99
+  'data': 'BlockdevSnapshot' }
218e99
 
218e99
 ##
218e99
 # @human-monitor-command:
218e99
-- 
218e99
1.7.1
218e99