Message ID | 20250226010238.727348-4-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;