diff --git a/vmm/src/vm.rs b/vmm/src/vm.rs index ed8704c87..7a4068a38 100755 --- a/vmm/src/vm.rs +++ b/vmm/src/vm.rs @@ -608,6 +608,13 @@ impl Vm { signals.close(); } + // Wake up the DeviceManager threads so they will get terminated cleanly + self.device_manager + .lock() + .unwrap() + .resume() + .map_err(Error::Resume)?; + self.cpu_manager .lock() .unwrap()