MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / reset_flags

Method reset_flags

hypervisor/src/lib.rs:175–182  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

173#[cfg(target_arch = "x86_64")]
174impl ClockData {
175 pub fn reset_flags(&mut self) {
176 match self {
177 #[cfg(feature = "kvm")]
178 ClockData::Kvm(s) => s.flags = 0,
179 #[allow(unreachable_patterns)]
180 _ => {}
181 }
182 }
183}
184
185#[derive(Debug, Clone, Copy, Default, PartialEq, Eq)]

Callers 1

pauseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected