]> xenbits.xensource.com Git - people/royger/xen-test-framework.git/commit
Setup for 32bit PV userspace execution
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 24 Dec 2015 21:09:47 +0000 (21:09 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 5 Jan 2016 18:59:44 +0000 (18:59 +0000)
commite86ce90b84b9a9d47da22e6d0250822db44ee60d
treee92a9313d2e3e512d0a47309d8e02eb65122f4ba
parent94d3a7ed1135a2440f9b6253fc166708237417d9
Setup for 32bit PV userspace execution

* Implement hypercall_update_va_mapping().
* Walk the live pagetables setting _PAGE_USER.

For now, 32bit PV XTF guests need to be run on a hypervisor booted with
"smep=0 smap=0" to prevent Xen's %cr4 settings from interfering.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
arch/x86/pv/traps.c
include/arch/x86/mm.h
include/arch/x86/page.h
include/arch/x86/traps.h
include/xen/arch-x86/xen-x86_32.h
include/xtf/hypercall.h
include/xtf/types.h