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

Re: [Xen-devel] [PATCH v22 1/2] common: add a new mappable resource type: XENMEM_resource_grant_table



>>> On 09.08.18 at 11:13, <Paul.Durrant@xxxxxxxxxx> wrote:
>> From: Jan Beulich [mailto:JBeulich@xxxxxxxx]
>> Sent: 09 August 2018 10:07
>> 
>> >>> On 09.08.18 at 10:55, <Paul.Durrant@xxxxxxxxxx> wrote:
>> > Also, the grant table would have potentially grown even though the op will
>> > fail. Is that what's concerning you?
>> 
>> But a failure post-grow other than the one above is relatively unlikely,
>> isn't it?
> 
> Yes, this failure or a copy to guest can derail things at this point. I was 
> just wondering whether you had an objection to something returning EOPNOTSUPP 
> having side effects. I could return something like EACCES instead to make 
> this situation stand out.

The error code is secondary (but indeed EACCES may be more to
the point here).

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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