[pve-devel] [PATCH v4 qemu-server 3/6] cloudinit: make cloudnit options fastplug
Fabian Ebner
f.ebner at proxmox.com
Fri May 6 12:20:42 CEST 2022
Am 27.04.22 um 16:05 schrieb Alexandre Derumier:
> ---
> PVE/QemuServer.pm | 31 +++++--------------------------
> 1 file changed, 5 insertions(+), 26 deletions(-)
>
> diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
> index 53be830..998f7c8 100644
> --- a/PVE/QemuServer.pm
> +++ b/PVE/QemuServer.pm
> @@ -4837,6 +4837,10 @@ sub vmconfig_hotplug_pending {
> $errors->{$opt} = "hotplug problem - $msg";
> };
>
> + for my $opt (keys %$confdesc_cloudinit) {
> + $fast_plug_option->{$opt} = 1;
> + }
> +
This should be done outside the function, so that it happens only once
during module load.
More information about the pve-devel
mailing list