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

Method mmio_read

vmm/src/vm.rs:468–473  ·  view source on GitHub ↗
(&self, gpa: u64, data: &mut [u8])

Source from the content-addressed store, hash-verified

466 }
467
468 fn mmio_read(&self, gpa: u64, data: &mut [u8]) -> result::Result<(), HypervisorVmError> {
469 if let Err(vm_device::BusError::MissingAddressRange) = self.mmio_bus.read(gpa, data) {
470 info!("Guest MMIO read to unregistered address 0x{gpa:x}");
471 }
472 Ok(())
473 }
474
475 fn mmio_write(&self, gpa: u64, data: &[u8]) -> result::Result<(), HypervisorVmError> {
476 match self.mmio_bus.write(gpa, data) {

Callers 4

runMethod · 0.80
emulate_with_syndromeMethod · 0.80
rMethod · 0.80
runMethod · 0.80

Calls 1

readMethod · 0.45

Tested by

no test coverage detected