At 16:31 +0000 on 16 Mar (1489681898), Andrew Cooper wrote: > Switch them to returning bool, and taking const parameters. > > Rename guest_supports_superpages() to guest_supports_l2_superpages() to > indicate which level of pagetables it is actually referring to, and rename > guest_supports_1G_superpages() to guest_supports_l3_superpages() for > consistency. > > guest_supports_l3_superpages() is a static property of the domain, rather than > control register settings, so is switched to take a domain pointer. > hvm_pse1gb_supported() is inlined into its sole user because it isn't strictly > hvm-specific (it is hap-specific) and really should be beside a comment > explaining why the cpuid policy is ignored. > > While cleaning up part of the file, clean up all trailing whilespace, and fix > one comment which accidently refered to PG living in CR4 rather than CR0. > > Requested-by: Jan Beulich <jbeul...@suse.com> > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>
Acked-by: Tim Deegan <t...@xen.org> (with or without the renaming Jan asked for). _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel