x86/p2m: re-arrange struct p2m_domain
authorJan Beulich <jbeulich@suse.com>
Mon, 3 May 2021 13:30:16 +0000 (15:30 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 3 May 2021 13:30:16 +0000 (15:30 +0200)
commit7191b808b0c2cb635f77bd4be34608cb0299a33d
tree4b40fc0a9dce564a85b3eeab367abdcade0d04b7
parent9b9ef2388c238a5b0d070a76a50efe696052bc52
x86/p2m: re-arrange struct p2m_domain

Combine two HVM-specific sections in two cases (i.e. going from four of
them to just two). Make defer_nested_flush bool and HVM-only, moving it
next to other nested stuff. Move default_access up into a padding hole.

When moving them anyway, also adjust comment style.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/mm/p2m.c
xen/include/asm-x86/p2m.h