diff options
author | Chunyan Liu <cyliu@suse.com> | 2014-07-30 10:55:06 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-08-15 15:07:14 +0200 |
commit | 000c4dfff4d7686e2fba3066a477a1290ed60622 (patch) | |
tree | 43834bc051157a10c42d55ac31263c633a829c23 /qapi | |
parent | c6ac36e14569794b3f3e66f796dea19bc0f0b8d3 (diff) | |
download | qemu-000c4dfff4d7686e2fba3066a477a1290ed60622.tar.gz qemu-000c4dfff4d7686e2fba3066a477a1290ed60622.tar.bz2 qemu-000c4dfff4d7686e2fba3066a477a1290ed60622.zip |
qemu-img info: show nocow info
Add nocow info in 'qemu-img info' output to show whether the file
currently has NOCOW flag set or not.
Signed-off-by: Chunyan Liu <cyliu@suse.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/block-core.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index e378653a77..72b4015fb4 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -115,6 +115,8 @@ # @format-specific: #optional structure supplying additional format-specific # information (since 1.7) # +# @nocow: #optional info of whether NOCOW flag is set or not. (since 2.2) +# # Since: 1.3 # ## @@ -126,7 +128,8 @@ '*backing-filename': 'str', '*full-backing-filename': 'str', '*backing-filename-format': 'str', '*snapshots': ['SnapshotInfo'], '*backing-image': 'ImageInfo', - '*format-specific': 'ImageInfoSpecific' } } + '*format-specific': 'ImageInfoSpecific', + '*nocow': 'bool' } } ## # @ImageCheck: |