mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
hypervisor: provide a generic ClockData structure
Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
+1
-2
@@ -2564,8 +2564,7 @@ impl Pausable for Vm {
|
||||
.vm
|
||||
.get_clock()
|
||||
.map_err(|e| MigratableError::Pause(anyhow!("Could not get VM clock: {}", e)))?;
|
||||
// Reset clock flags.
|
||||
clock.flags = 0;
|
||||
clock.reset_flags();
|
||||
self.saved_clock = Some(clock);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user