mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-22 07:51:16 +00:00
In order to clearly decouple when the migration is started compared to when the dirty logging is started, we introduce a new method to the Migratable trait. This clarifies the semantics as we don't end up using start_dirty_log() for identifying when the migration has been started. And similarly, we rely on the already existing complete_migration() method to know when the migration has been ended. A bug was reported when running a local migration with a vhost-user-net device in server mode. The reason was because the migration_started variable was never set to "true", since the start_dirty_log() function was never invoked. Signed-off-by: lizhaoxin1 <Lxiaoyouling@163.com> Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> |
||
---|---|---|
.. | ||
transport | ||
vhost_user | ||
vsock | ||
balloon.rs | ||
block.rs | ||
console.rs | ||
device.rs | ||
epoll_helper.rs | ||
iommu.rs | ||
lib.rs | ||
mem.rs | ||
net.rs | ||
pmem.rs | ||
rng.rs | ||
seccomp_filters.rs | ||
thread_helper.rs | ||
watchdog.rs |