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

Method read

pci/src/vfio.rs:1887–1889  ·  view source on GitHub ↗
(&mut self, base: u64, offset: u64, data: &mut [u8])

Source from the content-addressed store, hash-verified

1885
1886impl BusDevice for VfioPciDevice {
1887 fn read(&mut self, base: u64, offset: u64, data: &mut [u8]) {
1888 self.read_bar(base, offset, data);
1889 }
1890
1891 fn write(&mut self, base: u64, offset: u64, data: &[u8]) -> Option<Arc<Barrier>> {
1892 self.write_bar(base, offset, data)

Callers

nothing calls this directly

Calls 1

read_barMethod · 0.45

Tested by

no test coverage detected