qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v1 07/72] qapi: Extract SnapshotInfo definition into


From: Benoît Canet
Subject: [Qemu-devel] [PATCH v1 07/72] qapi: Extract SnapshotInfo definition into qapi/block-core.json
Date: Sat, 31 May 2014 13:50:46 +0200

Signed-off-by: Benoit Canet <address@hidden>
---
 qapi-schema.json     | 26 --------------------------
 qapi/block-core.json | 25 +++++++++++++++++++++++++
 2 files changed, 25 insertions(+), 26 deletions(-)

diff --git a/qapi-schema.json b/qapi-schema.json
index 1ed5926..50cb25a 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -184,32 +184,6 @@
             'guest-panicked' ] }
 
 ##
-# @SnapshotInfo
-#
-# @id: unique snapshot id
-#
-# @name: user chosen name
-#
-# @vm-state-size: size of the VM state
-#
-# @date-sec: UTC date of the snapshot in seconds
-#
-# @date-nsec: fractional part in nano seconds to be used with date-sec
-#
-# @vm-clock-sec: VM clock relative to boot in seconds
-#
-# @vm-clock-nsec: fractional part in nano seconds to be used with vm-clock-sec
-#
-# Since: 1.3
-#
-##
-
-{ 'type': 'SnapshotInfo',
-  'data': { 'id': 'str', 'name': 'str', 'vm-state-size': 'int',
-            'date-sec': 'int', 'date-nsec': 'int',
-            'vm-clock-sec': 'int', 'vm-clock-nsec': 'int' } }
-
-##
 # @ImageInfoSpecificQCow2:
 #
 # @compat: compatibility level
diff --git a/qapi/block-core.json b/qapi/block-core.json
index fa48e63..f4948a4 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -5,4 +5,29 @@
 # QAPI common definitions
 { 'include': 'common.json' }
 
+##
+# @SnapshotInfo
+#
+# @id: unique snapshot id
+#
+# @name: user chosen name
+#
+# @vm-state-size: size of the VM state
+#
+# @date-sec: UTC date of the snapshot in seconds
+#
+# @date-nsec: fractional part in nano seconds to be used with date-sec
+#
+# @vm-clock-sec: VM clock relative to boot in seconds
+#
+# @vm-clock-nsec: fractional part in nano seconds to be used with vm-clock-sec
+#
+# Since: 1.3
+#
+##
+
+{ 'type': 'SnapshotInfo',
+  'data': { 'id': 'str', 'name': 'str', 'vm-state-size': 'int',
+            'date-sec': 'int', 'date-nsec': 'int',
+            'vm-clock-sec': 'int', 'vm-clock-nsec': 'int' } }
 
-- 
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]