cloud-hypervisor/vmm
Yi Wang 92cf2816b0 vmm: Ensure vcpu pause is synchronised
The pause of vcpu is async now, which makes the vm pause is not
synchronised. As virtio device calls paused_sync wait() to make
sure device_manager pause synchronously, if we make vcpu pause
synchronously, the vm pause can be synchronously then. After
vm.pause() returns the vm is really paused now.

This patch adds a AtomicBool variable to mark vcpu paused state,
to make sure the pause of CpuManager is synchronised.

Signed-off-by: Yi Wang <foxywang@tencent.com>
2023-07-25 09:48:24 -07:00
..
src vmm: Ensure vcpu pause is synchronised 2023-07-25 09:48:24 -07:00
Cargo.toml block: merge qcow, vhdx and block_util into block crate 2023-07-19 13:52:43 +01:00