* Pratik Vyas <p...@openbsd.org> [2020-04-08 01:39:48 -0600]:

CVSROOT:        /cvs
Module name:    src
Changes by:     p...@cvs.openbsd.org    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 <a...@adamsteen.com.au>


Also, with inputs and review from Mike Larkin

Reply via email to