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

Re: [Xen-devel] [PATCH v2 for-next 6/9] kconfig/gcov: rename to coverage



>>> On 27.11.17 at 12:27, <roger.pau@xxxxxxxxxx> wrote:
> On Thu, Nov 16, 2017 at 05:22:43PM -0500, Konrad Rzeszutek Wilk wrote:
>> On Thu, Nov 09, 2017 at 11:13:46AM +0000, Roger Pau Monne wrote:
>> > --- a/xen/include/xen/coverage.h
>> > +++ b/xen/include/xen/coverage.h
>> > @@ -1,9 +1,14 @@
>> >  #ifndef _XEN_COV_H
>> >  #define _XEN_COV_H
>> >  
>> > -#ifdef CONFIG_GCOV
>> > +#ifdef CONFIG_COVERAGE
>> >  #include <public/sysctl.h>
>> >  int sysctl_cov_op(struct xen_sysctl_coverage_op *op);
>> > +#else
>> > +static inline int sysctl_cov_op(void *unused)
>> > +{
>> > +    return -ENOSYS;
>> 
>> Not -EOPNOTSUPP ?
> 
> IIRC for non implemented top-level hypercalls Xen returns ENOSYS
> instead of EOPNOTSUPP, but I might be wrong.

But this is an individual sysctl, not HYPERVISOR_sysctl.

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®.