x86/shadow: fully move unmap-dest into common code
authorJan Beulich <jbeulich@suse.com>
Thu, 22 Mar 2018 09:43:21 +0000 (10:43 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Mar 2018 09:43:21 +0000 (10:43 +0100)
commit96a041a015e975634376758027ede36a9f2a1d7d
tree980afe56138f896ac5a7ecec1d7be4e8f5f6f524
parent3025581f3ad70c153db830d0d80377c294033f63
x86/shadow: fully move unmap-dest into common code

By adding guest PTE size to shadow emulation context, the work begun by
commit 2c80710a78 ("x86/shadow: compile most write emulation code just
once") can be completed, paving the road for further movement into
common code.

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