On Wed, Jun 26, 2013 at 03:31:19PM +0800, Fam Zheng wrote: > On Wed, 06/26 09:23, Paolo Bonzini wrote: > > Il 26/06/2013 05:59, Fam Zheng ha scritto: > > This leads to another observation: a sync:'none' block-backup job > > probably should never complete, and should instead go on until explicit > > cancellation. This is because the job does no background writes, and > > thus completion would only happen after the guest has written the whole > > disk. Writing the whole disk is rare enough that it will likely cause > > bugs in the clients. It is easier just to never complete the job. > > > > Yes, the sync mode none will simply run forever until cancelled.
There is a dedicated command to successfully complete a job: block-job-complete Stefan