1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

qemublocktest: Replace 'basic' bitmap detection test case data

Use test data which conforms to the new semantics which changed in the
previous patch.

The test data was created by the same set of commands as originally in
commit 9aac9d5bda

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Peter Krempa 2020-05-29 12:40:32 +02:00
parent 1f92aa454a
commit de32397007
2 changed files with 119 additions and 118 deletions

View File

@ -4,7 +4,7 @@
"detect_zeroes": "off", "detect_zeroes": "off",
"image": { "image": {
"virtual-size": 10485760, "virtual-size": 10485760,
"filename": "/tmp/pull4.qcow2", "filename": "/tmp/bitmaps.qcow2",
"cluster-size": 65536, "cluster-size": 65536,
"format": "qcow2", "format": "qcow2",
"actual-size": 200704, "actual-size": 200704,
@ -12,6 +12,7 @@
"type": "qcow2", "type": "qcow2",
"data": { "data": {
"compat": "1.1", "compat": "1.1",
"compression-type": "zlib",
"lazy-refcounts": false, "lazy-refcounts": false,
"refcount-bits": 16, "refcount-bits": 16,
"corrupt": false "corrupt": false
@ -39,37 +40,37 @@
}, },
{ {
"name": "d", "name": "d",
"recording": false, "recording": true,
"persistent": true, "persistent": true,
"busy": false, "busy": false,
"status": "disabled", "status": "active",
"granularity": 65536, "granularity": 65536,
"count": 0 "count": 0
}, },
{ {
"name": "c", "name": "c",
"recording": false, "recording": true,
"persistent": true, "persistent": true,
"busy": false, "busy": false,
"status": "disabled", "status": "active",
"granularity": 65536, "granularity": 65536,
"count": 0 "count": 0
}, },
{ {
"name": "b", "name": "b",
"recording": false, "recording": true,
"persistent": true, "persistent": true,
"busy": false, "busy": false,
"status": "disabled", "status": "active",
"granularity": 65536, "granularity": 65536,
"count": 0 "count": 0
}, },
{ {
"name": "a", "name": "a",
"recording": false, "recording": true,
"persistent": true, "persistent": true,
"busy": false, "busy": false,
"status": "disabled", "status": "active",
"granularity": 65536, "granularity": 65536,
"count": 0 "count": 0
} }
@ -82,7 +83,7 @@
"direct": false, "direct": false,
"writeback": true "writeback": true
}, },
"file": "/tmp/pull4.qcow2", "file": "/tmp/bitmaps.qcow2",
"encryption_key_missing": false "encryption_key_missing": false
}, },
{ {
@ -90,7 +91,7 @@
"detect_zeroes": "off", "detect_zeroes": "off",
"image": { "image": {
"virtual-size": 197120, "virtual-size": 197120,
"filename": "/tmp/pull4.qcow2", "filename": "/tmp/bitmaps.qcow2",
"format": "file", "format": "file",
"actual-size": 200704, "actual-size": 200704,
"dirty-flag": false "dirty-flag": false
@ -111,7 +112,7 @@
"direct": false, "direct": false,
"writeback": true "writeback": true
}, },
"file": "/tmp/pull4.qcow2", "file": "/tmp/bitmaps.qcow2",
"encryption_key_missing": false "encryption_key_missing": false
} }
] ]

View File

@ -1,6 +1,6 @@
libvirt-1-format: libvirt-1-format:
current: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0 current: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
d: record:0 busy:0 persist:1 inconsist:0 gran:65536 dirty:0 d: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
c: record:0 busy:0 persist:1 inconsist:0 gran:65536 dirty:0 c: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
b: record:0 busy:0 persist:1 inconsist:0 gran:65536 dirty:0 b: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0
a: record:0 busy:0 persist:1 inconsist:0 gran:65536 dirty:0 a: record:1 busy:0 persist:1 inconsist:0 gran:65536 dirty:0