e9e24973fd72b7e23fa2c161f6047ef5faac1bcd
The LVM plugin can only use qcow2 format when the 'snapshot-as-volume-chain' configuration option is set. The format information is currently only recorded statically in the plugin data. This causes issues, for example, restoring a guest volume that uses qcow2 as a format hint on an LVM storage without the option set will fail, because the plugin data indicates that qcow2 is supported. Introduce a dedicated method, so that plugins can indicate what actually is supported according to the storage configuration. The implementation for LVM is done in a separate commit. Remove the now unused default_format() function from Plugin.pm. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> [WB: docs: add missing params, drop =pod line, use !! for bools] Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Description
with PMEM support!
Languages
Perl
99.3%
Makefile
0.6%