[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] block: allow live commit of active image
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] block: allow live commit of active image |
Date: |
Tue, 23 Jul 2013 13:13:04 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 |
Il 23/07/2013 04:03, Fam Zheng ha scritto:
>> > stop
>> > block-job-complete ide0-hd0
>> > cont
>> >
> I see, this way the job needs to stop vm in the point of all copying
> drained, then report 'ready' and wait for manual complete before
> swapping active, sounds not so good. Ideally we should mirror writes
> _synchronously_ to 'top' and 'base' after 'ready' state and wait for
> manual complete to switch image. Do you think this is easy to do?
Synchronous mirroring makes it harder to handle errors in writing the
target, especially if you're not running with rerror=stop/werror=stop
(they would be reported to the guest).
Paolo
[Qemu-devel] [PATCH 2/2] qemu-iotests: update test cases for commit active, Fam Zheng, 2013/07/21
Re: [Qemu-devel] [PATCH 0/2] block: allow commit active as top, Wenchao Xia, 2013/07/22