diff options
author | Kevin Wolf <kwolf@redhat.com> | 2019-02-22 14:29:38 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-03-08 12:26:46 +0100 |
commit | 6c3944dc6219cefef6a968cf300d227fe3f92388 (patch) | |
tree | a29c719a0dd5e302ee767a839512cd388d940f93 /include/block/block_int.h | |
parent | 9b890bdcb6ec11868da92c1daeb51c69d9483da8 (diff) | |
download | qemu-6c3944dc6219cefef6a968cf300d227fe3f92388.zip qemu-6c3944dc6219cefef6a968cf300d227fe3f92388.tar.gz qemu-6c3944dc6219cefef6a968cf300d227fe3f92388.tar.bz2 |
qcow2: Implement data-file-raw create option
Provide an option to force QEMU to always keep the external data file
consistent as a standalone read-only raw image.
At the moment, this means making sure that write_zeroes requests are
forwarded to the data file instead of just updating the metadata, and
checking that no backing file is used.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block/block_int.h')
-rw-r--r-- | include/block/block_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h index acd29ce..a23caba 100644 --- a/include/block/block_int.h +++ b/include/block/block_int.h @@ -57,6 +57,7 @@ #define BLOCK_OPT_OBJECT_SIZE "object_size" #define BLOCK_OPT_REFCOUNT_BITS "refcount_bits" #define BLOCK_OPT_DATA_FILE "data_file" +#define BLOCK_OPT_DATA_FILE_RAW "data_file_raw" #define BLOCK_PROBE_BUF_SIZE 512 |