If active is top, it will be mirrored to base, (with block/mirror.c
code), then the image is switched when user completes the block job.
Signed-off-by: Fam Zheng f...@redhat.com
---
blockdev.c | 42 --
1 file changed, 40 insertions(+), 2 deletions(-)
diff
Il 30/09/2013 14:02, Fam Zheng ha scritto:
+/* Mirror code already swapped bs and base, we drop the bs loop chain
+ * formed by the swap: break the loop chain, trigger the chain unref.
+ */
+p = info-base-backing_hd;
+info-base-backing_hd = NULL;
+