On Fri, 2019-05-31 at 16:44 -0700, Andrew Cooper wrote: > On 30/05/2019 07:18, Petre Pircalabu wrote: > > The vm_event_domain members are not accessed outside vm_event.c so > > it's > > better to hide de implementation details. > > > > Signed-off-by: Petre Pircalabu <ppircal...@bitdefender.com> > > Acked-by: Andrew Cooper <andrew.coop...@citrix.com> > > Are there any files which now no longer need to include sched.h ? > (Probably not, but it is worth checking) > > ________________________ > This email was scanned by Bitdefender
The "xen/sched.h header can be removed from the "xen/vm_event.h" include list by fw declaring "struct domain" and "struct vm_event_domain". The vm_event clients (monitor, mem_sharing, mem_paging) need to include "sched.h" because they need access to the "struct domain" details. Many thanks, Petre _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel