[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 22/36] block: add mirror job
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC PATCH 22/36] block: add mirror job |
Date: |
Thu, 12 Jul 2012 15:45:22 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
Il 15/06/2012 20:20, Eric Blake ha scritto:
>> > The second phase is indicated by the progress in "info block-jobs"
>> > reporting the current offset to be equal to the length of the file.
>> > When the job is cancelled in the second phase, QEMU will run the
>> > job until the source is clean and quiescent, then it will report
>> > successful completion of the job. (Note that it could already happen
>> > that management lost the race against QEMU and got a completion
>> > event instead of cancellation).
> Is this paragraph still accurate? At any rate, it sounds a bit
> confusing - if I run 'block-job-cancel', do I get a 'complete' or a
> 'cancelled' event? Or is it a question of _which_ event I get depending
> on how a race goes?
For streaming, the latter. Same for mirroring in the first phase.
Mirroring in the second phase will always give you an error or completed
event.
Paolo
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [RFC PATCH 22/36] block: add mirror job,
Paolo Bonzini <=