[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 2/3] Introduce migration precopy policy
On 25/09/17 19:55, Jennifer Herbert wrote: > +/* > + * A precopy_policy callback may not be running in the same address > + * space as libxc an so precopy_stats is passed by value. > + */ Please take a step back and thing about what is written here... As I've said repeatedly, the structure vs pointer argument here is entirely unrelated to the IPC boundary. I am also unhappy that, after multiple review requests saying "turn this into a pointer", its remained being passed by value. It is not ok to hack things like this up simply because its the easier cause of action. ~Andrew > +typedef int (*precopy_policy_t)(struct precopy_stats, void *); > + > /* callbacks provided by xc_domain_save */ > struct save_callbacks { > /* Called after expiration of checkpoint interval, > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |