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

Method read

devices/src/ivshmem.rs:208–210  ·  view source on GitHub ↗
(&mut self, base: u64, offset: u64, data: &mut [u8])

Source from the content-addressed store, hash-verified

206
207impl BusDevice for IvshmemDevice {
208 fn read(&mut self, base: u64, offset: u64, data: &mut [u8]) {
209 self.read_bar(base, offset, data);
210 }
211
212 fn write(&mut self, base: u64, offset: u64, data: &[u8]) -> Option<Arc<Barrier>> {
213 self.write_bar(base, offset, data)

Callers

nothing calls this directly

Calls 1

read_barMethod · 0.45

Tested by

no test coverage detected