qemu-server/PVE/QemuServer
Fiona Ebner cba6466361 drive: add helpers for additional checks for storage layer info about volume
First step towards using the storage layer format instead of the
extension based format from qemu_img_format() as a source of truth
everywhere. Currently, some callers use qemu_img_format() and some
use parse_volname().

For import, special handling is needed, because the format can be a
combined ova+$extracted_format.

There is a fallback for 'raw' format when no format is returned by the
storage layer for backwards compatibility, e.g. ISOs. Formats that are
not part of the $QEMU_FORMAT_RE are not allowed.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2024-12-09 08:55:25 +01:00
..
Agent.pm tree wide cleanup of s/return undef/return/ 2020-10-16 16:20:05 +02:00
CGroup.pm fix #5528: override cgroup methods to call systemd via dbus 2024-07-23 08:05:53 +02:00
Cloudinit.pm tree-wide: fix various typos in comments 2024-12-05 12:33:24 +01:00
CPUConfig.pm config: add AMD SEV support 2024-11-18 21:26:39 +01:00
Drive.pm drive: add helpers for additional checks for storage layer info about volume 2024-12-09 08:55:25 +01:00
Helpers.pm fix #3588: helper: consider NIC count for config-specific timeout 2024-12-05 12:10:14 +01:00
ImportDisk.pm disk import: warn when fallback is used instead of requested format 2024-03-14 14:01:12 +01:00
Machine.pm tree-wide: fix various typos in comments 2024-12-05 12:33:24 +01:00
Makefile use OVF from Storage 2024-11-18 18:55:54 +01:00
Memory.pm tree-wide: fix various typos in comments 2024-12-05 12:33:24 +01:00
Monitor.pm monitor: allow passing timeout for a HMP command 2024-06-11 13:56:44 +02:00
PCI.pm tree-wide: fix various typos in comments 2024-12-05 12:33:24 +01:00
QMPHelpers.pm tree-wide: fix various typos in comments 2024-12-05 12:33:24 +01:00
USB.pm fix typos in user-visible strings 2024-10-24 13:15:06 +02:00