>>> On 27.11.17 at 12:27, <roger....@citrix.com> 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@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to