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
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