migration: Enable new switchover-ack
Now that VFIO has implemented new switchover-ack, enable it for new machines and keep legacy behavior for old machines. Reviewed-by: Cédric Le Goater <clg@redhat.com> Signed-off-by: Avihai Horon <avihaih@nvidia.com> Link: https://lore.kernel.org/qemu-devel/20260706085211.13905-15-avihaih@nvidia.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Avihai Horon committed
Jul 6, 2026 at 11:52 UTC
13a9616805db933a219b35bd530fe8fc58fc627f
2 files changed
+2
-2
hw/core/machine.c
+1
@@ -48,6 +48,7 @@ GlobalProperty hw_compat_11_0[] = {
48
{ TYPE_ARM_SMMUV3, "ril", "on" },
49
{ TYPE_ARM_SMMUV3, "ssidsize", "0" },
50
{ TYPE_ARM_SMMUV3, "oas", "44" },
51
+ { "migration", "switchover-ack-legacy", "on" },
52
};
53
const size_t hw_compat_11_0_len = G_N_ELEMENTS(hw_compat_11_0);
54
migration/options.c
+1
-2
@@ -110,9 +110,8 @@ const Property migration_properties[] = {
110
preempt_pre_7_2, false),
111
DEFINE_PROP_BOOL("multifd-clean-tls-termination", MigrationState,
112
multifd_clean_tls_termination, true),
113
- /* Use legacy until VFIO implements new switchover-ack */
113
DEFINE_PROP_BOOL("switchover-ack-legacy", MigrationState,
115
- switchover_ack_legacy, true),
114
+ switchover_ack_legacy, false),
115
116
/* Migration parameters */
117
DEFINE_PROP_UINT8("x-throttle-trigger-threshold", MigrationState,