qemu-server/PVE
Fiona Ebner df6d255b0f parse config: be precise about section type checks
There are checks for custom parsing behavior inside certain sections
relying only on the section name. While the name 'pending' cannot be
used by snapshots, the name 'cloudinit' can. Introduce an associated
section type to make the checks precise.

The test was not added in a separate commit, because it would fail
when writing the config before the fix, and failure in writing is
never expected by the test script. So there is no easy way to
highlight just the difference in behavior together with the fix and
the git history should stay bisectable.

Compare with the verify-snapshot.conf testcase without the actual fix
applied to see the difference.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Link: https://lore.proxmox.com/20250127112923.31703-5-f.ebner@proxmox.com
2025-04-07 14:13:01 +02:00
..
API2 api: fix ova live import by using correct format for source image 2025-01-20 18:49:41 +01:00
CLI fix #5980: importdisk: fix spurious warning 2024-12-09 19:46:03 +01:00
QemuServer drive: commandline info: re-use drive_id variable in error message 2025-01-20 11:20:55 +01:00
VZDump backup: prepare: use volume format from storage layer 2024-12-09 09:07:17 +01:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm migration: add check_non_migratable_resources function 2024-11-18 21:26:39 +01:00
QemuMigrate.pm migration: remove unused variable 2025-04-07 14:13:01 +02:00
QemuServer.pm parse config: be precise about section type checks 2025-04-07 14:13:01 +02:00
QMPClient.pm tree-wide: fix various typos in comments 2024-12-05 12:33:24 +01:00