Module xhypervisor::x86_64::ffi
source · [−]Expand description
Bindings to the Hypervisor Framework
Constants
Functions
Creates a vCPU instance for the current thread
Destroys the vCPU instance associated with the current thread
Enables an MSR to be used natively by the VM
Forces flushing of cached vCPU state
Returns the cumulative execution time of a vCPU in nanoseconds
Forces an immediate VMEXIT of a set of vCPUs of the VM
Invalidates the TLB of a vCPU
Returns the current architectural x86 floating point and SIMD state of a vCPU
Returns the current value of an MSR of a vCPU
Returns the current value of an architectural x86 register of a vCPU
Executes a vCPU
Sets the architectural x86 floating point and SIMD state of a vCPU
Set the value of an MSR of a vCPU
Sets the value of an architectural x86 register of a vCPU
Creates a VM instance for the current Mach task
Destroys the VM instance associated with the current Mach task
Maps a region in the virtual address space of the current task into the guest physical address space of the VM
Modifies the permissions of a region in the guest physical address space of the VM
Synchronizes guest Timestamp-Counters (TSC) across all vCPUs
Unmaps a region in the guest physical address space of the VM
Returns the VMX capabilities of the host processor
Returns the current value of a VMCS field of a vCPU
Sets the address of the guest APIC for a vCPU in the guest physical address space of the VM
Sets the value of a VMCS field of a vCPU
Type Definitions
Type of a guest physical address
Guest physical memory region permissions for hv_vm_map() and hv_vm_protect()
Hypervisor Framework return code
Type of a user virtual address
Type of a vCPU ID
Options for hv_vcpu_create()