]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
x86/mm: make {cmpxchg,write}_guest_entry() hook shadow mode specific
authorJan Beulich <jbeulich@suse.com>
Tue, 9 Feb 2016 12:24:00 +0000 (13:24 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 9 Feb 2016 12:24:00 +0000 (13:24 +0100)
commit7d738685db11de05f43a6193faa0b11830567ead
treea68630f4c61994cf4fceab5a5b986c7d0ef6fa44
parent92942fd3d469adbb88fd0bd045e0ecc05d518f22
x86/mm: make {cmpxchg,write}_guest_entry() hook shadow mode specific

... as they're being used for PV guests only, which don't use HAP mode.
This eliminates another pair of NULL callbacks in HAP as well as in 2-
and 3-guest-level shadow modes.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/shadow/multi.c
xen/include/asm-x86/paging.h