3 releases

0.1.2 Nov 25, 2024
0.1.1 Apr 11, 2024
0.1.0 Mar 26, 2024

#729 in Operating systems

Download history 9/week @ 2024-08-26 10/week @ 2024-09-02 31/week @ 2024-09-16 10/week @ 2024-09-23 12/week @ 2024-09-30 20/week @ 2024-11-04 5/week @ 2024-11-18 261/week @ 2024-11-25 32/week @ 2024-12-02 52/week @ 2024-12-09

350 downloads per month
Used in uhyve

MIT/Apache

14KB
206 lines

Uhyve Hypervisor Interface

The Uhyve hypercall interface works as follows:

  • On x86_64 you use an out port instruction. The address of the out-port corresponds to the hypercall you want to use. You can obtain it from the IoPorts enum. The data send to that port is the physical memory address (of the VM) of the parameters of that hypercall.
  • On aarch64 you write to the respective HypercallAddress. The 64-bit value written to that location is the guest's physical memory address of the hypercall's parameter.

Dependencies

~0.9–1.4MB
~30K SLoC