Re: [Qemu-devel] [PATCH 6/6] add mirroring to blockdev-transaction

2012-02-29 Thread Paolo Bonzini
Il 29/02/2012 20:47, Eric Blake ha scritto: > This falls out very nicely. > > Do we want to also add a 'reopen' operation to the union, for the > remaining action needed by oVirt live migration? We can add it later, I think, if need arises. Switching to the destination need not be done atomicall

Re: [Qemu-devel] [PATCH 6/6] add mirroring to blockdev-transaction

2012-02-29 Thread Eric Blake
On 02/29/2012 06:37 AM, Paolo Bonzini wrote: > Add a new transaction type, "mirror". It stacks a new blkmirror > file (instead of a snapshot) on top of the existing image. > > It is possible to combine snapshot and mirror as two actions in the > same transaction. Because of atomicity ensured by

[Qemu-devel] [PATCH 6/6] add mirroring to blockdev-transaction

2012-02-29 Thread Paolo Bonzini
Add a new transaction type, "mirror". It stacks a new blkmirror file (instead of a snapshot) on top of the existing image. It is possible to combine snapshot and mirror as two actions in the same transaction. Because of atomicity ensured by blockdev-transaction, this will create a snapshot *and*