mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
During pause the block backend's async I/O path can have unfinished I/O requests. A snapshot or migration RAM copy taken after pause returns can then race with kernel writes and capture torn pages. Since vCPUs are already paused, the VMM thread can stop new block submissions and wait for the worker to drain before parking the worker threads. Assisted-by: Codex:GPT-5 Signed-off-by: Dylan Reid <dgreid@fb.com>