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) { > > + sync = MIRROR_SYNC_MODE_FULL; > > + } > > + > > I understand why you left out the "magic" backing file manipulation, but > source should still be "bs" for MIRROR_SYNC_MODE_NONE.
OK. Eventually I'll get it right :) Ian