migration: drop removed 'compress' capability

This was added by commit b62532e4 ("migration: disable compress")
stating:

> it's already disable by default,
> but we want to be sure if it's change in later release

QEMU never did change the default (verified with QEMU 8.0 and that
would be would've been a breaking change from QEMU's side).

The 'compress' capability was removed in QEMU 9.1, with QEMU commit
0222111a22 ("migration: Remove non-multifd compression").

The function to set migration capabilities already queries which ones
are supported by the currently running QEMU and ignores others, so
there was no error about 'compress'.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Link: https://lore.proxmox.com/20250407073256.8889-3-f.ebner@proxmox.com
This commit is contained in:
Fiona Ebner 2025-04-07 09:32:54 +02:00 committed by Thomas Lamprecht
parent 16d840e8d1
commit 9844ff1e8d

View File

@ -4617,7 +4617,6 @@ sub set_migration_caps {
"xbzrle" => 1, "xbzrle" => 1,
"x-rdma-pin-all" => 0, "x-rdma-pin-all" => 0,
"zero-blocks" => 0, "zero-blocks" => 0,
"compress" => 0,
"dirty-bitmaps" => $dirty_bitmaps, "dirty-bitmaps" => $dirty_bitmaps,
}; };