[EMAIL PROTECTED] 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
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/virtualization

Reply via email to