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

Method region_read

pci/src/vfio_user.rs:296–302  ·  view source on GitHub ↗
(&self, index: u32, offset: u64, data: &mut [u8])

Source from the content-addressed store, hash-verified

294
295impl Vfio for VfioUserClientWrapper {
296 fn region_read(&self, index: u32, offset: u64, data: &mut [u8]) {
297 self.client
298 .lock()
299 .unwrap()
300 .region_read(index, offset, data)
301 .ok();
302 }
303
304 fn region_write(&self, index: u32, offset: u64, data: &[u8]) {
305 self.client

Callers

nothing calls this directly

Calls 1

okMethod · 0.80

Tested by

no test coverage detected