[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 0/1] Removing RAMBlocks during migration
From: |
Michael S. Tsirkin |
Subject: |
Re: [RFC PATCH 0/1] Removing RAMBlocks during migration |
Date: |
Tue, 7 Jan 2020 15:02:10 -0500 |
On Mon, Dec 09, 2019 at 10:41:01AM +0300, Yury Kotov wrote:
> Hi,
>
> I found that it's possible to remove a RAMBlock during migration.
> E.g. device hot-unplugging initiated by a guest (how to reproduce is below).
> And I want to clarify whether RAMBlock removing (or even adding) during
> migration is valid operation or it's a bug.
There's a very basic problem though: list of RAMBlock's on source and
destination must match otherwise destination will be confused.
It is probably fixable: keep a fake RAMBlock around until migration is
complete, and send some kind of "RAMBlock removed" message to
destination so it knows to remove it there as well.
--
MST