]> xenbits.xensource.com Git - people/andrewcoop/xen-test-framework.git/commit
pv32pae: Probe for leaked SMEP/SMAP before switching to user mappings
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sun, 17 Jul 2016 16:45:33 +0000 (17:45 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 19 Jul 2016 15:14:35 +0000 (16:14 +0100)
commitcbb3dfb01d9db70f5b68a0cc3ec9e87f5276b6f4
treeaa035d2af21ee062d13861ce3f9482535d0333bd
parent8d7242409615339eee360f6251a72487a5894833
pv32pae: Probe for leaked SMEP/SMAP before switching to user mappings

This allows XTF to panic() with a useful error message, rather than crashing
with an obscure error on the hypervisor console because of Xen failing to
create a bounce frame on the (now-user) stack.

Update the documentation, as Xen 4.7 no longer leaks SMEP/SMAP into guests.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
arch/x86/pv/traps.c
arch/x86/setup.c
common/exlog.c
common/lib.c
docs/mainpage.dox
include/xtf.h
include/xtf/lib.h