qemu-server/PVE
Fiona Ebner 1afbefb2d0 config: add special class that prevents writing the configuration
To be used in the context of template backup, where a minimized
temporary configuration is created to start the VM in 'prelaunch'
mode. Issue a warning, so that code paths where this happens will be
noted and can be evaluated and adapted.

Since the code currently doesn't use blessed config objects, special
dispatching is needed to potentially defer to the new child class in
the write_config() method.

Suggested-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Suggested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2025-02-18 15:06:04 +01: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
QemuConfig config: add special class that prevents writing the configuration 2025-02-18 15:06:04 +01:00
QemuServer qmp helpers: device add/del: use HMP interface 2025-02-04 17:07:19 +01:00
VZDump backup: also restore VM power state for early failures 2025-02-18 15:06:04 +01:00
Makefile config: add special class that prevents writing the configuration 2025-02-18 15:06:04 +01:00
QemuConfig.pm config: add special class that prevents writing the configuration 2025-02-18 15:06:04 +01:00
QemuMigrate.pm migration: remote phase one: use volume format from storage layer 2024-12-09 09:07:17 +01:00
QemuServer.pm resume: error out if VM is a template 2025-02-18 15:03:25 +01:00
QMPClient.pm tree-wide: fix various typos in comments 2024-12-05 12:33:24 +01:00