>>> On 25.09.17 at 12:00, <jgr...@suse.com> wrote: > --- a/xen/arch/x86/traps.c > +++ b/xen/arch/x86/traps.c > @@ -930,6 +930,13 @@ void cpuid_hypervisor_leaves(const struct vcpu *v, > uint32_t leaf, > res->b = v->vcpu_id; > break; > > + case 5: /* PV-specific parameters */ > + if ( is_hvm_domain(d) || subleaf != 0 ) > + break; > + > + res->a = generic_flsl(get_upper_mfn_bound()) + PAGE_SHIFT;
While preparing to commit this I wondered why this isn't just flsl(). Can you explain this, or can I just change it? Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel