提交 de323970 编写于 作者: P Peter Krempa

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 9aac9d5bSigned-off-by: NPeter Krempa <pkrempa@redhat.com>
Reviewed-by: NEric Blake <eblake@redhat.com>
上级 1f92aa45
[ [
{ {
"iops_rd": 0, "iops_rd": 0,
"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,
"format-specific": { "format-specific": {
"type": "qcow2", "type": "qcow2",
"data": { "data": {
"compat": "1.1", "compat": "1.1",
"lazy-refcounts": false, "compression-type": "zlib",
"refcount-bits": 16, "lazy-refcounts": false,
"corrupt": false "refcount-bits": 16,
} "corrupt": false
}, }
"dirty-flag": false },
}, "dirty-flag": false
"iops_wr": 0,
"ro": false,
"node-name": "libvirt-1-format",
"backing_file_depth": 0,
"drv": "qcow2",
"iops": 0,
"bps_wr": 0,
"write_threshold": 0,
"dirty-bitmaps": [
{
"name": "current",
"recording": true,
"persistent": true,
"busy": false,
"status": "active",
"granularity": 65536,
"count": 0
},
{
"name": "d",
"recording": false,
"persistent": true,
"busy": false,
"status": "disabled",
"granularity": 65536,
"count": 0
},
{
"name": "c",
"recording": false,
"persistent": true,
"busy": false,
"status": "disabled",
"granularity": 65536,
"count": 0
},
{
"name": "b",
"recording": false,
"persistent": true,
"busy": false,
"status": "disabled",
"granularity": 65536,
"count": 0
},
{
"name": "a",
"recording": false,
"persistent": true,
"busy": false,
"status": "disabled",
"granularity": 65536,
"count": 0
}
],
"encrypted": false,
"bps": 0,
"bps_rd": 0,
"cache": {
"no-flush": false,
"direct": false,
"writeback": true
},
"file": "/tmp/pull4.qcow2",
"encryption_key_missing": false
}, },
{ "iops_wr": 0,
"iops_rd": 0, "ro": false,
"detect_zeroes": "off", "node-name": "libvirt-1-format",
"image": { "backing_file_depth": 0,
"virtual-size": 197120, "drv": "qcow2",
"filename": "/tmp/pull4.qcow2", "iops": 0,
"format": "file", "bps_wr": 0,
"actual-size": 200704, "write_threshold": 0,
"dirty-flag": false "dirty-bitmaps": [
}, {
"iops_wr": 0, "name": "current",
"ro": false, "recording": true,
"node-name": "libvirt-1-storage", "persistent": true,
"backing_file_depth": 0, "busy": false,
"drv": "file", "status": "active",
"iops": 0, "granularity": 65536,
"bps_wr": 0, "count": 0
"write_threshold": 0, },
"encrypted": false, {
"bps": 0, "name": "d",
"bps_rd": 0, "recording": true,
"cache": { "persistent": true,
"no-flush": false, "busy": false,
"direct": false, "status": "active",
"writeback": true "granularity": 65536,
}, "count": 0
"file": "/tmp/pull4.qcow2", },
"encryption_key_missing": false {
} "name": "c",
"recording": true,
"persistent": true,
"busy": false,
"status": "active",
"granularity": 65536,
"count": 0
},
{
"name": "b",
"recording": true,
"persistent": true,
"busy": false,
"status": "active",
"granularity": 65536,
"count": 0
},
{
"name": "a",
"recording": true,
"persistent": true,
"busy": false,
"status": "active",
"granularity": 65536,
"count": 0
}
],
"encrypted": false,
"bps": 0,
"bps_rd": 0,
"cache": {
"no-flush": false,
"direct": false,
"writeback": true
},
"file": "/tmp/bitmaps.qcow2",
"encryption_key_missing": false
},
{
"iops_rd": 0,
"detect_zeroes": "off",
"image": {
"virtual-size": 197120,
"filename": "/tmp/bitmaps.qcow2",
"format": "file",
"actual-size": 200704,
"dirty-flag": false
},
"iops_wr": 0,
"ro": false,
"node-name": "libvirt-1-storage",
"backing_file_depth": 0,
"drv": "file",
"iops": 0,
"bps_wr": 0,
"write_threshold": 0,
"encrypted": false,
"bps": 0,
"bps_rd": 0,
"cache": {
"no-flush": false,
"direct": false,
"writeback": true
},
"file": "/tmp/bitmaps.qcow2",
"encryption_key_missing": false
}
] ]
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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册