mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:56:38 +00:00
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>
This commit is contained in:
committed by
Cédric Le Goater
parent
941f269923
commit
13a9616805
@@ -48,6 +48,7 @@ GlobalProperty hw_compat_11_0[] = {
|
||||
{ TYPE_ARM_SMMUV3, "ril", "on" },
|
||||
{ TYPE_ARM_SMMUV3, "ssidsize", "0" },
|
||||
{ TYPE_ARM_SMMUV3, "oas", "44" },
|
||||
{ "migration", "switchover-ack-legacy", "on" },
|
||||
};
|
||||
const size_t hw_compat_11_0_len = G_N_ELEMENTS(hw_compat_11_0);
|
||||
|
||||
|
||||
@@ -110,9 +110,8 @@ const Property migration_properties[] = {
|
||||
preempt_pre_7_2, false),
|
||||
DEFINE_PROP_BOOL("multifd-clean-tls-termination", MigrationState,
|
||||
multifd_clean_tls_termination, true),
|
||||
/* Use legacy until VFIO implements new switchover-ack */
|
||||
DEFINE_PROP_BOOL("switchover-ack-legacy", MigrationState,
|
||||
switchover_ack_legacy, true),
|
||||
switchover_ack_legacy, false),
|
||||
|
||||
/* Migration parameters */
|
||||
DEFINE_PROP_UINT8("x-throttle-trigger-threshold", MigrationState,
|
||||
|
||||
Reference in New Issue
Block a user