[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v4 3/5] tools/libxc: don't send end record if remus fails



On Mon, 2016-01-18 at 13:40 +0800, Wen Congyang wrote:
> Signed-off-by: Wen Congyang <wency@xxxxxxxxxxxxxx>
> Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

What was the outcoming of Andy's comment on v1 regarding error handling for
->postcopy?

> ---
> Âtools/libxc/xc_sr_save.c | 2 +-
> Â1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/libxc/xc_sr_save.c b/tools/libxc/xc_sr_save.c
> index 88d85ef..e532168 100644
> --- a/tools/libxc/xc_sr_save.c
> +++ b/tools/libxc/xc_sr_save.c
> @@ -795,7 +795,7 @@ static int save(struct xc_sr_context *ctx, uint16_t
> guest_type)
> Â
> ÂÂÂÂÂÂÂÂÂÂÂÂÂrc = ctx->save.callbacks->checkpoint(ctx->save.callbacks-
> >data);
> ÂÂÂÂÂÂÂÂÂÂÂÂÂif ( rc <= 0 )
> -ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂctx->save.checkpointed = false;
> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂgoto err;
> ÂÂÂÂÂÂÂÂÂ}
> ÂÂÂÂÂ} while ( ctx->save.checkpointed );
> Â

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.