]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBlockGetNamedNodeData: Extract 'data_file_raw' flag
authorPeter Krempa <pkrempa@redhat.com>
Mon, 8 Sep 2025 16:09:57 +0000 (18:09 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 23 Sep 2025 16:57:00 +0000 (18:57 +0200)
commit6e5a3334b2eb4e27dd1172669e875764cf82003d
treef0d5efa767616cef4531be6d66b171327f49a713
parentf8201b0032b1d53f4839cf58f3e113ae1bb3fbce
qemuBlockGetNamedNodeData: Extract 'data_file_raw' flag

The 'data_file_raw' flag of qcow2 notifies that all data inside the
'data_file' is a raw image so can be used standalone without the
metadata without any problem (except for not updating the dirty
bitmaps).

Our migration safety checks will allow skipping the migration safety
check for these files as during migration we know it's safe to re-create
this on the destination in a location that isn't shared.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
tests/qemublocktest.c
tests/qemublocktestdata/bitmap/synthetic.json
tests/qemublocktestdata/bitmap/synthetic.out