x86/p2m: hardware-log-dirty related hooks are HVM-only
authorJan Beulich <jbeulich@suse.com>
Mon, 3 May 2021 13:28:16 +0000 (15:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 3 May 2021 13:28:16 +0000 (15:28 +0200)
commit594b263511687d27f1492f1277da729a2cc8f024
treeb57d34e6c32731e81e5b63629f0a2bc599cf45b0
parent136234f0da018390c98d4353dfe2f2934b623106
x86/p2m: hardware-log-dirty related hooks are HVM-only

Exclude functions using them from !HVM builds, thus making it possible
to exclude the hooks as well.

By moving an #endif in p2m.c (instead of introducing yet another one)
p2m_{get,set}_ioreq_server() get excluded for !HVM builds as well.

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