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

Method set_tss_address

hypervisor/src/kvm/mod.rs:787–791  ·  view source on GitHub ↗

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

(&self, offset: usize)

Source from the content-addressed store, hash-verified

785 /// Sets the address of the three-page region in the VM's address space.
786 ///
787 fn set_tss_address(&self, offset: usize) -> vm::Result<()> {
788 self.fd
789 .set_tss_address(offset)
790 .map_err(|e| vm::HypervisorVmError::SetTssAddress(e.into()))
791 }
792
793 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))]
794 ///

Callers 1

create_hypervisor_vmMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected