On Tue, Jul 25, 2017 at 04:00:13PM +0100, Andrew Cooper wrote: > The purpose of guest_walk_tables() is to match the behaviour of real hardware. > > A PV guest can have 2M superpages in its pagetables, via the M2P and the > initial initrd mapping, even if it isn't permitted to create arbitrary 2M > superpage mappings. > > guest_can_use_l2_superpages() checking opt_allow_superpage is a piece of PV > guest policy enforcement, rather than its intended purpose of meaning "would > hardware tolerate finding an L2 superpage with these control settings?" > > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>
Reviewed-by: Wei Liu <wei.l...@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel