On 04/04/2023 4:34 pm, Jan Beulich wrote: > On 04.04.2023 11:52, Andrew Cooper wrote: >> Adjust the API and comments appropriately. >> >> x86_cpu_policy_fill_native() will eventually contain MSR reads, but leave a >> TODO in the short term. > That'll then require passing in a callback function anyway, such that > different environments can use different ways of getting at the wanted > MSR values. (IOW a bigger change anyway.)
We've already got #if __XEN__'s in there already. I was going to add one more in the short term. > >> No practical change. >> >> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> > What about x86_cpuid_lookup_deep_deps()? That'll be looking at more than > just CPUID bits as well, won't it? Good point. I'll adjust. ~Andrew