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 <anrayabh@microsoft.com>
This commit is contained in:
Anirudh Rayabharam 2025-11-15 16:44:47 +00:00 committed by Wei Liu
parent 2882ccd00a
commit caa362c31f

View file

@ -121,6 +121,6 @@ impl Vgic for MshvGicV2M {
}
fn save_data_tables(&self) -> Result<()> {
unimplemented!()
Ok(())
}
}