mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
qcow2: Add basic data-file infrastructure
This adds a .bdrv_open option to specify the external data file node. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
e9f5b6deaa
commit
0e8c08be27
3 changed files with 41 additions and 4 deletions
|
@ -3080,6 +3080,10 @@
|
|||
# encrypted images, except when doing a metadata-only
|
||||
# probe of the image. (since 2.10)
|
||||
#
|
||||
# @data-file: reference to or definition of the external data file.
|
||||
# This may only be specified for images that require an
|
||||
# external data file. (since 4.0)
|
||||
#
|
||||
# Since: 2.9
|
||||
##
|
||||
{ 'struct': 'BlockdevOptionsQcow2',
|
||||
|
@ -3094,7 +3098,8 @@
|
|||
'*l2-cache-entry-size': 'int',
|
||||
'*refcount-cache-size': 'int',
|
||||
'*cache-clean-interval': 'int',
|
||||
'*encrypt': 'BlockdevQcow2Encryption' } }
|
||||
'*encrypt': 'BlockdevQcow2Encryption',
|
||||
'*data-file': 'BlockdevRef' } }
|
||||
|
||||
##
|
||||
# @SshHostKeyCheckMode:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue