qemu-server/PVE
Fiona Ebner a52f3dd3b0 fix #6007: template backup: use minimized configuration for handling the full vm start
Previously, the template's configuration was used as-is for the rest
of handling the VM start even if config_to_command() uses a minimized
configuration to build the command. This can lead to issues with a
network device with the 'link_down' flag set, because the network
device will not be present, but the start handling will still issue a
QMP command for it, leading to a failed backup operation.

Use the minimized configuration for the whole start-up handling to
avoid such issues.

Use the special QemuConfig::NoWrite class to safeguard against
accidentally writing out the temporarily modified config.

Suggested-by: Fabian Grünbichler <f.gruenbichler@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 fix #6007: template backup: use minimized configuration for handling the full vm start 2025-02-18 15:06:04 +01:00
QMPClient.pm tree-wide: fix various typos in comments 2024-12-05 12:33:24 +01:00