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

Method write_config

pci/src/vfio.rs:396–398  ·  view source on GitHub ↗
(&self, offset: u32, data: &[u8])

Source from the content-addressed store, hash-verified

394 }
395
396 fn write_config(&self, offset: u32, data: &[u8]) {
397 self.region_write(VFIO_PCI_CONFIG_REGION_INDEX, offset.into(), data);
398 }
399
400 fn enable_msi(&self, fds: Vec<&EventFd>) -> Result<(), VfioError> {
401 self.enable_irq(VFIO_PCI_MSI_IRQ_INDEX, fds)

Callers 2

write_config_dwordMethod · 0.45
write_config_registerMethod · 0.45

Implementers 2

vfio.rspci/src/vfio.rs
vfio_user.rspci/src/vfio_user.rs

Calls 1

region_writeMethod · 0.45

Tested by

no test coverage detected