mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
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>
This commit is contained in:
parent
c6ac36e145
commit
000c4dfff4
2 changed files with 30 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue