Signed-off-by: Benoit Canet <ben...@irqsave.net> --- 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