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

Method reset

virtio-devices/src/block.rs:1179–1183  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1177 }
1178
1179 fn reset(&mut self) {
1180 self.common.reset();
1181 self.set_writeback_mode(true);
1182 event!("virtio-device", "reset", "id", &self.id);
1183 }
1184
1185 fn counters(&self) -> Option<HashMap<&'static str, Wrapping<u64>>> {
1186 let mut counters = HashMap::new();

Callers

nothing calls this directly

Calls 1

set_writeback_modeMethod · 0.80

Tested by

no test coverage detected