mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
qcow2: Creating images with external data file
This adds a .bdrv_create option to use an external data file. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
0e8c08be27
commit
dcc98687f8
3 changed files with 31 additions and 0 deletions
|
@ -4135,6 +4135,9 @@
|
|||
# Driver specific image creation options for qcow2.
|
||||
#
|
||||
# @file Node to create the image format on
|
||||
# @data-file Node to use as an external data file in which all guest
|
||||
# data is stored so that only metadata remains in the qcow2
|
||||
# file (since: 4.0)
|
||||
# @size Size of the virtual disk in bytes
|
||||
# @version Compatibility level (default: v3)
|
||||
# @backing-file File name of the backing file if a backing file
|
||||
|
@ -4150,6 +4153,7 @@
|
|||
##
|
||||
{ 'struct': 'BlockdevCreateOptionsQcow2',
|
||||
'data': { 'file': 'BlockdevRef',
|
||||
'*data-file': 'BlockdevRef',
|
||||
'size': 'size',
|
||||
'*version': 'BlockdevQcow2Version',
|
||||
'*backing-file': 'str',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue