[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] xen/x86: move domctl.o out of PV_SHIM_EXCLUSIVE
Hi all, So I ran a test and the appended change, which is based on [1] and renaming CONFIG_DOMCTL to CONFIG_SYSCTL, is sufficient to resolve the build issue. For 4.21, I suggest we go with two patches: 1) global rename of CONFIG_SYSCTL to CONFIG_MGMT_HYPERCALLS 2) stub domctl_lock_acquire/release based on CONFIG_MGMT_HYPERCALLS Jan, are you OK with this? Cheers, Stefano [1] https://marc.info/?l=xen-devel&m=175421457323598 diff --git a/xen/include/xen/domain.h b/xen/include/xen/domain.h index e10baf2615..dedc73412f 100644 --- a/xen/include/xen/domain.h +++ b/xen/include/xen/domain.h @@ -148,8 +148,17 @@ void arch_dump_domain_info(struct domain *d); int arch_vcpu_reset(struct vcpu *v); +#ifdef CONFIG_SYSCTL bool domctl_lock_acquire(void); void domctl_lock_release(void); +#else +static inline bool domctl_lock_acquire(void) +{ + return false; +} + +static inline void domctl_lock_release(void) {} +#endif /* CONFIG_DOMCTL */ /* * Continue the current hypercall via func(data) on specified cpu.
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |