On Fri, Jul 26, 2013 at 08:58:16AM +0200, Paolo Bonzini wrote:
> Il 26/07/2013 03:09, Ian Main ha scritto:
> > +/* See if we have a backing HD we can use to create our new image
> > + * on top of. */
> > +source = bs->backing_hd;
> > +if (!source && sync == MIRROR_SYNC_MODE_TOP) {
>
Il 26/07/2013 03:09, Ian Main ha scritto:
> +/* See if we have a backing HD we can use to create our new image
> + * on top of. */
> +source = bs->backing_hd;
> +if (!source && sync == MIRROR_SYNC_MODE_TOP) {
> +sync = MIRROR_SYNC_MODE_FULL;
> +}
> +
I understand why yo
This patch adds sync-modes to the drive-backup interface and
implements the FULL, NONE and TOP modes of synchronization.
FULL performs as before copying the entire contents of the drive
while preserving the point-in-time using CoW.
NONE only copies new writes to the target drive.
TOP copies change