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

Method state

devices/src/ivshmem.rs:197–204  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

195 }
196
197 fn state(&self) -> IvshmemDeviceState {
198 IvshmemDeviceState {
199 interrupt_mask: self._interrupt_mask,
200 interrupt_status: self._interrupt_status.load(Ordering::SeqCst),
201 iv_position: self._iv_position,
202 doorbell: self._doorbell,
203 }
204 }
205}
206
207impl BusDevice for IvshmemDevice {

Callers 1

snapshotMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected