On 28.04.22 13:37, Fabian Ebner wrote:
> Generalizes fd95d780 ("migrate: send updated TPM state volid to target
> node") to also handle other offline migrated disks appearing in the
> VM config, which currently should only be cloud-init.
> 
> Breaks migration new -> old under similar (edge-case-)conditions as
> fd95d780 did.
> 
> Keep sending the 'tpmstate0' STDIN parameter to avoid breaking new ->
> old in the scenario fd95d780 fixed.
> 
> Keep parsing the vm_start 'tpmstate0' STDIN parameter to avoid
> breaking old -> new, and to be able to keep sending it.
> 
> Signed-off-by: Fabian Ebner <[email protected]>
> ---
>  PVE/API2/Qemu.pm   | 10 ++++++----
>  PVE/QemuMigrate.pm | 19 ++++++++++++++-----
>  PVE/QemuServer.pm  | 15 +++++++++------
>  3 files changed, 29 insertions(+), 15 deletions(-)
> 
>

applied, thanks!


_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to