|
| From: | Paolo Bonzini |
| Subject: | Re: [Qemu-devel] [PATCH V7 1/2] Implement sync modes for drive-backup. |
| Date: | Fri, 26 Jul 2013 08:58:16 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 |
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.
Paolo
| [Prev in Thread] | Current Thread | [Next in Thread] |