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

Method signal

virtio-devices/src/mem.rs:611–616  ·  view source on GitHub ↗
(&self, int_type: VirtioInterruptType)

Source from the content-addressed store, hash-verified

609 }
610
611 fn signal(&self, int_type: VirtioInterruptType) -> result::Result<(), DeviceError> {
612 self.interrupt_cb.trigger(int_type).map_err(|e| {
613 error!("Failed to signal used queue: {e:?}");
614 DeviceError::FailedSignalingUsedQueue(e)
615 })
616 }
617
618 fn process_queue(&mut self) -> Result<bool, Error> {
619 let mut used_descs = false;

Callers 2

handle_child_outputFunction · 0.45
handle_eventMethod · 0.45

Calls 1

triggerMethod · 0.45

Tested by

no test coverage detected