Re: [PATCH v2 4/4] xen: mem_access: conditionally compile vm_event.c & monitor.c

2025-01-30 Thread Jan Beulich
On 31.01.2025 01:33, Tamas K Lengyel wrote: > On Tue, Jan 21, 2025 at 5:25 AM Sergiy Kibrik wrote: >> --- a/xen/arch/arm/vsmc.c >> +++ b/xen/arch/arm/vsmc.c >> @@ -330,7 +330,8 @@ void do_trap_smc(struct cpu_user_regs *regs, const union >> hsr hsr) >> } >> >> /* If monitor is enabled, l

Re: [PATCH v2 4/4] xen: mem_access: conditionally compile vm_event.c & monitor.c

2025-01-30 Thread Tamas K Lengyel
On Tue, Jan 21, 2025 at 5:25 AM Sergiy Kibrik wrote: > > From: Stefano Stabellini > > Extend coverage of CONFIG_VM_EVENT option and make the build of VM events > and monitoring support optional. > This is to reduce code size on Arm when this option isn't enabled. > > CC: Jan Beulich > CC: Tamas

Re: [PATCH v2 4/4] xen: mem_access: conditionally compile vm_event.c & monitor.c

2025-01-30 Thread Jan Beulich
On 21.01.2025 11:25, Sergiy Kibrik wrote: > --- a/xen/include/xen/monitor.h > +++ b/xen/include/xen/monitor.h > @@ -27,8 +27,17 @@ > struct domain; > struct xen_domctl_monitor_op; > > +#ifdef CONFIG_VM_EVENT > int monitor_domctl(struct domain *d, struct xen_domctl_monitor_op *mop); > void mon