Re: [Qemu-devel] [RFC PATCH 22/36] block: add mirror job

2012-07-12 Thread Paolo Bonzini
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 q

Re: [Qemu-devel] [RFC PATCH 22/36] block: add mirror job

2012-06-15 Thread Eric Blake
On 06/15/2012 09:05 AM, Paolo Bonzini wrote: > This patch adds the implementation of a new job that mirrors a disk to > a new image while letting the guest continue using the old image. > The target is treated as a "black box" and data is copied from the > source to the target in the background. >

[Qemu-devel] [RFC PATCH 22/36] block: add mirror job

2012-06-15 Thread Paolo Bonzini
This patch adds the implementation of a new job that mirrors a disk to a new image while letting the guest continue using the old image. The target is treated as a "black box" and data is copied from the source to the target in the background. The mirror job is never-ending, but it is logically st