On 04.06.24 14:14, Gonglei via wrote:
From: Jialin Wang <wangjialin23@xxxxxxxxxx> The new RDMA live migration will be introduced in the upcoming few commits. Signed-off-by: Jialin Wang <wangjialin23@xxxxxxxxxx> Signed-off-by: Gonglei <arei.gonglei@xxxxxxxxxx> ---
[...]
- - /* Avoid ram_block_discard_disable(), cannot change during migration. */ - if (ram_block_discard_is_required()) { - error_setg(errp, "RDMA: cannot disable RAM discard"); - return; - }
I'm particularly interested in the interaction with virtio-balloon/virtio-mem.
Do we still have to disable discarding of RAM, and where would you do that in the rewrite?
-- Cheers, David / dhildenb