diff options
author | Kevin Wolf <kwolf@redhat.com> | 2019-01-29 17:13:57 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-03-08 12:26:46 +0100 |
commit | 0e8c08be276637a7339a05a4646b6eb8428ee802 (patch) | |
tree | b6ff1569405f5902c9f0b49627548b6ffdf76355 /qapi | |
parent | e9f5b6deaa865e5265327de42b77553840c94880 (diff) | |
download | qemu-0e8c08be276637a7339a05a4646b6eb8428ee802.zip qemu-0e8c08be276637a7339a05a4646b6eb8428ee802.tar.gz qemu-0e8c08be276637a7339a05a4646b6eb8428ee802.tar.bz2 |
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>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/block-core.json | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index 2b8afbb..de4d4fd 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -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: |