Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



In src/tests/lib/libnvmm/h_io_assist.c

191     ret = nvmm_gpa_map(mach, (uintptr_t)L1, 0x6000, PAGE_SIZE,
192     if (ret == -1)
193         PROT_READ|PROT_WRITE);

On Thu, 21 Mar 2019, Maxime Villard wrote:

Module Name:	src
Committed By:	maxv
Date:		Thu Mar 21 20:21:41 UTC 2019

Modified Files:
	src/lib/libnvmm: libnvmm.3 libnvmm.c
	src/sys/dev/nvmm: nvmm.c nvmm.h nvmm_ioctl.h
	src/sys/dev/nvmm/x86: nvmm_x86_svm.c nvmm_x86_vmx.c
	src/tests/lib/libnvmm: h_io_assist.c h_mem_assist.c

Log Message:
Make it possible for an emulator to set the protection of the guest pages.
For some reason I had initially concluded that it wasn't doable; verily it
is, so let's do it.

The reserved 'flags' argument of nvmm_gpa_map() becomes 'prot' and takes
mmap-like protection codes.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libnvmm/libnvmm.3
cvs rdiff -u -r1.6 -r1.7 src/lib/libnvmm/libnvmm.c
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/nvmm/nvmm.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/nvmm/nvmm.h
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/nvmm/nvmm_ioctl.h
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/nvmm/x86/nvmm_x86_svm.c
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/nvmm/x86/nvmm_x86_vmx.c
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libnvmm/h_io_assist.c
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libnvmm/h_mem_assist.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.


--
Hisashi T Fujinaka - htodd%twofifty.com@localhost
BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee


Home | Main Index | Thread Index | Old Index