From dcc98687f82b8a8d58d0eb7bc15c95d28f35708f Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Mon, 14 Jan 2019 16:57:27 +0100 Subject: qcow2: Creating images with external data file This adds a .bdrv_create option to use an external data file. Signed-off-by: Kevin Wolf --- qapi/block-core.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qapi/block-core.json') diff --git a/qapi/block-core.json b/qapi/block-core.json index de4d4fd0e4..2303266bc4 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -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', -- cgit v1.2.3