aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2014-05-22 13:28:45 +0200
committerKevin Wolf <kwolf@redhat.com>2014-12-10 10:31:09 +0100
commit9e193c5a652faff719d7186e27f680e3888925a6 (patch)
treea1e25e3f0078e5d407440252e6dd26c744c87455 /tests
parent729962f6db43bf262a446f5e13d900ffb3c54a88 (diff)
block/qapi: Add cache information to query-block
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/qemu-iotests/051.out1
-rw-r--r--tests/qemu-iotests/067.out25
2 files changed, 26 insertions, 0 deletions
diff --git a/tests/qemu-iotests/051.out b/tests/qemu-iotests/051.out
index 2c7e808765..7f161342a2 100644
--- a/tests/qemu-iotests/051.out
+++ b/tests/qemu-iotests/051.out
@@ -50,6 +50,7 @@ Testing: -drive file=TEST_DIR/t.qcow2,driver=qcow2,backing.file.filename=TEST_DI
QEMU X.Y.Z monitor - type 'help' for more information
(qemu) iininfinfoinfo info binfo blinfo bloinfo blocinfo block
ide0-hd0: TEST_DIR/t.qcow2 (qcow2)
+ Cache mode: writeback
Backing file: TEST_DIR/t.qcow2.orig (chain depth: 1)
(qemu) qququiquit
diff --git a/tests/qemu-iotests/067.out b/tests/qemu-iotests/067.out
index 929dc745e6..7c3735f181 100644
--- a/tests/qemu-iotests/067.out
+++ b/tests/qemu-iotests/067.out
@@ -46,6 +46,11 @@ Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,if=none,id=disk -device virti
"encrypted": false,
"bps": 0,
"bps_rd": 0,
+ "cache": {
+ "no-flush": false,
+ "direct": false,
+ "writeback": true
+ },
"file": "TEST_DIR/t.qcow2",
"encryption_key_missing": false
},
@@ -216,6 +221,11 @@ Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,if=none,id=disk
"encrypted": false,
"bps": 0,
"bps_rd": 0,
+ "cache": {
+ "no-flush": false,
+ "direct": false,
+ "writeback": true
+ },
"file": "TEST_DIR/t.qcow2",
"encryption_key_missing": false
},
@@ -416,6 +426,11 @@ Testing:
"encrypted": false,
"bps": 0,
"bps_rd": 0,
+ "cache": {
+ "no-flush": false,
+ "direct": false,
+ "writeback": true
+ },
"file": "TEST_DIR/t.qcow2",
"encryption_key_missing": false
},
@@ -595,6 +610,11 @@ Testing:
"encrypted": false,
"bps": 0,
"bps_rd": 0,
+ "cache": {
+ "no-flush": false,
+ "direct": false,
+ "writeback": true
+ },
"file": "TEST_DIR/t.qcow2",
"encryption_key_missing": false
},
@@ -700,6 +720,11 @@ Testing:
"encrypted": false,
"bps": 0,
"bps_rd": 0,
+ "cache": {
+ "no-flush": false,
+ "direct": false,
+ "writeback": true
+ },
"file": "TEST_DIR/t.qcow2",
"encryption_key_missing": false
},