From 71b6ca83a2937f12f446bc2a0e814d96c2d3d4c3 Mon Sep 17 00:00:00 2001 From: Steven Malis Date: Tue, 1 Sep 2026 16:44:18 -0400 Subject: [PATCH 1/2] ovmm: stop state units before worker teardown --- openvmm/openvmm_core/src/worker/dispatch.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/openvmm/openvmm_core/src/worker/dispatch.rs b/openvmm/openvmm_core/src/worker/dispatch.rs index 5d82d9f836..0906132f52 100644 --- a/openvmm/openvmm_core/src/worker/dispatch.rs +++ b/openvmm/openvmm_core/src/worker/dispatch.rs @@ -3964,6 +3964,7 @@ impl LoadedVm { } } + self.pause().await; self.inner.partition_unit.teardown().await; if let Some(vmbus) = self.inner.vmbus_server { vmbus.remove().await.shutdown().await; From 392aede69b7ee1640cfef922efb56b7627eccf9c Mon Sep 17 00:00:00 2001 From: Steven Malis Date: Tue, 1 Sep 2026 16:54:25 -0400 Subject: [PATCH 2/2] ohcl too --- openhcl/underhill_core/src/dispatch/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/openhcl/underhill_core/src/dispatch/mod.rs b/openhcl/underhill_core/src/dispatch/mod.rs index 5196d2e4d3..cee9b25ad8 100644 --- a/openhcl/underhill_core/src/dispatch/mod.rs +++ b/openhcl/underhill_core/src/dispatch/mod.rs @@ -565,6 +565,7 @@ impl LoadedVm { } }; + self.stop().await; let _client_notify_send = self.partition_unit.teardown().await; // Terminate the vmbus relay before vmbus to avoid sending channel