Hi Ian,

On 14/01/15 11:03, Ian Campbell wrote:
>> +int
>> +xc_core_arch_get_scratch_gpfn(xc_interface *xch, domid_t domid,
>> +                              xen_pfn_t *gpfn)
>> +{
>> +    int rc;
>> +
>> +    rc = xc_domain_maximum_gpfn(xch, domid);
>> +
>> +    if ( rc <= 0 )
>> +        return rc;
>> +
>> +    *gpfn = rc;
> 
> Shouldn't this be rc + 1 to match the old behaviour?

Oh right. I will fix it in the next version.

Regards,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to