On Tue, Feb 16, 2016 at 02:40:59PM +0800, Fam Zheng wrote:
> On Wed, 12/09 10:42, Peter Xu wrote:
> > -s->status = (local_err ? DUMP_STATUS_FAILED : DUMP_STATUS_COMPLETED);
> > -error_propagate(errp, local_err);
>
> This means the error is released by caller, ...
>
> > +/* make sure s
On Wed, 12/09 10:42, Peter Xu wrote:
> -s->status = (local_err ? DUMP_STATUS_FAILED : DUMP_STATUS_COMPLETED);
> -error_propagate(errp, local_err);
This means the error is released by caller, ...
> +/* make sure status is written after written_size updates */
> +smp_wmb();
> +a
When dump-guest-memory is requested with detach flag, after its
return, user could query its status using "query-dump" command (with
no argument). The result contains:
- status: current dump status
- completed: bytes written in the latest dump
- total: bytes to write in the latest dump
>From comp