]> git.proxmox.com Git - qemu-server.git/commit
parse_config: optional strict mode
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 9 Feb 2022 13:07:39 +0000 (14:07 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 9 Feb 2022 17:47:56 +0000 (18:47 +0100)
commitad5812d8fb304f1025c32f3d3e56b0c402a5e66c
treed05eb6b2073a16b06f5f289326fae5068d6d6940
parentdbdcc5cde08d446a4f7226836d0f0742f6d762df
parse_config: optional strict mode

when passing a config from one cluster to another, we want to be strict
when parsing - it's better to fail the migration early and upgrade the
target node instead of failing the migration later (when significant
work for transferring disks and/or state has already been done) or not
at all, but silently lose config settings that the target doesn't
understand.

this also might be helpful in other cases - e.g. when restoring from a
backup.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/QemuServer.pm