|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] xen/vm_event: introduce vm_event_is_enabled()
On 14.09.2025 01:24, Tamas K Lengyel wrote:
>>> +static inline bool vm_event_is_enabled(struct vcpu *v)
>>> +{
>>> +#ifdef CONFIG_VM_EVENT
>>> + return v->arch.vm_event != NULL;
>>
>> Is "enabled" (in the function name) a good description of this condition,
>> Tamas?
>
> Sure, sounds fine to me.
That is the pointer alone being non-NULL identifies "enabled"? And not
just e.g. "active" or "available" (can be enabled with further things
set up)?
Jan
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |