yamahata@xxxxxxxxxxxxx wrote: > +static inline unsigned long > +HYPERVISOR_machtophys(unsigned long mfn) > +{ > + unsigned long ret = mfn; > + if (is_running_on_xen()) > Do you often call hypercalls when not booting under Xen? It seems to me this check should have already been done at a higher layer, and it needn't be repeated here. > + ret = __HYPERVISOR_machtophys(mfn); > + return ret; > +} J _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/virtualization