[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] libxc: introduce a per architecture scratch pfn for temporary grant mapping



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@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.