x86/P2M: the majority for struct p2m_domain's fields are HVM-only
authorJan Beulich <jbeulich@suse.com>
Fri, 8 Apr 2022 12:51:06 +0000 (14:51 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 8 Apr 2022 12:51:06 +0000 (14:51 +0200)
commit347d36c2ec2b6f78cd1023f30b8426f2b1444ecc
tree570489011fbf67ee6957fd4772632e49cc6a13de
parentc479415610f0448bb07d39185e72ef36e08ebec0
x86/P2M: the majority for struct p2m_domain's fields are HVM-only

..., as are the majority of the locks involved. Conditionalize things
accordingly.

Also adjust the ioreq field's indentation at this occasion.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul@xen.org>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
xen/arch/x86/include/asm/p2m.h
xen/arch/x86/mm.c
xen/arch/x86/mm/mm-locks.h
xen/arch/x86/mm/p2m-basic.c
xen/arch/x86/mm/p2m.c
xen/drivers/passthrough/x86/iommu.c