From: Li Zhijian Date: Wed, 5 Mar 2025 06:28:22 +0000 (+0800) Subject: migration: disable RDMA + postcopy-ram X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=103fa641953bfadfe88fbe5f16c0afc9f1e508db;p=thirdparty%2Fqemu.git migration: disable RDMA + postcopy-ram It's believed that RDMA + postcopy-ram has been broken for a while. Rather than spending time re-enabling it, let's simply disable it as a trade-off. Reviewed-by: Peter Xu Signed-off-by: Li Zhijian Message-ID: <20250305062825.772629-4-lizhijian@fujitsu.com> Signed-off-by: Fabiano Rosas --- diff --git a/migration/options.c b/migration/options.c index 1f3602839d..4ba8fcb7dc 100644 --- a/migration/options.c +++ b/migration/options.c @@ -458,6 +458,10 @@ bool migrate_rdma_caps_check(bool *caps, Error **errp) error_setg(errp, "RDMA and multifd can't be used together"); return false; } + if (caps[MIGRATION_CAPABILITY_POSTCOPY_RAM]) { + error_setg(errp, "RDMA and postcopy-ram can't be used together"); + return false; + } return true; }