mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
1363891df6
A deadlock can happen from the destination VM of live upgrade or migration due to waiting on paused device worker threads. For example, when a serialization error happens after the `DeviceManager` struct is restored (where all virtio device worker threads are spawned but in paused/parked state), a deadlock will happen from `DeviceManager::drop()`, as it blocks for waiting worker threads to join. This patch ensures that we wake up all device (mostly virtio) worker threads before we block for them to join. Signed-off-by: Bo Chen <chen.bo@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |