From caa362c31f1efd7b5cf9f6ab889daa3be77dfc44 Mon Sep 17 00:00:00 2001 From: Anirudh Rayabharam Date: Sat, 15 Nov 2025 16:44:47 +0000 Subject: [PATCH] hypervisor: mshv: stub implementation for save_data_tables() Provide a stub implementation for save_data_tables() to unblock pause functionality. Without this, pausing a VM causes Cloud Hypervisor to panic due to the unimplemented!() macro. This unblocks the test_api_http_pause_resume testcase. We don't need to save any state just to pause and resume. Signed-off-by: Anirudh Rayabharam --- hypervisor/src/mshv/aarch64/gic/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypervisor/src/mshv/aarch64/gic/mod.rs b/hypervisor/src/mshv/aarch64/gic/mod.rs index 47dab6ff3..5a448d61c 100644 --- a/hypervisor/src/mshv/aarch64/gic/mod.rs +++ b/hypervisor/src/mshv/aarch64/gic/mod.rs @@ -121,6 +121,6 @@ impl Vgic for MshvGicV2M { } fn save_data_tables(&self) -> Result<()> { - unimplemented!() + Ok(()) } }