X-Git-Url: https://git.proxmox.com/?p=pve-qemu.git;a=blobdiff_plain;f=debian%2Fpatches%2Fpve%2F0049-PVE-savevm-async-register-yank-before-migration_inco.patch;fp=debian%2Fpatches%2Fpve%2F0049-PVE-savevm-async-register-yank-before-migration_inco.patch;h=0000000000000000000000000000000000000000;hp=a9413ab38f67c8c9351d6eebbb70eeaf607fd7c4;hb=5b15e2ecaf054107200a49c7d2509053fb91c9fe;hpb=2775b2e3788bfed64345046ce6a669bcdf28eb43 diff --git a/debian/patches/pve/0049-PVE-savevm-async-register-yank-before-migration_inco.patch b/debian/patches/pve/0049-PVE-savevm-async-register-yank-before-migration_inco.patch deleted file mode 100644 index a9413ab..0000000 --- a/debian/patches/pve/0049-PVE-savevm-async-register-yank-before-migration_inco.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Stefan Reiter -Date: Wed, 26 May 2021 17:36:55 +0200 -Subject: [PATCH] PVE: savevm-async: register yank before - migration_incoming_state_destroy - -Signed-off-by: Stefan Reiter -Signed-off-by: Thomas Lamprecht ---- - migration/savevm-async.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/migration/savevm-async.c b/migration/savevm-async.c -index 0bc5799cf8..10ebefef06 100644 ---- a/migration/savevm-async.c -+++ b/migration/savevm-async.c -@@ -19,6 +19,7 @@ - #include "qemu/timer.h" - #include "qemu/main-loop.h" - #include "qemu/rcu.h" -+#include "qemu/yank.h" - - /* #define DEBUG_SAVEVM_STATE */ - -@@ -586,6 +587,10 @@ int load_snapshot_from_blockdev(const char *filename, Error **errp) - dirty_bitmap_mig_before_vm_start(); - - qemu_fclose(f); -+ -+ /* state_destroy assumes a real migration which would have added a yank */ -+ yank_register_instance(MIGRATION_YANK_INSTANCE, &error_abort); -+ - migration_incoming_state_destroy(); - if (ret < 0) { - error_setg_errno(errp, -ret, "Error while loading VM state");