Message ID | 20250221063612.695909-7-lizhijian@fujitsu.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | migration/rdma: fixes, refactor and cleanup | expand |
diff --git a/migration/migration.c b/migration/migration.c index 2eacae25e0e..d414a4b1379 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -251,6 +251,10 @@ migration_capabilities_and_transport_compatible(MigrationAddress *addr, error_setg(errp, "RDMA and multifd can't be used together"); return false; } + if (migrate_postcopy_ram()) { + error_setg(errp, "RDMA and postcopy-ram can't be used together"); + return false; + } } return true;
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. Signed-off-by: Li Zhijian <lizhijian@fujitsu.com> --- migration/migration.c | 4 ++++ 1 file changed, 4 insertions(+)