mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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:
committed by
Wei Liu
parent
2882ccd00a
commit
caa362c31f
@@ -121,6 +121,6 @@ impl Vgic for MshvGicV2M {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn save_data_tables(&self) -> Result<()> {
|
fn save_data_tables(&self) -> Result<()> {
|
||||||
unimplemented!()
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user