Expand description

This is a Rust library that taps into functionality that enables hardware-accelerated execution of virtual machines on OS X.

It binds to the Hypervisor framework on OS X, and exposes a safe Rust interface through the xhypervisor module, and an unsafe foreign function interface through the xhypervisor::ffi module.

To use this library, you need

  • OS X Yosemite (10.10), or newer

  • an Intel processor with the VT-x feature set that includes Extended Page Tables (EPT) and Unrestricted Mode. To verify this, run and expect the following in your Terminal:

    $ sysctl kern.hv_support
    kern.hv_support: 1

!

Re-exports

pub use x86_64::*;

Modules

Enums

Error returned after every call

Guest physical memory region permissions

Functions

Destroys the VM instance associated with the current Mach task