[pve-devel] applied: [PATCH qemu-server] fix #3861: migrate: fix live migration when cloud-init changes storage
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Apr 28 18:35:58 CEST 2022
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 <f.ebner at proxmox.com>
> ---
> PVE/API2/Qemu.pm | 10 ++++++----
> PVE/QemuMigrate.pm | 19 ++++++++++++++-----
> PVE/QemuServer.pm | 15 +++++++++------
> 3 files changed, 29 insertions(+), 15 deletions(-)
>
>
applied, thanks!
More information about the pve-devel
mailing list