diff options
| author | Li Zhijian <lizhijian@fujitsu.com> | 2025-03-05 14:28:22 +0800 |
|---|---|---|
| committer | Peter Xu <peterx@redhat.com> | 2025-05-02 11:09:36 -0400 |
| commit | 103fa641953bfadfe88fbe5f16c0afc9f1e508db (patch) | |
| tree | 43b2fe0a249e2155ead1de9c91118c35ed8e694a | |
| parent | 57be554c2984de3261d1e5d446d797d8e5b2c997 (diff) | |
| download | focaccia-qemu-103fa641953bfadfe88fbe5f16c0afc9f1e508db.tar.gz focaccia-qemu-103fa641953bfadfe88fbe5f16c0afc9f1e508db.zip | |
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 <peterx@redhat.com> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com> Message-ID: <20250305062825.772629-4-lizhijian@fujitsu.com> Signed-off-by: Fabiano Rosas <farosas@suse.de>
| -rw-r--r-- | migration/options.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |