From 5ad15e8614b0877225af42aa28a7195ed2fb74e4 Mon Sep 17 00:00:00 2001 From: Li Zhijian Date: Thu, 9 Sep 2021 09:30:52 +0200 Subject: migration: allow enabling mutilfd for specific protocol only To: , , CC: Li Zhijian Date: Sat, 31 Jul 2021 22:05:52 +0800 (5 weeks, 4 days, 17 hours ago) And change the default to true so that in '-incoming defer' case, user is able to change multifd capability. Signed-off-by: Li Zhijian Reviewed-by: Juan Quintela Signed-off-by: Juan Quintela --- migration/multifd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'migration/multifd.c') diff --git a/migration/multifd.c b/migration/multifd.c index 283f672..7c9deb1 100644 --- a/migration/multifd.c +++ b/migration/multifd.c @@ -868,7 +868,7 @@ cleanup: multifd_new_send_channel_cleanup(p, sioc, local_err); } -static bool migrate_allow_multifd; +static bool migrate_allow_multifd = true; void migrate_protocol_allow_multifd(bool allow) { migrate_allow_multifd = allow; -- cgit v1.1