]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qcow2GetFeatures: Extract population of features bitmap
authorPeter Krempa <pkrempa@redhat.com>
Fri, 17 Dec 2021 09:09:14 +0000 (10:09 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 21 Dec 2021 12:23:09 +0000 (13:23 +0100)
commitfe330b58c4741e66b50e56db9d8e5b9206b76e93
treeb78f245fea68e748facaddb0398b54723cb91058
parent66566e84b86ec128c61554c59c8af8e1334c2520
qcow2GetFeatures: Extract population of features bitmap

Prepare for extraction of features from the 'incompatible features'
group.

This is done by moving the extraction loop into a new function called
qcow2GetFeaturesProcessGroup. The new function also allows to ingore
features we don't care about by passing VIR_STORAGE_FILE_FEATURE_LAST as
the target flag.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/storage_file/storage_file_probe.c