mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
CPU unplug requires co-operation between the guest and the VMM. Ensure that the CPU the guest marks for eject is the one the VMM expects to be removed. If the guest were to remove a different vCPU there would be unexpected behaviour. Further ensure that the boot vCPU is never unplugged. Signed-off-by: Rob Bradford <rbradford@meta.com>