diff options
author | Lukas Straub <lukasstraub2@web.de> | 2023-04-20 11:59:50 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-05-08 15:25:27 +0200 |
commit | c323518a7aab1c01740a468671b7f2b517d3bca6 (patch) | |
tree | f93c43185100bb7042fe6bc0dd15f9cbfbc87fef /migration/ram.c | |
parent | 52623f23b0d114837a0d6278180b3e3ae8947117 (diff) |
migration: Initialize and cleanup decompression in migration.c
This fixes compress with colo.
Signed-off-by: Lukas Straub <lukasstraub2@web.de>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/ram.c')
-rw-r--r-- | migration/ram.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/migration/ram.c b/migration/ram.c index ee4ab31f25..f78e9912cd 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -3558,10 +3558,6 @@ void colo_release_ram_cache(void) */ static int ram_load_setup(QEMUFile *f, void *opaque) { - if (compress_threads_load_setup(f)) { - return -1; - } - xbzrle_load_setup(); ramblock_recv_map_init(); @@ -3577,7 +3573,6 @@ static int ram_load_cleanup(void *opaque) } xbzrle_load_cleanup(); - compress_threads_load_cleanup(); RAMBLOCK_FOREACH_NOT_IGNORED(rb) { g_free(rb->receivedmap); |