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

Method state

virtio-devices/src/vsock/device.rs:416–422  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

414 }
415
416 fn state(&self) -> VsockState {
417 VsockState {
418 avail_features: self.common.avail_features,
419 acked_features: self.common.acked_features,
420 connections: self.backend.read().unwrap().connections(),
421 }
422 }
423
424 #[cfg(fuzzing)]
425 pub fn wait_for_epoll_threads(&mut self) {

Callers 1

snapshotMethod · 0.45

Calls 2

connectionsMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected