On Mon, Apr 12, 2021 at 04:08:29PM +0200, Jan Beulich wrote: > Exclude functions using them from !HVM builds, thus making it possible > to exclude the hooks as well. Also cover the already unused > memory_type_changed hook while inserting the #ifdef in the struct. > > While no respective check was there, I can't see how > XEN_DOMCTL_set_broken_page_p2m could have been meant to work for PV the > way it is implemented. Restrict this operation to acting on HVM guests. > > Signed-off-by: Jan Beulich <jbeul...@suse.com>
I see you also make the recalc hook HVM only in a later patch, which I was going to ask, so: Acked-by: Roger Pau Monné <roger....@citrix.com> Thanks, Roger.