]> xenbits.xensource.com Git - people/liuw/xtf.git/commit
pv: Honour test_wants_user_mappings
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 19 Jul 2016 13:58:46 +0000 (14:58 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 19 Jul 2016 15:09:34 +0000 (16:09 +0100)
commit40a6a0e1c83d9ac44601c29b6d387f8f1bca2e8c
treecc6056a9537192563d8800db8698be0b811e80da
parent3164f347139a000afb572ff87d3b98e4362f2b8b
pv: Honour test_wants_user_mappings

32bit PV guests start on supervisor mappings, and previously unilaterally
switched to user mappings.  Now, only switch to user mappings if a test has
opted in.

64bit PV guests run at cpl3, must use user mappings and architecturally have
no choice in the matter.

This change is best reviewed with `git show --ignore-all-space`

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
arch/x86/pv/traps.c