mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-21 19:02:30 +00:00
As part of the cleanup of the VM shutdown all the vCPU threads. This is achieved by toggling a shared atomic boolean variable which is checked in the vCPU loop. To trigger the vCPU code to look at this boolean it is necessary to send a signal to the vCPU which will interrupt the running KVM_RUN ioctl. Fixes: #229 Signed-off-by: Rob Bradford <robert.bradford@intel.com>