CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/04/08 01:39:48
Modified files:
sys/arch/amd64/amd64: vmm.c
sys/arch/amd64/include: specialreg.h vmmvar.h
usr.sbin/vmd : vm.c
Log message:
vmm(4): add IOCTL handler to sets the access protections of the ept
This exposes VMM_IOC_MPROTECT_EPT which can be used by vmd to lock in physical
pages. Currently, vmd just terminates the vm in case it gets a protection fault
in the future.
This feature is used by solo5 which uses vmm(4) as a backend hypervisor.
ok mpi@
Patch from Adam Steen <[email protected]>