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

Method pci_devices

vmm/src/device_tree.rs:83–88  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

81 BftIter::new(&self.0)
82 }
83 pub fn pci_devices(&self) -> Vec<&DeviceNode> {
84 self.0
85 .values()
86 .filter(|v| v.pci_bdf.is_some() && v.pci_device_handle.is_some())
87 .collect()
88 }
89
90 pub fn remove_node_by_pci_bdf(&mut self, pci_bdf: PciBdf) -> Option<DeviceNode> {
91 let mut id = None;

Callers 1

update_memoryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected