render / rpms / libvirt

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