Blame SOURCES/libvirt-qemublocktest-Replace-snapshots-bitmap-detection-test-case-data.patch

fbe740
From 31106cd65ee58f168769bb91eab8a0e5116b7a97 Mon Sep 17 00:00:00 2001
fbe740
Message-Id: <31106cd65ee58f168769bb91eab8a0e5116b7a97@dist-git>
fbe740
From: Peter Krempa <pkrempa@redhat.com>
fbe740
Date: Tue, 23 Jun 2020 12:23:49 +0200
fbe740
Subject: [PATCH] qemublocktest: Replace 'snapshots' bitmap detection test case
fbe740
 data
fbe740
MIME-Version: 1.0
fbe740
Content-Type: text/plain; charset=UTF-8
fbe740
Content-Transfer-Encoding: 8bit
fbe740
fbe740
Use test data which conforms to the new semantics which changed in the
fbe740
previous patch.
fbe740
fbe740
The test data was created by the same set of commands as originally in
fbe740
commit 0b27b655b1bac480186ce80457113cd5dc34e6a1
fbe740
fbe740
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
fbe740
Reviewed-by: Eric Blake <eblake@redhat.com>
fbe740
(cherry picked from commit ff00fa228d66b47e1b24c4a8cccf845af1d9385c)
fbe740
https://bugzilla.redhat.com/show_bug.cgi?id=1804593
fbe740
Message-Id: <f38005bfc322242472a18e1c05a4a44ddc4780a6.1592906423.git.pkrempa@redhat.com>
fbe740
Reviewed-by: Ján Tomko <jtomko@redhat.com>
fbe740
---
fbe740
 tests/qemublocktestdata/bitmap/snapshots.json | 1382 +++++++----------
fbe740
 tests/qemublocktestdata/bitmap/snapshots.out  |   13 +-
fbe740
 2 files changed, 588 insertions(+), 807 deletions(-)
fbe740
fbe740
diff --git a/tests/qemublocktestdata/bitmap/snapshots.json b/tests/qemublocktestdata/bitmap/snapshots.json
fbe740
index 87e77ad408..2a20aea812 100644
fbe740
--- a/tests/qemublocktestdata/bitmap/snapshots.json
fbe740
+++ b/tests/qemublocktestdata/bitmap/snapshots.json
fbe740
@@ -1,836 +1,612 @@
fbe740
 [
fbe740
-    {
fbe740
-        "iops_rd": 0,
fbe740
-        "detect_zeroes": "off",
fbe740
-        "image": {
fbe740
-            "backing-image": {
fbe740
-                "backing-image": {
fbe740
-                    "backing-image": {
fbe740
-                        "backing-image": {
fbe740
-                            "virtual-size": 10485760,
fbe740
-                            "filename": "/tmp/pull4.qcow2",
fbe740
-                            "cluster-size": 65536,
fbe740
-                            "format": "qcow2",
fbe740
-                            "actual-size": 208896,
fbe740
-                            "format-specific": {
fbe740
-                                "type": "qcow2",
fbe740
-                                "data": {
fbe740
-                                    "compat": "1.1",
fbe740
-                                    "lazy-refcounts": false,
fbe740
-                                    "bitmaps": [
fbe740
-                                        {
fbe740
-                                            "flags": [
fbe740
-                                                "auto"
fbe740
-                                            ],
fbe740
-                                            "name": "a",
fbe740
-                                            "granularity": 65536
fbe740
-                                        }
fbe740
-                                    ],
fbe740
-                                    "refcount-bits": 16,
fbe740
-                                    "corrupt": false
fbe740
-                                }
fbe740
-                            },
fbe740
-                            "dirty-flag": false
fbe740
-                        },
fbe740
-                        "backing-filename-format": "qcow2",
fbe740
-                        "virtual-size": 10485760,
fbe740
-                        "filename": "/tmp/pull4.1575911522",
fbe740
-                        "cluster-size": 65536,
fbe740
-                        "format": "qcow2",
fbe740
-                        "actual-size": 208896,
fbe740
-                        "format-specific": {
fbe740
-                            "type": "qcow2",
fbe740
-                            "data": {
fbe740
-                                "compat": "1.1",
fbe740
-                                "lazy-refcounts": false,
fbe740
-                                "bitmaps": [
fbe740
-                                    {
fbe740
-                                        "flags": [
fbe740
-                                            "auto"
fbe740
-                                        ],
fbe740
-                                        "name": "a",
fbe740
-                                        "granularity": 65536
fbe740
-                                    }
fbe740
-                                ],
fbe740
-                                "refcount-bits": 16,
fbe740
-                                "corrupt": false
fbe740
-                            }
fbe740
-                        },
fbe740
-                        "full-backing-filename": "/tmp/pull4.qcow2",
fbe740
-                        "backing-filename": "/tmp/pull4.qcow2",
fbe740
-                        "dirty-flag": false
fbe740
-                    },
fbe740
-                    "backing-filename-format": "qcow2",
fbe740
-                    "virtual-size": 10485760,
fbe740
-                    "filename": "/tmp/pull4.1575911527",
fbe740
-                    "cluster-size": 65536,
fbe740
-                    "format": "qcow2",
fbe740
-                    "actual-size": 217088,
fbe740
-                    "format-specific": {
fbe740
-                        "type": "qcow2",
fbe740
-                        "data": {
fbe740
-                            "compat": "1.1",
fbe740
-                            "lazy-refcounts": false,
fbe740
-                            "bitmaps": [
fbe740
-                                {
fbe740
-                                    "flags": [
fbe740
-                                        "auto"
fbe740
-                                    ],
fbe740
-                                    "name": "c",
fbe740
-                                    "granularity": 65536
fbe740
-                                },
fbe740
-                                {
fbe740
-                                    "flags": [
fbe740
-
fbe740
-                                    ],
fbe740
-                                    "name": "b",
fbe740
-                                    "granularity": 65536
fbe740
-                                },
fbe740
-                                {
fbe740
-                                    "flags": [
fbe740
-
fbe740
-                                    ],
fbe740
-                                    "name": "a",
fbe740
-                                    "granularity": 65536
fbe740
-                                }
fbe740
-                            ],
fbe740
-                            "refcount-bits": 16,
fbe740
-                            "corrupt": false
fbe740
-                        }
fbe740
-                    },
fbe740
-                    "full-backing-filename": "/tmp/pull4.1575911522",
fbe740
-                    "backing-filename": "/tmp/pull4.1575911522",
fbe740
-                    "dirty-flag": false
fbe740
-                },
fbe740
-                "backing-filename-format": "qcow2",
fbe740
-                "virtual-size": 10485760,
fbe740
-                "filename": "/tmp/pull4.1575911540",
fbe740
-                "cluster-size": 65536,
fbe740
-                "format": "qcow2",
fbe740
-                "actual-size": 212992,
fbe740
-                "format-specific": {
fbe740
-                    "type": "qcow2",
fbe740
-                    "data": {
fbe740
-                        "compat": "1.1",
fbe740
-                        "lazy-refcounts": false,
fbe740
-                        "bitmaps": [
fbe740
-                            {
fbe740
-                                "flags": [
fbe740
-                                    "auto"
fbe740
-                                ],
fbe740
-                                "name": "d",
fbe740
-                                "granularity": 65536
fbe740
-                            },
fbe740
-                            {
fbe740
-                                "flags": [
fbe740
-
fbe740
-                                ],
fbe740
-                                "name": "c",
fbe740
-                                "granularity": 65536
fbe740
-                            }
fbe740
-                        ],
fbe740
-                        "refcount-bits": 16,
fbe740
-                        "corrupt": false
fbe740
-                    }
fbe740
-                },
fbe740
-                "full-backing-filename": "/tmp/pull4.1575911527",
fbe740
-                "backing-filename": "/tmp/pull4.1575911527",
fbe740
-                "dirty-flag": false
fbe740
+  {
fbe740
+    "iops_rd": 0,
fbe740
+    "detect_zeroes": "off",
fbe740
+    "image": {
fbe740
+      "backing-filename-format": "qcow2",
fbe740
+      "virtual-size": 104857600,
fbe740
+      "filename": "/tmp/bitmaps.1591792950",
fbe740
+      "cluster-size": 65536,
fbe740
+      "format": "qcow2",
fbe740
+      "actual-size": 225280,
fbe740
+      "format-specific": {
fbe740
+        "type": "qcow2",
fbe740
+        "data": {
fbe740
+          "compat": "1.1",
fbe740
+          "compression-type": "zlib",
fbe740
+          "lazy-refcounts": false,
fbe740
+          "bitmaps": [
fbe740
+            {
fbe740
+              "flags": [
fbe740
+                "in-use",
fbe740
+                "auto"
fbe740
+              ],
fbe740
+              "name": "current",
fbe740
+              "granularity": 65536
fbe740
+            },
fbe740
+            {
fbe740
+              "flags": [
fbe740
+                "in-use",
fbe740
+                "auto"
fbe740
+              ],
fbe740
+              "name": "c",
fbe740
+              "granularity": 65536
fbe740
             },
fbe740
-            "backing-filename-format": "qcow2",
fbe740
-            "virtual-size": 10485760,
fbe740
-            "filename": "/tmp/pull4.1575911550",
fbe740
-            "cluster-size": 65536,
fbe740
-            "format": "qcow2",
fbe740
-            "actual-size": 212992,
fbe740
-            "format-specific": {
fbe740
-                "type": "qcow2",
fbe740
-                "data": {
fbe740
-                    "compat": "1.1",
fbe740
-                    "lazy-refcounts": false,
fbe740
-                    "bitmaps": [
fbe740
-                        {
fbe740
-                            "flags": [
fbe740
-                                "in-use",
fbe740
-                                "auto"
fbe740
-                            ],
fbe740
-                            "name": "current",
fbe740
-                            "granularity": 65536
fbe740
-                        },
fbe740
-                        {
fbe740
-                            "flags": [
fbe740
-                                "in-use"
fbe740
-                            ],
fbe740
-                            "name": "d",
fbe740
-                            "granularity": 65536
fbe740
-                        }
fbe740
-                    ],
fbe740
-                    "refcount-bits": 16,
fbe740
-                    "corrupt": false
fbe740
-                }
fbe740
+            {
fbe740
+              "flags": [
fbe740
+                "in-use",
fbe740
+                "auto"
fbe740
+              ],
fbe740
+              "name": "b",
fbe740
+              "granularity": 65536
fbe740
             },
fbe740
-            "full-backing-filename": "/tmp/pull4.1575911540",
fbe740
-            "backing-filename": "/tmp/pull4.1575911540",
fbe740
-            "dirty-flag": false
fbe740
-        },
fbe740
-        "iops_wr": 0,
fbe740
-        "ro": false,
fbe740
-        "node-name": "libvirt-1-format",
fbe740
-        "backing_file_depth": 4,
fbe740
-        "drv": "qcow2",
fbe740
-        "iops": 0,
fbe740
-        "bps_wr": 0,
fbe740
-        "write_threshold": 0,
fbe740
-        "backing_file": "/tmp/pull4.1575911540",
fbe740
-        "dirty-bitmaps": [
fbe740
             {
fbe740
-                "name": "d",
fbe740
-                "recording": false,
fbe740
-                "persistent": true,
fbe740
-                "busy": false,
fbe740
-                "status": "disabled",
fbe740
-                "granularity": 65536,
fbe740
-                "count": 0
fbe740
+              "flags": [
fbe740
+                "in-use",
fbe740
+                "auto"
fbe740
+              ],
fbe740
+              "name": "a",
fbe740
+              "granularity": 65536
fbe740
             },
fbe740
             {
fbe740
-                "name": "current",
fbe740
-                "recording": true,
fbe740
-                "persistent": true,
fbe740
-                "busy": false,
fbe740
-                "status": "active",
fbe740
-                "granularity": 65536,
fbe740
-                "count": 0
fbe740
+              "flags": [
fbe740
+                "in-use",
fbe740
+                "auto"
fbe740
+              ],
fbe740
+              "name": "d",
fbe740
+              "granularity": 65536
fbe740
             }
fbe740
-        ],
fbe740
-        "encrypted": false,
fbe740
-        "bps": 0,
fbe740
-        "bps_rd": 0,
fbe740
-        "cache": {
fbe740
-            "no-flush": false,
fbe740
-            "direct": false,
fbe740
-            "writeback": true
fbe740
-        },
fbe740
-        "file": "/tmp/pull4.1575911550",
fbe740
-        "encryption_key_missing": false
fbe740
+          ],
fbe740
+          "refcount-bits": 16,
fbe740
+          "corrupt": false
fbe740
+        }
fbe740
+      },
fbe740
+      "full-backing-filename": "/tmp/bitmaps.1591792938",
fbe740
+      "backing-filename": "/tmp/bitmaps.1591792938",
fbe740
+      "dirty-flag": false
fbe740
+    },
fbe740
+    "iops_wr": 0,
fbe740
+    "ro": false,
fbe740
+    "node-name": "libvirt-1-format",
fbe740
+    "backing_file_depth": 0,
fbe740
+    "drv": "qcow2",
fbe740
+    "iops": 0,
fbe740
+    "bps_wr": 0,
fbe740
+    "write_threshold": 0,
fbe740
+    "backing_file": "/tmp/bitmaps.1591792938",
fbe740
+    "dirty-bitmaps": [
fbe740
+      {
fbe740
+        "name": "d",
fbe740
+        "recording": true,
fbe740
+        "persistent": true,
fbe740
+        "busy": false,
fbe740
+        "status": "active",
fbe740
+        "granularity": 65536,
fbe740
+        "count": 0
fbe740
+      },
fbe740
+      {
fbe740
+        "name": "a",
fbe740
+        "recording": true,
fbe740
+        "persistent": true,
fbe740
+        "busy": false,
fbe740
+        "status": "active",
fbe740
+        "granularity": 65536,
fbe740
+        "count": 0
fbe740
+      },
fbe740
+      {
fbe740
+        "name": "b",
fbe740
+        "recording": true,
fbe740
+        "persistent": true,
fbe740
+        "busy": false,
fbe740
+        "status": "active",
fbe740
+        "granularity": 65536,
fbe740
+        "count": 0
fbe740
+      },
fbe740
+      {
fbe740
+        "name": "c",
fbe740
+        "recording": true,
fbe740
+        "persistent": true,
fbe740
+        "busy": false,
fbe740
+        "status": "active",
fbe740
+        "granularity": 65536,
fbe740
+        "count": 0
fbe740
+      },
fbe740
+      {
fbe740
+        "name": "current",
fbe740
+        "recording": true,
fbe740
+        "persistent": true,
fbe740
+        "busy": false,
fbe740
+        "status": "active",
fbe740
+        "granularity": 65536,
fbe740
+        "count": 0
fbe740
+      }
fbe740
+    ],
fbe740
+    "encrypted": false,
fbe740
+    "bps": 0,
fbe740
+    "bps_rd": 0,
fbe740
+    "cache": {
fbe740
+      "no-flush": false,
fbe740
+      "direct": false,
fbe740
+      "writeback": true
fbe740
+    },
fbe740
+    "file": "/tmp/bitmaps.1591792950",
fbe740
+    "encryption_key_missing": false
fbe740
+  },
fbe740
+  {
fbe740
+    "iops_rd": 0,
fbe740
+    "detect_zeroes": "off",
fbe740
+    "image": {
fbe740
+      "virtual-size": 590336,
fbe740
+      "filename": "/tmp/bitmaps.1591792950",
fbe740
+      "format": "file",
fbe740
+      "actual-size": 225280,
fbe740
+      "dirty-flag": false
fbe740
     },
fbe740
-    {
fbe740
-        "iops_rd": 0,
fbe740
-        "detect_zeroes": "off",
fbe740
-        "image": {
fbe740
-            "virtual-size": 393728,
fbe740
-            "filename": "/tmp/pull4.1575911550",
fbe740
-            "format": "file",
fbe740
-            "actual-size": 212992,
fbe740
-            "dirty-flag": false
fbe740
-        },
fbe740
-        "iops_wr": 0,
fbe740
-        "ro": false,
fbe740
-        "node-name": "libvirt-1-storage",
fbe740
-        "backing_file_depth": 0,
fbe740
-        "drv": "file",
fbe740
-        "iops": 0,
fbe740
-        "bps_wr": 0,
fbe740
-        "write_threshold": 0,
fbe740
-        "encrypted": false,
fbe740
-        "bps": 0,
fbe740
-        "bps_rd": 0,
fbe740
-        "cache": {
fbe740
-            "no-flush": false,
fbe740
-            "direct": false,
fbe740
-            "writeback": true
fbe740
-        },
fbe740
-        "file": "/tmp/pull4.1575911550",
fbe740
-        "encryption_key_missing": false
fbe740
+    "iops_wr": 0,
fbe740
+    "ro": false,
fbe740
+    "node-name": "libvirt-1-storage",
fbe740
+    "backing_file_depth": 0,
fbe740
+    "drv": "file",
fbe740
+    "iops": 0,
fbe740
+    "bps_wr": 0,
fbe740
+    "write_threshold": 0,
fbe740
+    "encrypted": false,
fbe740
+    "bps": 0,
fbe740
+    "bps_rd": 0,
fbe740
+    "cache": {
fbe740
+      "no-flush": false,
fbe740
+      "direct": false,
fbe740
+      "writeback": true
fbe740
     },
fbe740
-    {
fbe740
-        "iops_rd": 0,
fbe740
-        "detect_zeroes": "off",
fbe740
-        "image": {
fbe740
-            "backing-image": {
fbe740
-                "backing-image": {
fbe740
-                    "backing-image": {
fbe740
-                        "virtual-size": 10485760,
fbe740
-                        "filename": "/tmp/pull4.qcow2",
fbe740
-                        "cluster-size": 65536,
fbe740
-                        "format": "qcow2",
fbe740
-                        "actual-size": 208896,
fbe740
-                        "format-specific": {
fbe740
-                            "type": "qcow2",
fbe740
-                            "data": {
fbe740
-                                "compat": "1.1",
fbe740
-                                "lazy-refcounts": false,
fbe740
-                                "bitmaps": [
fbe740
-                                    {
fbe740
-                                        "flags": [
fbe740
-                                            "auto"
fbe740
-                                        ],
fbe740
-                                        "name": "a",
fbe740
-                                        "granularity": 65536
fbe740
-                                    }
fbe740
-                                ],
fbe740
-                                "refcount-bits": 16,
fbe740
-                                "corrupt": false
fbe740
-                            }
fbe740
-                        },
fbe740
-                        "dirty-flag": false
fbe740
-                    },
fbe740
-                    "backing-filename-format": "qcow2",
fbe740
-                    "virtual-size": 10485760,
fbe740
-                    "filename": "/tmp/pull4.1575911522",
fbe740
-                    "cluster-size": 65536,
fbe740
-                    "format": "qcow2",
fbe740
-                    "actual-size": 208896,
fbe740
-                    "format-specific": {
fbe740
-                        "type": "qcow2",
fbe740
-                        "data": {
fbe740
-                            "compat": "1.1",
fbe740
-                            "lazy-refcounts": false,
fbe740
-                            "bitmaps": [
fbe740
-                                {
fbe740
-                                    "flags": [
fbe740
-                                        "auto"
fbe740
-                                    ],
fbe740
-                                    "name": "a",
fbe740
-                                    "granularity": 65536
fbe740
-                                }
fbe740
-                            ],
fbe740
-                            "refcount-bits": 16,
fbe740
-                            "corrupt": false
fbe740
-                        }
fbe740
-                    },
fbe740
-                    "full-backing-filename": "/tmp/pull4.qcow2",
fbe740
-                    "backing-filename": "/tmp/pull4.qcow2",
fbe740
-                    "dirty-flag": false
fbe740
-                },
fbe740
-                "backing-filename-format": "qcow2",
fbe740
-                "virtual-size": 10485760,
fbe740
-                "filename": "/tmp/pull4.1575911527",
fbe740
-                "cluster-size": 65536,
fbe740
-                "format": "qcow2",
fbe740
-                "actual-size": 217088,
fbe740
-                "format-specific": {
fbe740
-                    "type": "qcow2",
fbe740
-                    "data": {
fbe740
-                        "compat": "1.1",
fbe740
-                        "lazy-refcounts": false,
fbe740
-                        "bitmaps": [
fbe740
-                            {
fbe740
-                                "flags": [
fbe740
-                                    "auto"
fbe740
-                                ],
fbe740
-                                "name": "c",
fbe740
-                                "granularity": 65536
fbe740
-                            },
fbe740
-                            {
fbe740
-                                "flags": [
fbe740
-
fbe740
-                                ],
fbe740
-                                "name": "b",
fbe740
-                                "granularity": 65536
fbe740
-                            },
fbe740
-                            {
fbe740
-                                "flags": [
fbe740
-
fbe740
-                                ],
fbe740
-                                "name": "a",
fbe740
-                                "granularity": 65536
fbe740
-                            }
fbe740
-                        ],
fbe740
-                        "refcount-bits": 16,
fbe740
-                        "corrupt": false
fbe740
-                    }
fbe740
-                },
fbe740
-                "full-backing-filename": "/tmp/pull4.1575911522",
fbe740
-                "backing-filename": "/tmp/pull4.1575911522",
fbe740
-                "dirty-flag": false
fbe740
+    "file": "/tmp/bitmaps.1591792950",
fbe740
+    "encryption_key_missing": false
fbe740
+  },
fbe740
+  {
fbe740
+    "iops_rd": 0,
fbe740
+    "detect_zeroes": "off",
fbe740
+    "image": {
fbe740
+      "backing-filename-format": "qcow2",
fbe740
+      "virtual-size": 104857600,
fbe740
+      "filename": "/tmp/bitmaps.1591792938",
fbe740
+      "cluster-size": 65536,
fbe740
+      "format": "qcow2",
fbe740
+      "actual-size": 221184,
fbe740
+      "format-specific": {
fbe740
+        "type": "qcow2",
fbe740
+        "data": {
fbe740
+          "compat": "1.1",
fbe740
+          "compression-type": "zlib",
fbe740
+          "lazy-refcounts": false,
fbe740
+          "bitmaps": [
fbe740
+            {
fbe740
+              "flags": [
fbe740
+                "auto"
fbe740
+              ],
fbe740
+              "name": "d",
fbe740
+              "granularity": 65536
fbe740
             },
fbe740
-            "backing-filename-format": "qcow2",
fbe740
-            "virtual-size": 10485760,
fbe740
-            "filename": "/tmp/pull4.1575911540",
fbe740
-            "cluster-size": 65536,
fbe740
-            "format": "qcow2",
fbe740
-            "actual-size": 212992,
fbe740
-            "format-specific": {
fbe740
-                "type": "qcow2",
fbe740
-                "data": {
fbe740
-                    "compat": "1.1",
fbe740
-                    "lazy-refcounts": false,
fbe740
-                    "bitmaps": [
fbe740
-                        {
fbe740
-                            "flags": [
fbe740
-                                "auto"
fbe740
-                            ],
fbe740
-                            "name": "d",
fbe740
-                            "granularity": 65536
fbe740
-                        },
fbe740
-                        {
fbe740
-                            "flags": [
fbe740
-
fbe740
-                            ],
fbe740
-                            "name": "c",
fbe740
-                            "granularity": 65536
fbe740
-                        }
fbe740
-                    ],
fbe740
-                    "refcount-bits": 16,
fbe740
-                    "corrupt": false
fbe740
-                }
fbe740
+            {
fbe740
+              "flags": [
fbe740
+                "auto"
fbe740
+              ],
fbe740
+              "name": "a",
fbe740
+              "granularity": 65536
fbe740
             },
fbe740
-            "full-backing-filename": "/tmp/pull4.1575911527",
fbe740
-            "backing-filename": "/tmp/pull4.1575911527",
fbe740
-            "dirty-flag": false
fbe740
-        },
fbe740
-        "iops_wr": 0,
fbe740
-        "ro": true,
fbe740
-        "node-name": "libvirt-2-format",
fbe740
-        "backing_file_depth": 3,
fbe740
-        "drv": "qcow2",
fbe740
-        "iops": 0,
fbe740
-        "bps_wr": 0,
fbe740
-        "write_threshold": 0,
fbe740
-        "backing_file": "/tmp/pull4.1575911527",
fbe740
-        "dirty-bitmaps": [
fbe740
             {
fbe740
-                "name": "c",
fbe740
-                "recording": false,
fbe740
-                "persistent": true,
fbe740
-                "busy": false,
fbe740
-                "status": "disabled",
fbe740
-                "granularity": 65536,
fbe740
-                "count": 0
fbe740
+              "flags": [
fbe740
+                "auto"
fbe740
+              ],
fbe740
+              "name": "b",
fbe740
+              "granularity": 65536
fbe740
             },
fbe740
             {
fbe740
-                "name": "d",
fbe740
-                "recording": true,
fbe740
-                "persistent": true,
fbe740
-                "busy": false,
fbe740
-                "status": "active",
fbe740
-                "granularity": 65536,
fbe740
-                "count": 0
fbe740
+              "flags": [
fbe740
+                "auto"
fbe740
+              ],
fbe740
+              "name": "c",
fbe740
+              "granularity": 65536
fbe740
             }
fbe740
-        ],
fbe740
-        "encrypted": false,
fbe740
-        "bps": 0,
fbe740
-        "bps_rd": 0,
fbe740
-        "cache": {
fbe740
-            "no-flush": false,
fbe740
-            "direct": false,
fbe740
-            "writeback": true
fbe740
-        },
fbe740
-        "file": "/tmp/pull4.1575911540",
fbe740
-        "encryption_key_missing": false
fbe740
+          ],
fbe740
+          "refcount-bits": 16,
fbe740
+          "corrupt": false
fbe740
+        }
fbe740
+      },
fbe740
+      "full-backing-filename": "/tmp/bitmaps.1591792930",
fbe740
+      "backing-filename": "/tmp/bitmaps.1591792930",
fbe740
+      "dirty-flag": false
fbe740
     },
fbe740
-    {
fbe740
-        "iops_rd": 0,
fbe740
-        "detect_zeroes": "off",
fbe740
-        "image": {
fbe740
-            "virtual-size": 393728,
fbe740
-            "filename": "/tmp/pull4.1575911540",
fbe740
-            "format": "file",
fbe740
-            "actual-size": 212992,
fbe740
-            "dirty-flag": false
fbe740
-        },
fbe740
-        "iops_wr": 0,
fbe740
-        "ro": false,
fbe740
-        "node-name": "libvirt-2-storage",
fbe740
-        "backing_file_depth": 0,
fbe740
-        "drv": "file",
fbe740
-        "iops": 0,
fbe740
-        "bps_wr": 0,
fbe740
-        "write_threshold": 0,
fbe740
-        "encrypted": false,
fbe740
-        "bps": 0,
fbe740
-        "bps_rd": 0,
fbe740
-        "cache": {
fbe740
-            "no-flush": false,
fbe740
-            "direct": false,
fbe740
-            "writeback": true
fbe740
-        },
fbe740
-        "file": "/tmp/pull4.1575911540",
fbe740
-        "encryption_key_missing": false
fbe740
+    "iops_wr": 0,
fbe740
+    "ro": true,
fbe740
+    "node-name": "libvirt-2-format",
fbe740
+    "backing_file_depth": 0,
fbe740
+    "drv": "qcow2",
fbe740
+    "iops": 0,
fbe740
+    "bps_wr": 0,
fbe740
+    "write_threshold": 0,
fbe740
+    "backing_file": "/tmp/bitmaps.1591792930",
fbe740
+    "dirty-bitmaps": [
fbe740
+      {
fbe740
+        "name": "c",
fbe740
+        "recording": true,
fbe740
+        "persistent": true,
fbe740
+        "busy": false,
fbe740
+        "status": "active",
fbe740
+        "granularity": 65536,
fbe740
+        "count": 0
fbe740
+      },
fbe740
+      {
fbe740
+        "name": "b",
fbe740
+        "recording": true,
fbe740
+        "persistent": true,
fbe740
+        "busy": false,
fbe740
+        "status": "active",
fbe740
+        "granularity": 65536,
fbe740
+        "count": 0
fbe740
+      },
fbe740
+      {
fbe740
+        "name": "a",
fbe740
+        "recording": true,
fbe740
+        "persistent": true,
fbe740
+        "busy": false,
fbe740
+        "status": "active",
fbe740
+        "granularity": 65536,
fbe740
+        "count": 0
fbe740
+      },
fbe740
+      {
fbe740
+        "name": "d",
fbe740
+        "recording": true,
fbe740
+        "persistent": true,
fbe740
+        "busy": false,
fbe740
+        "status": "active",
fbe740
+        "granularity": 65536,
fbe740
+        "count": 0
fbe740
+      }
fbe740
+    ],
fbe740
+    "encrypted": false,
fbe740
+    "bps": 0,
fbe740
+    "bps_rd": 0,
fbe740
+    "cache": {
fbe740
+      "no-flush": false,
fbe740
+      "direct": false,
fbe740
+      "writeback": true
fbe740
     },
fbe740
-    {
fbe740
-        "iops_rd": 0,
fbe740
-        "detect_zeroes": "off",
fbe740
-        "image": {
fbe740
-            "backing-image": {
fbe740
-                "backing-image": {
fbe740
-                    "virtual-size": 10485760,
fbe740
-                    "filename": "/tmp/pull4.qcow2",
fbe740
-                    "cluster-size": 65536,
fbe740
-                    "format": "qcow2",
fbe740
-                    "actual-size": 208896,
fbe740
-                    "format-specific": {
fbe740
-                        "type": "qcow2",
fbe740
-                        "data": {
fbe740
-                            "compat": "1.1",
fbe740
-                            "lazy-refcounts": false,
fbe740
-                            "bitmaps": [
fbe740
-                                {
fbe740
-                                    "flags": [
fbe740
-                                        "auto"
fbe740
-                                    ],
fbe740
-                                    "name": "a",
fbe740
-                                    "granularity": 65536
fbe740
-                                }
fbe740
-                            ],
fbe740
-                            "refcount-bits": 16,
fbe740
-                            "corrupt": false
fbe740
-                        }
fbe740
-                    },
fbe740
-                    "dirty-flag": false
fbe740
-                },
fbe740
-                "backing-filename-format": "qcow2",
fbe740
-                "virtual-size": 10485760,
fbe740
-                "filename": "/tmp/pull4.1575911522",
fbe740
-                "cluster-size": 65536,
fbe740
-                "format": "qcow2",
fbe740
-                "actual-size": 208896,
fbe740
-                "format-specific": {
fbe740
-                    "type": "qcow2",
fbe740
-                    "data": {
fbe740
-                        "compat": "1.1",
fbe740
-                        "lazy-refcounts": false,
fbe740
-                        "bitmaps": [
fbe740
-                            {
fbe740
-                                "flags": [
fbe740
-                                    "auto"
fbe740
-                                ],
fbe740
-                                "name": "a",
fbe740
-                                "granularity": 65536
fbe740
-                            }
fbe740
-                        ],
fbe740
-                        "refcount-bits": 16,
fbe740
-                        "corrupt": false
fbe740
-                    }
fbe740
-                },
fbe740
-                "full-backing-filename": "/tmp/pull4.qcow2",
fbe740
-                "backing-filename": "/tmp/pull4.qcow2",
fbe740
-                "dirty-flag": false
fbe740
-            },
fbe740
-            "backing-filename-format": "qcow2",
fbe740
-            "virtual-size": 10485760,
fbe740
-            "filename": "/tmp/pull4.1575911527",
fbe740
-            "cluster-size": 65536,
fbe740
-            "format": "qcow2",
fbe740
-            "actual-size": 217088,
fbe740
-            "format-specific": {
fbe740
-                "type": "qcow2",
fbe740
-                "data": {
fbe740
-                    "compat": "1.1",
fbe740
-                    "lazy-refcounts": false,
fbe740
-                    "bitmaps": [
fbe740
-                        {
fbe740
-                            "flags": [
fbe740
-                                "auto"
fbe740
-                            ],
fbe740
-                            "name": "c",
fbe740
-                            "granularity": 65536
fbe740
-                        },
fbe740
-                        {
fbe740
-                            "flags": [
fbe740
-
fbe740
-                            ],
fbe740
-                            "name": "b",
fbe740
-                            "granularity": 65536
fbe740
-                        },
fbe740
-                        {
fbe740
-                            "flags": [
fbe740
-
fbe740
-                            ],
fbe740
-                            "name": "a",
fbe740
-                            "granularity": 65536
fbe740
-                        }
fbe740
-                    ],
fbe740
-                    "refcount-bits": 16,
fbe740
-                    "corrupt": false
fbe740
-                }
fbe740
-            },
fbe740
-            "full-backing-filename": "/tmp/pull4.1575911522",
fbe740
-            "backing-filename": "/tmp/pull4.1575911522",
fbe740
-            "dirty-flag": false
fbe740
-        },
fbe740
-        "iops_wr": 0,
fbe740
-        "ro": true,
fbe740
-        "node-name": "libvirt-3-format",
fbe740
-        "backing_file_depth": 2,
fbe740
-        "drv": "qcow2",
fbe740
-        "iops": 0,
fbe740
-        "bps_wr": 0,
fbe740
-        "write_threshold": 0,
fbe740
-        "backing_file": "/tmp/pull4.1575911522",
fbe740
-        "dirty-bitmaps": [
fbe740
+    "file": "/tmp/bitmaps.1591792938",
fbe740
+    "encryption_key_missing": false
fbe740
+  },
fbe740
+  {
fbe740
+    "iops_rd": 0,
fbe740
+    "detect_zeroes": "off",
fbe740
+    "image": {
fbe740
+      "virtual-size": 524800,
fbe740
+      "filename": "/tmp/bitmaps.1591792938",
fbe740
+      "format": "file",
fbe740
+      "actual-size": 221184,
fbe740
+      "dirty-flag": false
fbe740
+    },
fbe740
+    "iops_wr": 0,
fbe740
+    "ro": false,
fbe740
+    "node-name": "libvirt-2-storage",
fbe740
+    "backing_file_depth": 0,
fbe740
+    "drv": "file",
fbe740
+    "iops": 0,
fbe740
+    "bps_wr": 0,
fbe740
+    "write_threshold": 0,
fbe740
+    "encrypted": false,
fbe740
+    "bps": 0,
fbe740
+    "bps_rd": 0,
fbe740
+    "cache": {
fbe740
+      "no-flush": false,
fbe740
+      "direct": false,
fbe740
+      "writeback": true
fbe740
+    },
fbe740
+    "file": "/tmp/bitmaps.1591792938",
fbe740
+    "encryption_key_missing": false
fbe740
+  },
fbe740
+  {
fbe740
+    "iops_rd": 0,
fbe740
+    "detect_zeroes": "off",
fbe740
+    "image": {
fbe740
+      "backing-filename-format": "qcow2",
fbe740
+      "virtual-size": 104857600,
fbe740
+      "filename": "/tmp/bitmaps.1591792930",
fbe740
+      "cluster-size": 65536,
fbe740
+      "format": "qcow2",
fbe740
+      "actual-size": 217088,
fbe740
+      "format-specific": {
fbe740
+        "type": "qcow2",
fbe740
+        "data": {
fbe740
+          "compat": "1.1",
fbe740
+          "compression-type": "zlib",
fbe740
+          "lazy-refcounts": false,
fbe740
+          "bitmaps": [
fbe740
             {
fbe740
-                "name": "a",
fbe740
-                "recording": false,
fbe740
-                "persistent": true,
fbe740
-                "busy": false,
fbe740
-                "status": "disabled",
fbe740
-                "granularity": 65536,
fbe740
-                "count": 0
fbe740
+              "flags": [
fbe740
+                "auto"
fbe740
+              ],
fbe740
+              "name": "c",
fbe740
+              "granularity": 65536
fbe740
             },
fbe740
             {
fbe740
-                "name": "b",
fbe740
-                "recording": false,
fbe740
-                "persistent": true,
fbe740
-                "busy": false,
fbe740
-                "status": "disabled",
fbe740
-                "granularity": 65536,
fbe740
-                "count": 0
fbe740
+              "flags": [
fbe740
+                "auto"
fbe740
+              ],
fbe740
+              "name": "b",
fbe740
+              "granularity": 65536
fbe740
             },
fbe740
             {
fbe740
-                "name": "c",
fbe740
-                "recording": true,
fbe740
-                "persistent": true,
fbe740
-                "busy": false,
fbe740
-                "status": "active",
fbe740
-                "granularity": 65536,
fbe740
-                "count": 0
fbe740
+              "flags": [
fbe740
+                "auto"
fbe740
+              ],
fbe740
+              "name": "a",
fbe740
+              "granularity": 65536
fbe740
             }
fbe740
-        ],
fbe740
-        "encrypted": false,
fbe740
-        "bps": 0,
fbe740
-        "bps_rd": 0,
fbe740
-        "cache": {
fbe740
-            "no-flush": false,
fbe740
-            "direct": false,
fbe740
-            "writeback": true
fbe740
-        },
fbe740
-        "file": "/tmp/pull4.1575911527",
fbe740
-        "encryption_key_missing": false
fbe740
+          ],
fbe740
+          "refcount-bits": 16,
fbe740
+          "corrupt": false
fbe740
+        }
fbe740
+      },
fbe740
+      "full-backing-filename": "/tmp/bitmaps.1591792925",
fbe740
+      "backing-filename": "/tmp/bitmaps.1591792925",
fbe740
+      "dirty-flag": false
fbe740
     },
fbe740
-    {
fbe740
-        "iops_rd": 0,
fbe740
-        "detect_zeroes": "off",
fbe740
-        "image": {
fbe740
-            "virtual-size": 459264,
fbe740
-            "filename": "/tmp/pull4.1575911527",
fbe740
-            "format": "file",
fbe740
-            "actual-size": 217088,
fbe740
-            "dirty-flag": false
fbe740
-        },
fbe740
-        "iops_wr": 0,
fbe740
-        "ro": false,
fbe740
-        "node-name": "libvirt-3-storage",
fbe740
-        "backing_file_depth": 0,
fbe740
-        "drv": "file",
fbe740
-        "iops": 0,
fbe740
-        "bps_wr": 0,
fbe740
-        "write_threshold": 0,
fbe740
-        "encrypted": false,
fbe740
-        "bps": 0,
fbe740
-        "bps_rd": 0,
fbe740
-        "cache": {
fbe740
-            "no-flush": false,
fbe740
-            "direct": false,
fbe740
-            "writeback": true
fbe740
-        },
fbe740
-        "file": "/tmp/pull4.1575911527",
fbe740
-        "encryption_key_missing": false
fbe740
+    "iops_wr": 0,
fbe740
+    "ro": true,
fbe740
+    "node-name": "libvirt-3-format",
fbe740
+    "backing_file_depth": 0,
fbe740
+    "drv": "qcow2",
fbe740
+    "iops": 0,
fbe740
+    "bps_wr": 0,
fbe740
+    "write_threshold": 0,
fbe740
+    "backing_file": "/tmp/bitmaps.1591792925",
fbe740
+    "dirty-bitmaps": [
fbe740
+      {
fbe740
+        "name": "a",
fbe740
+        "recording": true,
fbe740
+        "persistent": true,
fbe740
+        "busy": false,
fbe740
+        "status": "active",
fbe740
+        "granularity": 65536,
fbe740
+        "count": 0
fbe740
+      },
fbe740
+      {
fbe740
+        "name": "b",
fbe740
+        "recording": true,
fbe740
+        "persistent": true,
fbe740
+        "busy": false,
fbe740
+        "status": "active",
fbe740
+        "granularity": 65536,
fbe740
+        "count": 0
fbe740
+      },
fbe740
+      {
fbe740
+        "name": "c",
fbe740
+        "recording": true,
fbe740
+        "persistent": true,
fbe740
+        "busy": false,
fbe740
+        "status": "active",
fbe740
+        "granularity": 65536,
fbe740
+        "count": 0
fbe740
+      }
fbe740
+    ],
fbe740
+    "encrypted": false,
fbe740
+    "bps": 0,
fbe740
+    "bps_rd": 0,
fbe740
+    "cache": {
fbe740
+      "no-flush": false,
fbe740
+      "direct": false,
fbe740
+      "writeback": true
fbe740
     },
fbe740
-    {
fbe740
-        "iops_rd": 0,
fbe740
-        "detect_zeroes": "off",
fbe740
-        "image": {
fbe740
-            "backing-image": {
fbe740
-                "virtual-size": 10485760,
fbe740
-                "filename": "/tmp/pull4.qcow2",
fbe740
-                "cluster-size": 65536,
fbe740
-                "format": "qcow2",
fbe740
-                "actual-size": 208896,
fbe740
-                "format-specific": {
fbe740
-                    "type": "qcow2",
fbe740
-                    "data": {
fbe740
-                        "compat": "1.1",
fbe740
-                        "lazy-refcounts": false,
fbe740
-                        "bitmaps": [
fbe740
-                            {
fbe740
-                                "flags": [
fbe740
-                                    "auto"
fbe740
-                                ],
fbe740
-                                "name": "a",
fbe740
-                                "granularity": 65536
fbe740
-                            }
fbe740
-                        ],
fbe740
-                        "refcount-bits": 16,
fbe740
-                        "corrupt": false
fbe740
-                    }
fbe740
-                },
fbe740
-                "dirty-flag": false
fbe740
-            },
fbe740
-            "backing-filename-format": "qcow2",
fbe740
-            "virtual-size": 10485760,
fbe740
-            "filename": "/tmp/pull4.1575911522",
fbe740
-            "cluster-size": 65536,
fbe740
-            "format": "qcow2",
fbe740
-            "actual-size": 208896,
fbe740
-            "format-specific": {
fbe740
-                "type": "qcow2",
fbe740
-                "data": {
fbe740
-                    "compat": "1.1",
fbe740
-                    "lazy-refcounts": false,
fbe740
-                    "bitmaps": [
fbe740
-                        {
fbe740
-                            "flags": [
fbe740
-                                "auto"
fbe740
-                            ],
fbe740
-                            "name": "a",
fbe740
-                            "granularity": 65536
fbe740
-                        }
fbe740
-                    ],
fbe740
-                    "refcount-bits": 16,
fbe740
-                    "corrupt": false
fbe740
-                }
fbe740
-            },
fbe740
-            "full-backing-filename": "/tmp/pull4.qcow2",
fbe740
-            "backing-filename": "/tmp/pull4.qcow2",
fbe740
-            "dirty-flag": false
fbe740
-        },
fbe740
-        "iops_wr": 0,
fbe740
-        "ro": true,
fbe740
-        "node-name": "libvirt-4-format",
fbe740
-        "backing_file_depth": 1,
fbe740
-        "drv": "qcow2",
fbe740
-        "iops": 0,
fbe740
-        "bps_wr": 0,
fbe740
-        "write_threshold": 0,
fbe740
-        "backing_file": "/tmp/pull4.qcow2",
fbe740
-        "dirty-bitmaps": [
fbe740
+    "file": "/tmp/bitmaps.1591792930",
fbe740
+    "encryption_key_missing": false
fbe740
+  },
fbe740
+  {
fbe740
+    "iops_rd": 0,
fbe740
+    "detect_zeroes": "off",
fbe740
+    "image": {
fbe740
+      "virtual-size": 459264,
fbe740
+      "filename": "/tmp/bitmaps.1591792930",
fbe740
+      "format": "file",
fbe740
+      "actual-size": 217088,
fbe740
+      "dirty-flag": false
fbe740
+    },
fbe740
+    "iops_wr": 0,
fbe740
+    "ro": false,
fbe740
+    "node-name": "libvirt-3-storage",
fbe740
+    "backing_file_depth": 0,
fbe740
+    "drv": "file",
fbe740
+    "iops": 0,
fbe740
+    "bps_wr": 0,
fbe740
+    "write_threshold": 0,
fbe740
+    "encrypted": false,
fbe740
+    "bps": 0,
fbe740
+    "bps_rd": 0,
fbe740
+    "cache": {
fbe740
+      "no-flush": false,
fbe740
+      "direct": false,
fbe740
+      "writeback": true
fbe740
+    },
fbe740
+    "file": "/tmp/bitmaps.1591792930",
fbe740
+    "encryption_key_missing": false
fbe740
+  },
fbe740
+  {
fbe740
+    "iops_rd": 0,
fbe740
+    "detect_zeroes": "off",
fbe740
+    "image": {
fbe740
+      "backing-filename-format": "qcow2",
fbe740
+      "virtual-size": 104857600,
fbe740
+      "filename": "/tmp/bitmaps.1591792925",
fbe740
+      "cluster-size": 65536,
fbe740
+      "format": "qcow2",
fbe740
+      "actual-size": 208896,
fbe740
+      "format-specific": {
fbe740
+        "type": "qcow2",
fbe740
+        "data": {
fbe740
+          "compat": "1.1",
fbe740
+          "compression-type": "zlib",
fbe740
+          "lazy-refcounts": false,
fbe740
+          "bitmaps": [
fbe740
             {
fbe740
-                "name": "a",
fbe740
-                "recording": true,
fbe740
-                "persistent": true,
fbe740
-                "busy": false,
fbe740
-                "status": "active",
fbe740
-                "granularity": 65536,
fbe740
-                "count": 0
fbe740
+              "flags": [
fbe740
+                "auto"
fbe740
+              ],
fbe740
+              "name": "a",
fbe740
+              "granularity": 65536
fbe740
             }
fbe740
-        ],
fbe740
-        "encrypted": false,
fbe740
-        "bps": 0,
fbe740
-        "bps_rd": 0,
fbe740
-        "cache": {
fbe740
-            "no-flush": false,
fbe740
-            "direct": false,
fbe740
-            "writeback": true
fbe740
-        },
fbe740
-        "file": "/tmp/pull4.1575911522",
fbe740
-        "encryption_key_missing": false
fbe740
+          ],
fbe740
+          "refcount-bits": 16,
fbe740
+          "corrupt": false
fbe740
+        }
fbe740
+      },
fbe740
+      "full-backing-filename": "/tmp/bitmaps.qcow2",
fbe740
+      "backing-filename": "/tmp/bitmaps.qcow2",
fbe740
+      "dirty-flag": false
fbe740
     },
fbe740
-    {
fbe740
-        "iops_rd": 0,
fbe740
-        "detect_zeroes": "off",
fbe740
-        "image": {
fbe740
-            "virtual-size": 328192,
fbe740
-            "filename": "/tmp/pull4.1575911522",
fbe740
-            "format": "file",
fbe740
-            "actual-size": 208896,
fbe740
-            "dirty-flag": false
fbe740
-        },
fbe740
-        "iops_wr": 0,
fbe740
-        "ro": false,
fbe740
-        "node-name": "libvirt-4-storage",
fbe740
-        "backing_file_depth": 0,
fbe740
-        "drv": "file",
fbe740
-        "iops": 0,
fbe740
-        "bps_wr": 0,
fbe740
-        "write_threshold": 0,
fbe740
-        "encrypted": false,
fbe740
-        "bps": 0,
fbe740
-        "bps_rd": 0,
fbe740
-        "cache": {
fbe740
-            "no-flush": false,
fbe740
-            "direct": false,
fbe740
-            "writeback": true
fbe740
-        },
fbe740
-        "file": "/tmp/pull4.1575911522",
fbe740
-        "encryption_key_missing": false
fbe740
+    "iops_wr": 0,
fbe740
+    "ro": true,
fbe740
+    "node-name": "libvirt-4-format",
fbe740
+    "backing_file_depth": 0,
fbe740
+    "drv": "qcow2",
fbe740
+    "iops": 0,
fbe740
+    "bps_wr": 0,
fbe740
+    "write_threshold": 0,
fbe740
+    "backing_file": "/tmp/bitmaps.qcow2",
fbe740
+    "dirty-bitmaps": [
fbe740
+      {
fbe740
+        "name": "a",
fbe740
+        "recording": true,
fbe740
+        "persistent": true,
fbe740
+        "busy": false,
fbe740
+        "status": "active",
fbe740
+        "granularity": 65536,
fbe740
+        "count": 0
fbe740
+      }
fbe740
+    ],
fbe740
+    "encrypted": false,
fbe740
+    "bps": 0,
fbe740
+    "bps_rd": 0,
fbe740
+    "cache": {
fbe740
+      "no-flush": false,
fbe740
+      "direct": false,
fbe740
+      "writeback": true
fbe740
     },
fbe740
-    {
fbe740
-        "iops_rd": 0,
fbe740
-        "detect_zeroes": "off",
fbe740
-        "image": {
fbe740
-            "virtual-size": 10485760,
fbe740
-            "filename": "/tmp/pull4.qcow2",
fbe740
-            "cluster-size": 65536,
fbe740
-            "format": "qcow2",
fbe740
-            "actual-size": 208896,
fbe740
-            "format-specific": {
fbe740
-                "type": "qcow2",
fbe740
-                "data": {
fbe740
-                    "compat": "1.1",
fbe740
-                    "lazy-refcounts": false,
fbe740
-                    "bitmaps": [
fbe740
-                        {
fbe740
-                            "flags": [
fbe740
-                                "auto"
fbe740
-                            ],
fbe740
-                            "name": "a",
fbe740
-                            "granularity": 65536
fbe740
-                        }
fbe740
-                    ],
fbe740
-                    "refcount-bits": 16,
fbe740
-                    "corrupt": false
fbe740
-                }
fbe740
-            },
fbe740
-            "dirty-flag": false
fbe740
-        },
fbe740
-        "iops_wr": 0,
fbe740
-        "ro": true,
fbe740
-        "node-name": "libvirt-5-format",
fbe740
-        "backing_file_depth": 0,
fbe740
-        "drv": "qcow2",
fbe740
-        "iops": 0,
fbe740
-        "bps_wr": 0,
fbe740
-        "write_threshold": 0,
fbe740
-        "dirty-bitmaps": [
fbe740
+    "file": "/tmp/bitmaps.1591792925",
fbe740
+    "encryption_key_missing": false
fbe740
+  },
fbe740
+  {
fbe740
+    "iops_rd": 0,
fbe740
+    "detect_zeroes": "off",
fbe740
+    "image": {
fbe740
+      "virtual-size": 328192,
fbe740
+      "filename": "/tmp/bitmaps.1591792925",
fbe740
+      "format": "file",
fbe740
+      "actual-size": 208896,
fbe740
+      "dirty-flag": false
fbe740
+    },
fbe740
+    "iops_wr": 0,
fbe740
+    "ro": false,
fbe740
+    "node-name": "libvirt-4-storage",
fbe740
+    "backing_file_depth": 0,
fbe740
+    "drv": "file",
fbe740
+    "iops": 0,
fbe740
+    "bps_wr": 0,
fbe740
+    "write_threshold": 0,
fbe740
+    "encrypted": false,
fbe740
+    "bps": 0,
fbe740
+    "bps_rd": 0,
fbe740
+    "cache": {
fbe740
+      "no-flush": false,
fbe740
+      "direct": false,
fbe740
+      "writeback": true
fbe740
+    },
fbe740
+    "file": "/tmp/bitmaps.1591792925",
fbe740
+    "encryption_key_missing": false
fbe740
+  },
fbe740
+  {
fbe740
+    "iops_rd": 0,
fbe740
+    "detect_zeroes": "off",
fbe740
+    "image": {
fbe740
+      "virtual-size": 104857600,
fbe740
+      "filename": "/tmp/bitmaps.qcow2",
fbe740
+      "cluster-size": 65536,
fbe740
+      "format": "qcow2",
fbe740
+      "actual-size": 208896,
fbe740
+      "format-specific": {
fbe740
+        "type": "qcow2",
fbe740
+        "data": {
fbe740
+          "compat": "1.1",
fbe740
+          "compression-type": "zlib",
fbe740
+          "lazy-refcounts": false,
fbe740
+          "bitmaps": [
fbe740
             {
fbe740
-                "name": "a",
fbe740
-                "recording": true,
fbe740
-                "persistent": true,
fbe740
-                "busy": false,
fbe740
-                "status": "active",
fbe740
-                "granularity": 65536,
fbe740
-                "count": 0
fbe740
+              "flags": [
fbe740
+                "auto"
fbe740
+              ],
fbe740
+              "name": "a",
fbe740
+              "granularity": 65536
fbe740
             }
fbe740
-        ],
fbe740
-        "encrypted": false,
fbe740
-        "bps": 0,
fbe740
-        "bps_rd": 0,
fbe740
-        "cache": {
fbe740
-            "no-flush": false,
fbe740
-            "direct": false,
fbe740
-            "writeback": true
fbe740
-        },
fbe740
-        "file": "/tmp/pull4.qcow2",
fbe740
-        "encryption_key_missing": false
fbe740
+          ],
fbe740
+          "refcount-bits": 16,
fbe740
+          "corrupt": false
fbe740
+        }
fbe740
+      },
fbe740
+      "dirty-flag": false
fbe740
+    },
fbe740
+    "iops_wr": 0,
fbe740
+    "ro": true,
fbe740
+    "node-name": "libvirt-5-format",
fbe740
+    "backing_file_depth": 0,
fbe740
+    "drv": "qcow2",
fbe740
+    "iops": 0,
fbe740
+    "bps_wr": 0,
fbe740
+    "write_threshold": 0,
fbe740
+    "dirty-bitmaps": [
fbe740
+      {
fbe740
+        "name": "a",
fbe740
+        "recording": true,
fbe740
+        "persistent": true,
fbe740
+        "busy": false,
fbe740
+        "status": "active",
fbe740
+        "granularity": 65536,
fbe740
+        "count": 0
fbe740
+      }
fbe740
+    ],
fbe740
+    "encrypted": false,
fbe740
+    "bps": 0,
fbe740
+    "bps_rd": 0,
fbe740
+    "cache": {
fbe740
+      "no-flush": false,
fbe740
+      "direct": false,
fbe740
+      "writeback": true
fbe740
+    },
fbe740
+    "file": "/tmp/bitmaps.qcow2",
fbe740
+    "encryption_key_missing": false
fbe740
+  },
fbe740
+  {
fbe740
+    "iops_rd": 0,
fbe740
+    "detect_zeroes": "off",
fbe740
+    "image": {
fbe740
+      "virtual-size": 328192,
fbe740
+      "filename": "/tmp/bitmaps.qcow2",
fbe740
+      "format": "file",
fbe740
+      "actual-size": 208896,
fbe740
+      "dirty-flag": false
fbe740
+    },
fbe740
+    "iops_wr": 0,
fbe740
+    "ro": false,
fbe740
+    "node-name": "libvirt-5-storage",
fbe740
+    "backing_file_depth": 0,
fbe740
+    "drv": "file",
fbe740
+    "iops": 0,
fbe740
+    "bps_wr": 0,
fbe740
+    "write_threshold": 0,
fbe740
+    "encrypted": false,
fbe740
+    "bps": 0,
fbe740
+    "bps_rd": 0,
fbe740
+    "cache": {
fbe740
+      "no-flush": false,
fbe740
+      "direct": false,
fbe740
+      "writeback": true
fbe740
     },
fbe740
-    {
fbe740
-        "iops_rd": 0,
fbe740
-        "detect_zeroes": "off",
fbe740
-        "image": {
fbe740
-            "virtual-size": 328192,
fbe740
-            "filename": "/tmp/pull4.qcow2",
fbe740
-            "format": "file",
fbe740
-            "actual-size": 208896,
fbe740
-            "dirty-flag": false
fbe740
-        },
fbe740
-        "iops_wr": 0,
fbe740
-        "ro": false,
fbe740
-        "node-name": "libvirt-5-storage",
fbe740
-        "backing_file_depth": 0,
fbe740
-        "drv": "file",
fbe740
-        "iops": 0,
fbe740
-        "bps_wr": 0,
fbe740
-        "write_threshold": 0,
fbe740
-        "encrypted": false,
fbe740
-        "bps": 0,
fbe740
-        "bps_rd": 0,
fbe740
-        "cache": {
fbe740
-            "no-flush": false,
fbe740
-            "direct": false,
fbe740
-            "writeback": true
fbe740
-        },
fbe740
-        "file": "/tmp/pull4.qcow2",
fbe740
-        "encryption_key_missing": false
fbe740
-    }
fbe740
+    "file": "/tmp/bitmaps.qcow2",
fbe740
+    "encryption_key_missing": false
fbe740
+  }
fbe740
 ]
fbe740
diff --git a/tests/qemublocktestdata/bitmap/snapshots.out b/tests/qemublocktestdata/bitmap/snapshots.out
fbe740
index 5dafe946cf..24ca27e4d8 100644
fbe740
--- a/tests/qemublocktestdata/bitmap/snapshots.out
fbe740
+++ b/tests/qemublocktestdata/bitmap/snapshots.out
fbe740
@@ -1,12 +1,17 @@
fbe740
 libvirt-1-format:
fbe740
-        d: record:0 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
+        d: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
+        a: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
+        b: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
+        c: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
   current: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
 libvirt-2-format:
fbe740
-        c: record:0 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
+        c: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
+        b: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
+        a: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
         d: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
 libvirt-3-format:
fbe740
-        a: record:0 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
-        b: record:0 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
+        a: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
+        b: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
         c: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
 libvirt-4-format:
fbe740
         a: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
fbe740
-- 
fbe740
2.27.0
fbe740