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

Method get_irq_info

pci/src/vfio_user.rs:312–323  ·  view source on GitHub ↗
(&self, irq_index: u32)

Source from the content-addressed store, hash-verified

310 }
311
312 fn get_irq_info(&self, irq_index: u32) -> Option<VfioIrq> {
313 self.client
314 .lock()
315 .unwrap()
316 .get_irq_info(irq_index)
317 .ok()
318 .map(|i| VfioIrq {
319 index: i.index,
320 flags: i.flags,
321 count: i.count,
322 })
323 }
324
325 fn enable_irq(&self, irq_index: u32, event_fds: Vec<&EventFd>) -> Result<(), VfioError> {
326 info!(

Callers

nothing calls this directly

Calls 2

okMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected