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

Method set_identity_map_address

hypervisor/src/kvm/mod.rs:777–781  ·  view source on GitHub ↗

Sets the address of the one-page region in the VM's address space.

(&self, address: u64)

Source from the content-addressed store, hash-verified

775 /// Sets the address of the one-page region in the VM's address space.
776 ///
777 fn set_identity_map_address(&self, address: u64) -> vm::Result<()> {
778 self.fd
779 .set_identity_map_address(address)
780 .map_err(|e| vm::HypervisorVmError::SetIdentityMapAddress(e.into()))
781 }
782
783 #[cfg(target_arch = "x86_64")]
784 ///

Callers 1

create_hypervisor_vmMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected