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

Method trigger

fuzz/fuzz_targets/serial.rs:55–57  ·  view source on GitHub ↗
(&self, _index: InterruptIndex)

Source from the content-addressed store, hash-verified

53
54impl InterruptSourceGroup for TestInterrupt {
55 fn trigger(&self, _index: InterruptIndex) -> Result<(), std::io::Error> {
56 self.event_fd.write(1)
57 }
58 fn update(
59 &self,
60 _index: InterruptIndex,

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected