Re: [Xen-devel] [PATCH v11 09/27] libxc/migration: export read_record for common use

2016-03-04 Thread Ian Jackson
Changlong Xie writes ("[PATCH v11 09/27] libxc/migration: export read_record for common use"): > From: Wen Congyang ... > +int read_record(struct xc_sr_context *ctx, int fd, struct xc_sr_record *rec) > +{ I haven't checked that this is (apart from the specified change) pure code motion, but on t

[Xen-devel] [PATCH v11 09/27] libxc/migration: export read_record for common use

2016-03-04 Thread Changlong Xie
From: Wen Congyang read_record() could be used by primary to read dirty bitmap record sent by secondary under COLO. When used by save side, we need to pass the backchannel fd instead of ctx->fd to read_record(), so we added a fd param to it. No functional changes. CC: Andrew Cooper Signed-off-b