xref: /qemu/tests/qemu-iotests/191.out (revision f2ec48fefd172a8dd20cb0073087d659aca9578c)
17c61a4a3SKevin WolfQA output created by 191
27c61a4a3SKevin Wolf
37c61a4a3SKevin Wolf=== Preparing and starting VM ===
47c61a4a3SKevin Wolf
57c61a4a3SKevin WolfFormatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
6760c4d43SKevin WolfFormatting 'TEST_DIR/t.IMGFMT.mid', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
7b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing_fmt=IMGFMT
8b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT.ovl2', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing_fmt=IMGFMT
97c61a4a3SKevin Wolfwrote 65536/65536 bytes at offset 1048576
107c61a4a3SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
11a98b1a1fSEric Blake{ 'execute': 'qmp_capabilities' }
127c61a4a3SKevin Wolf{
137c61a4a3SKevin Wolf    "return": {
147c61a4a3SKevin Wolf    }
157c61a4a3SKevin Wolf}
167c61a4a3SKevin Wolf
177c61a4a3SKevin Wolf=== Perform commit job ===
187c61a4a3SKevin Wolf
190e720781SMax Reitz{ 'execute': 'block-commit',
200e720781SMax Reitz       'arguments': { 'job-id': 'commit0',
210e720781SMax Reitz                      'device': 'top',
220e720781SMax Reitz                      'base':'TEST_DIR/t.IMGFMT.base',
230e720781SMax Reitz                      'top': 'TEST_DIR/t.IMGFMT.mid' } }
247c61a4a3SKevin Wolf{
251dac83f1SKevin Wolf    "timestamp": {
261dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
271dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
281dac83f1SKevin Wolf    },
291dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
301dac83f1SKevin Wolf    "data": {
311dac83f1SKevin Wolf        "status": "created",
321dac83f1SKevin Wolf        "id": "commit0"
331dac83f1SKevin Wolf    }
341dac83f1SKevin Wolf}
351dac83f1SKevin Wolf{
361dac83f1SKevin Wolf    "timestamp": {
371dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
381dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
391dac83f1SKevin Wolf    },
401dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
411dac83f1SKevin Wolf    "data": {
421dac83f1SKevin Wolf        "status": "running",
431dac83f1SKevin Wolf        "id": "commit0"
441dac83f1SKevin Wolf    }
451dac83f1SKevin Wolf}
461dac83f1SKevin Wolf{
477c61a4a3SKevin Wolf    "return": {
487c61a4a3SKevin Wolf    }
497c61a4a3SKevin Wolf}
507c61a4a3SKevin Wolf{
517c61a4a3SKevin Wolf    "timestamp": {
527c61a4a3SKevin Wolf        "seconds":  TIMESTAMP,
537c61a4a3SKevin Wolf        "microseconds":  TIMESTAMP
547c61a4a3SKevin Wolf    },
551dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
561dac83f1SKevin Wolf    "data": {
571dac83f1SKevin Wolf        "status": "waiting",
581dac83f1SKevin Wolf        "id": "commit0"
591dac83f1SKevin Wolf    }
601dac83f1SKevin Wolf}
611dac83f1SKevin Wolf{
621dac83f1SKevin Wolf    "timestamp": {
631dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
641dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
651dac83f1SKevin Wolf    },
661dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
671dac83f1SKevin Wolf    "data": {
681dac83f1SKevin Wolf        "status": "pending",
691dac83f1SKevin Wolf        "id": "commit0"
701dac83f1SKevin Wolf    }
711dac83f1SKevin Wolf}
721dac83f1SKevin Wolf{
731dac83f1SKevin Wolf    "timestamp": {
741dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
751dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
761dac83f1SKevin Wolf    },
777c61a4a3SKevin Wolf    "event": "BLOCK_JOB_COMPLETED",
787c61a4a3SKevin Wolf    "data": {
797c61a4a3SKevin Wolf        "device": "commit0",
807c61a4a3SKevin Wolf        "len": 67108864,
817c61a4a3SKevin Wolf        "offset": 67108864,
827c61a4a3SKevin Wolf        "speed": 0,
837c61a4a3SKevin Wolf        "type": "commit"
847c61a4a3SKevin Wolf    }
857c61a4a3SKevin Wolf}
861dac83f1SKevin Wolf{
871dac83f1SKevin Wolf    "timestamp": {
881dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
891dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
901dac83f1SKevin Wolf    },
911dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
921dac83f1SKevin Wolf    "data": {
931dac83f1SKevin Wolf        "status": "concluded",
941dac83f1SKevin Wolf        "id": "commit0"
951dac83f1SKevin Wolf    }
961dac83f1SKevin Wolf}
971dac83f1SKevin Wolf{
981dac83f1SKevin Wolf    "timestamp": {
991dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
1001dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
1011dac83f1SKevin Wolf    },
1021dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
1031dac83f1SKevin Wolf    "data": {
1041dac83f1SKevin Wolf        "status": "null",
1051dac83f1SKevin Wolf        "id": "commit0"
1061dac83f1SKevin Wolf    }
1071dac83f1SKevin Wolf}
1087c61a4a3SKevin Wolf
1097c61a4a3SKevin Wolf=== Check that both top and top2 point to base now ===
1107c61a4a3SKevin Wolf
111a98b1a1fSEric Blake{ 'execute': 'query-named-block-nodes' }
1127c61a4a3SKevin Wolf{
1137c61a4a3SKevin Wolf    "return": [
1147c61a4a3SKevin Wolf        {
1157c61a4a3SKevin Wolf            "iops_rd": 0,
1167c61a4a3SKevin Wolf            "detect_zeroes": "off",
117*aec81049SKevin Wolf            "active": true,
1187c61a4a3SKevin Wolf            "image": {
1197c61a4a3SKevin Wolf                "backing-image": {
1207c61a4a3SKevin Wolf                    "virtual-size": 67108864,
1212483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
1227c61a4a3SKevin Wolf                    "cluster-size": 65536,
1232483537eSMax Reitz                    "format": "IMGFMT",
124b66df843SMax Reitz                    "actual-size": SIZE,
1257c61a4a3SKevin Wolf                    "dirty-flag": false
1267c61a4a3SKevin Wolf                },
1272483537eSMax Reitz                "backing-filename-format": "IMGFMT",
1287c61a4a3SKevin Wolf                "virtual-size": 67108864,
1292483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl2",
1307c61a4a3SKevin Wolf                "cluster-size": 65536,
1312483537eSMax Reitz                "format": "IMGFMT",
132b66df843SMax Reitz                "actual-size": SIZE,
1332483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
1342483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
1357c61a4a3SKevin Wolf                "dirty-flag": false
1367c61a4a3SKevin Wolf            },
1377c61a4a3SKevin Wolf            "iops_wr": 0,
1387c61a4a3SKevin Wolf            "ro": false,
1397c61a4a3SKevin Wolf            "node-name": "top2",
1407c61a4a3SKevin Wolf            "backing_file_depth": 1,
1412483537eSMax Reitz            "drv": "IMGFMT",
1427c61a4a3SKevin Wolf            "iops": 0,
1437c61a4a3SKevin Wolf            "bps_wr": 0,
1447c61a4a3SKevin Wolf            "write_threshold": 0,
1452483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
1467c61a4a3SKevin Wolf            "encrypted": false,
1477c61a4a3SKevin Wolf            "bps": 0,
1487c61a4a3SKevin Wolf            "bps_rd": 0,
1497c61a4a3SKevin Wolf            "cache": {
1507c61a4a3SKevin Wolf                "no-flush": false,
1517c61a4a3SKevin Wolf                "direct": false,
1527c61a4a3SKevin Wolf                "writeback": true
1537c61a4a3SKevin Wolf            },
154ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.ovl2"
1557c61a4a3SKevin Wolf        },
1567c61a4a3SKevin Wolf        {
1577c61a4a3SKevin Wolf            "iops_rd": 0,
1587c61a4a3SKevin Wolf            "detect_zeroes": "off",
159*aec81049SKevin Wolf            "active": true,
1607c61a4a3SKevin Wolf            "image": {
1617c61a4a3SKevin Wolf                "virtual-size": 197120,
1622483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl2",
1637c61a4a3SKevin Wolf                "format": "file",
164b66df843SMax Reitz                "actual-size": SIZE,
1657c61a4a3SKevin Wolf                "dirty-flag": false
1667c61a4a3SKevin Wolf            },
1677c61a4a3SKevin Wolf            "iops_wr": 0,
1687c61a4a3SKevin Wolf            "ro": false,
1697c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
1707c61a4a3SKevin Wolf            "backing_file_depth": 0,
1717c61a4a3SKevin Wolf            "drv": "file",
1727c61a4a3SKevin Wolf            "iops": 0,
1737c61a4a3SKevin Wolf            "bps_wr": 0,
1747c61a4a3SKevin Wolf            "write_threshold": 0,
1757c61a4a3SKevin Wolf            "encrypted": false,
1767c61a4a3SKevin Wolf            "bps": 0,
1777c61a4a3SKevin Wolf            "bps_rd": 0,
1787c61a4a3SKevin Wolf            "cache": {
1797c61a4a3SKevin Wolf                "no-flush": false,
1807c61a4a3SKevin Wolf                "direct": false,
1817c61a4a3SKevin Wolf                "writeback": true
1827c61a4a3SKevin Wolf            },
183ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.ovl2"
1847c61a4a3SKevin Wolf        },
1857c61a4a3SKevin Wolf        {
1867c61a4a3SKevin Wolf            "iops_rd": 0,
1877c61a4a3SKevin Wolf            "detect_zeroes": "off",
188*aec81049SKevin Wolf            "active": true,
1897c61a4a3SKevin Wolf            "image": {
1907c61a4a3SKevin Wolf                "backing-image": {
1917c61a4a3SKevin Wolf                    "virtual-size": 67108864,
1922483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
1937c61a4a3SKevin Wolf                    "cluster-size": 65536,
1942483537eSMax Reitz                    "format": "IMGFMT",
195b66df843SMax Reitz                    "actual-size": SIZE,
1967c61a4a3SKevin Wolf                    "dirty-flag": false
1977c61a4a3SKevin Wolf                },
1982483537eSMax Reitz                "backing-filename-format": "IMGFMT",
1997c61a4a3SKevin Wolf                "virtual-size": 67108864,
2002483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT",
2017c61a4a3SKevin Wolf                "cluster-size": 65536,
2022483537eSMax Reitz                "format": "IMGFMT",
203b66df843SMax Reitz                "actual-size": SIZE,
2042483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
2052483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
2067c61a4a3SKevin Wolf                "dirty-flag": false
2077c61a4a3SKevin Wolf            },
2087c61a4a3SKevin Wolf            "iops_wr": 0,
2097c61a4a3SKevin Wolf            "ro": false,
2107c61a4a3SKevin Wolf            "node-name": "top",
2117c61a4a3SKevin Wolf            "backing_file_depth": 1,
2122483537eSMax Reitz            "drv": "IMGFMT",
2137c61a4a3SKevin Wolf            "iops": 0,
2147c61a4a3SKevin Wolf            "bps_wr": 0,
2157c61a4a3SKevin Wolf            "write_threshold": 0,
2162483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
2177c61a4a3SKevin Wolf            "encrypted": false,
2187c61a4a3SKevin Wolf            "bps": 0,
2197c61a4a3SKevin Wolf            "bps_rd": 0,
2207c61a4a3SKevin Wolf            "cache": {
2217c61a4a3SKevin Wolf                "no-flush": false,
2227c61a4a3SKevin Wolf                "direct": false,
2237c61a4a3SKevin Wolf                "writeback": true
2247c61a4a3SKevin Wolf            },
225ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT"
2267c61a4a3SKevin Wolf        },
2277c61a4a3SKevin Wolf        {
2287c61a4a3SKevin Wolf            "iops_rd": 0,
2297c61a4a3SKevin Wolf            "detect_zeroes": "off",
230*aec81049SKevin Wolf            "active": true,
2317c61a4a3SKevin Wolf            "image": {
2327c61a4a3SKevin Wolf                "virtual-size": 197120,
2332483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT",
2347c61a4a3SKevin Wolf                "format": "file",
235b66df843SMax Reitz                "actual-size": SIZE,
2367c61a4a3SKevin Wolf                "dirty-flag": false
2377c61a4a3SKevin Wolf            },
2387c61a4a3SKevin Wolf            "iops_wr": 0,
2397c61a4a3SKevin Wolf            "ro": false,
2407c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
2417c61a4a3SKevin Wolf            "backing_file_depth": 0,
2427c61a4a3SKevin Wolf            "drv": "file",
2437c61a4a3SKevin Wolf            "iops": 0,
2447c61a4a3SKevin Wolf            "bps_wr": 0,
2457c61a4a3SKevin Wolf            "write_threshold": 0,
2467c61a4a3SKevin Wolf            "encrypted": false,
2477c61a4a3SKevin Wolf            "bps": 0,
2487c61a4a3SKevin Wolf            "bps_rd": 0,
2497c61a4a3SKevin Wolf            "cache": {
2507c61a4a3SKevin Wolf                "no-flush": false,
2517c61a4a3SKevin Wolf                "direct": false,
2527c61a4a3SKevin Wolf                "writeback": true
2537c61a4a3SKevin Wolf            },
254ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT"
2557c61a4a3SKevin Wolf        },
2567c61a4a3SKevin Wolf        {
2577c61a4a3SKevin Wolf            "iops_rd": 0,
2587c61a4a3SKevin Wolf            "detect_zeroes": "off",
259*aec81049SKevin Wolf            "active": true,
2607c61a4a3SKevin Wolf            "image": {
2617c61a4a3SKevin Wolf                "backing-image": {
2627c61a4a3SKevin Wolf                    "virtual-size": 67108864,
2632483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
2647c61a4a3SKevin Wolf                    "cluster-size": 65536,
2652483537eSMax Reitz                    "format": "IMGFMT",
266b66df843SMax Reitz                    "actual-size": SIZE,
2677c61a4a3SKevin Wolf                    "dirty-flag": false
2687c61a4a3SKevin Wolf                },
2692483537eSMax Reitz                "backing-filename-format": "IMGFMT",
2707c61a4a3SKevin Wolf                "virtual-size": 67108864,
2712483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.mid",
2727c61a4a3SKevin Wolf                "cluster-size": 65536,
2732483537eSMax Reitz                "format": "IMGFMT",
274b66df843SMax Reitz                "actual-size": SIZE,
2752483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
2762483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
2777c61a4a3SKevin Wolf                "dirty-flag": false
2787c61a4a3SKevin Wolf            },
2797c61a4a3SKevin Wolf            "iops_wr": 0,
2807c61a4a3SKevin Wolf            "ro": false,
2817c61a4a3SKevin Wolf            "node-name": "mid",
2827c61a4a3SKevin Wolf            "backing_file_depth": 1,
2832483537eSMax Reitz            "drv": "IMGFMT",
2847c61a4a3SKevin Wolf            "iops": 0,
2857c61a4a3SKevin Wolf            "bps_wr": 0,
2867c61a4a3SKevin Wolf            "write_threshold": 0,
2872483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
2887c61a4a3SKevin Wolf            "encrypted": false,
2897c61a4a3SKevin Wolf            "bps": 0,
2907c61a4a3SKevin Wolf            "bps_rd": 0,
2917c61a4a3SKevin Wolf            "cache": {
2927c61a4a3SKevin Wolf                "no-flush": false,
2937c61a4a3SKevin Wolf                "direct": false,
2947c61a4a3SKevin Wolf                "writeback": true
2957c61a4a3SKevin Wolf            },
296ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.mid"
2977c61a4a3SKevin Wolf        },
2987c61a4a3SKevin Wolf        {
2997c61a4a3SKevin Wolf            "iops_rd": 0,
3007c61a4a3SKevin Wolf            "detect_zeroes": "off",
301*aec81049SKevin Wolf            "active": true,
3027c61a4a3SKevin Wolf            "image": {
3037c61a4a3SKevin Wolf                "virtual-size": 393216,
3042483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.mid",
3057c61a4a3SKevin Wolf                "format": "file",
306b66df843SMax Reitz                "actual-size": SIZE,
3077c61a4a3SKevin Wolf                "dirty-flag": false
3087c61a4a3SKevin Wolf            },
3097c61a4a3SKevin Wolf            "iops_wr": 0,
3107c61a4a3SKevin Wolf            "ro": false,
3117c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
3127c61a4a3SKevin Wolf            "backing_file_depth": 0,
3137c61a4a3SKevin Wolf            "drv": "file",
3147c61a4a3SKevin Wolf            "iops": 0,
3157c61a4a3SKevin Wolf            "bps_wr": 0,
3167c61a4a3SKevin Wolf            "write_threshold": 0,
3177c61a4a3SKevin Wolf            "encrypted": false,
3187c61a4a3SKevin Wolf            "bps": 0,
3197c61a4a3SKevin Wolf            "bps_rd": 0,
3207c61a4a3SKevin Wolf            "cache": {
3217c61a4a3SKevin Wolf                "no-flush": false,
3227c61a4a3SKevin Wolf                "direct": false,
3237c61a4a3SKevin Wolf                "writeback": true
3247c61a4a3SKevin Wolf            },
325ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.mid"
3267c61a4a3SKevin Wolf        },
3277c61a4a3SKevin Wolf        {
3287c61a4a3SKevin Wolf            "iops_rd": 0,
3297c61a4a3SKevin Wolf            "detect_zeroes": "off",
330*aec81049SKevin Wolf            "active": true,
3317c61a4a3SKevin Wolf            "image": {
3327c61a4a3SKevin Wolf                "virtual-size": 67108864,
3332483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.base",
3347c61a4a3SKevin Wolf                "cluster-size": 65536,
3352483537eSMax Reitz                "format": "IMGFMT",
336b66df843SMax Reitz                "actual-size": SIZE,
3377c61a4a3SKevin Wolf                "dirty-flag": false
3387c61a4a3SKevin Wolf            },
3397c61a4a3SKevin Wolf            "iops_wr": 0,
3407c61a4a3SKevin Wolf            "ro": false,
3417c61a4a3SKevin Wolf            "node-name": "base",
3427c61a4a3SKevin Wolf            "backing_file_depth": 0,
3432483537eSMax Reitz            "drv": "IMGFMT",
3447c61a4a3SKevin Wolf            "iops": 0,
3457c61a4a3SKevin Wolf            "bps_wr": 0,
3467c61a4a3SKevin Wolf            "write_threshold": 0,
3477c61a4a3SKevin Wolf            "encrypted": false,
3487c61a4a3SKevin Wolf            "bps": 0,
3497c61a4a3SKevin Wolf            "bps_rd": 0,
3507c61a4a3SKevin Wolf            "cache": {
3517c61a4a3SKevin Wolf                "no-flush": false,
3527c61a4a3SKevin Wolf                "direct": false,
3537c61a4a3SKevin Wolf                "writeback": true
3547c61a4a3SKevin Wolf            },
355ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.base"
3567c61a4a3SKevin Wolf        },
3577c61a4a3SKevin Wolf        {
3587c61a4a3SKevin Wolf            "iops_rd": 0,
3597c61a4a3SKevin Wolf            "detect_zeroes": "off",
360*aec81049SKevin Wolf            "active": true,
3617c61a4a3SKevin Wolf            "image": {
3627c61a4a3SKevin Wolf                "virtual-size": 393216,
3632483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.base",
3647c61a4a3SKevin Wolf                "format": "file",
365b66df843SMax Reitz                "actual-size": SIZE,
3667c61a4a3SKevin Wolf                "dirty-flag": false
3677c61a4a3SKevin Wolf            },
3687c61a4a3SKevin Wolf            "iops_wr": 0,
3697c61a4a3SKevin Wolf            "ro": false,
3707c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
3717c61a4a3SKevin Wolf            "backing_file_depth": 0,
3727c61a4a3SKevin Wolf            "drv": "file",
3737c61a4a3SKevin Wolf            "iops": 0,
3747c61a4a3SKevin Wolf            "bps_wr": 0,
3757c61a4a3SKevin Wolf            "write_threshold": 0,
3767c61a4a3SKevin Wolf            "encrypted": false,
3777c61a4a3SKevin Wolf            "bps": 0,
3787c61a4a3SKevin Wolf            "bps_rd": 0,
3797c61a4a3SKevin Wolf            "cache": {
3807c61a4a3SKevin Wolf                "no-flush": false,
3817c61a4a3SKevin Wolf                "direct": false,
3827c61a4a3SKevin Wolf                "writeback": true
3837c61a4a3SKevin Wolf            },
384ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.base"
3857c61a4a3SKevin Wolf        }
3867c61a4a3SKevin Wolf    ]
3877c61a4a3SKevin Wolf}
388a98b1a1fSEric Blake{ 'execute': 'quit' }
3897c61a4a3SKevin Wolf{
3907c61a4a3SKevin Wolf    "timestamp": {
3917c61a4a3SKevin Wolf        "seconds":  TIMESTAMP,
3927c61a4a3SKevin Wolf        "microseconds":  TIMESTAMP
3937c61a4a3SKevin Wolf    },
3947c61a4a3SKevin Wolf    "event": "SHUTDOWN",
3957c61a4a3SKevin Wolf    "data": {
396ecd7a0d5SDominik Csapak        "guest": false,
39792548938SDominik Csapak        "reason": "host-qmp-quit"
3987c61a4a3SKevin Wolf    }
3997c61a4a3SKevin Wolf}
400effd60c8SStefan Hajnoczi{
401effd60c8SStefan Hajnoczi    "return": {
402effd60c8SStefan Hajnoczi    }
403effd60c8SStefan Hajnoczi}
4047c61a4a3SKevin Wolfimage: TEST_DIR/t.IMGFMT
4057c61a4a3SKevin Wolffile format: IMGFMT
406de38b500SEric Blakevirtual size: 64 MiB (67108864 bytes)
4077c61a4a3SKevin Wolfcluster_size: 65536
4087c61a4a3SKevin Wolfbacking file: TEST_DIR/t.IMGFMT.base
4097c61a4a3SKevin Wolfbacking file format: IMGFMT
4107c61a4a3SKevin Wolfimage: TEST_DIR/t.IMGFMT.ovl2
4117c61a4a3SKevin Wolffile format: IMGFMT
412de38b500SEric Blakevirtual size: 64 MiB (67108864 bytes)
4137c61a4a3SKevin Wolfcluster_size: 65536
4147c61a4a3SKevin Wolfbacking file: TEST_DIR/t.IMGFMT.base
4157c61a4a3SKevin Wolfbacking file format: IMGFMT
4167c61a4a3SKevin Wolf
4177c61a4a3SKevin Wolf=== Preparing and starting VM with -drive ===
4187c61a4a3SKevin Wolf
4197c61a4a3SKevin WolfFormatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
420b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT.mid', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
421b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing_fmt=IMGFMT
422b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT.ovl2', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing_fmt=IMGFMT
423b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT.ovl3', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.ovl2 backing_fmt=IMGFMT
4247c61a4a3SKevin Wolfwrote 65536/65536 bytes at offset 1048576
4257c61a4a3SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
426a98b1a1fSEric Blake{ 'execute': 'qmp_capabilities' }
4277c61a4a3SKevin Wolf{
4287c61a4a3SKevin Wolf    "return": {
4297c61a4a3SKevin Wolf    }
4307c61a4a3SKevin Wolf}
4317c61a4a3SKevin Wolf
4327c61a4a3SKevin Wolf=== Perform commit job ===
4337c61a4a3SKevin Wolf
4340e720781SMax Reitz{ 'execute': 'block-commit',
4350e720781SMax Reitz       'arguments': { 'job-id': 'commit0',
4360e720781SMax Reitz                      'device': 'top',
4370e720781SMax Reitz                      'base':'TEST_DIR/t.IMGFMT.base',
4380e720781SMax Reitz                      'top': 'TEST_DIR/t.IMGFMT.mid' } }
4397c61a4a3SKevin Wolf{
4401dac83f1SKevin Wolf    "timestamp": {
4411dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
4421dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
4431dac83f1SKevin Wolf    },
4441dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
4451dac83f1SKevin Wolf    "data": {
4461dac83f1SKevin Wolf        "status": "created",
4471dac83f1SKevin Wolf        "id": "commit0"
4481dac83f1SKevin Wolf    }
4491dac83f1SKevin Wolf}
4501dac83f1SKevin Wolf{
4511dac83f1SKevin Wolf    "timestamp": {
4521dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
4531dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
4541dac83f1SKevin Wolf    },
4551dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
4561dac83f1SKevin Wolf    "data": {
4571dac83f1SKevin Wolf        "status": "running",
4581dac83f1SKevin Wolf        "id": "commit0"
4591dac83f1SKevin Wolf    }
4601dac83f1SKevin Wolf}
4611dac83f1SKevin Wolf{
4627c61a4a3SKevin Wolf    "return": {
4637c61a4a3SKevin Wolf    }
4647c61a4a3SKevin Wolf}
4657c61a4a3SKevin Wolf{
4667c61a4a3SKevin Wolf    "timestamp": {
4677c61a4a3SKevin Wolf        "seconds":  TIMESTAMP,
4687c61a4a3SKevin Wolf        "microseconds":  TIMESTAMP
4697c61a4a3SKevin Wolf    },
4701dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
4711dac83f1SKevin Wolf    "data": {
4721dac83f1SKevin Wolf        "status": "waiting",
4731dac83f1SKevin Wolf        "id": "commit0"
4741dac83f1SKevin Wolf    }
4751dac83f1SKevin Wolf}
4761dac83f1SKevin Wolf{
4771dac83f1SKevin Wolf    "timestamp": {
4781dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
4791dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
4801dac83f1SKevin Wolf    },
4811dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
4821dac83f1SKevin Wolf    "data": {
4831dac83f1SKevin Wolf        "status": "pending",
4841dac83f1SKevin Wolf        "id": "commit0"
4851dac83f1SKevin Wolf    }
4861dac83f1SKevin Wolf}
4871dac83f1SKevin Wolf{
4881dac83f1SKevin Wolf    "timestamp": {
4891dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
4901dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
4911dac83f1SKevin Wolf    },
4927c61a4a3SKevin Wolf    "event": "BLOCK_JOB_COMPLETED",
4937c61a4a3SKevin Wolf    "data": {
4947c61a4a3SKevin Wolf        "device": "commit0",
4957c61a4a3SKevin Wolf        "len": 67108864,
4967c61a4a3SKevin Wolf        "offset": 67108864,
4977c61a4a3SKevin Wolf        "speed": 0,
4987c61a4a3SKevin Wolf        "type": "commit"
4997c61a4a3SKevin Wolf    }
5007c61a4a3SKevin Wolf}
5011dac83f1SKevin Wolf{
5021dac83f1SKevin Wolf    "timestamp": {
5031dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
5041dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
5051dac83f1SKevin Wolf    },
5061dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
5071dac83f1SKevin Wolf    "data": {
5081dac83f1SKevin Wolf        "status": "concluded",
5091dac83f1SKevin Wolf        "id": "commit0"
5101dac83f1SKevin Wolf    }
5111dac83f1SKevin Wolf}
5121dac83f1SKevin Wolf{
5131dac83f1SKevin Wolf    "timestamp": {
5141dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
5151dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
5161dac83f1SKevin Wolf    },
5171dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
5181dac83f1SKevin Wolf    "data": {
5191dac83f1SKevin Wolf        "status": "null",
5201dac83f1SKevin Wolf        "id": "commit0"
5211dac83f1SKevin Wolf    }
5221dac83f1SKevin Wolf}
5237c61a4a3SKevin Wolf
5247c61a4a3SKevin Wolf=== Check that both top and top2 point to base now ===
5257c61a4a3SKevin Wolf
526a98b1a1fSEric Blake{ 'execute': 'query-named-block-nodes' }
5277c61a4a3SKevin Wolf{
5287c61a4a3SKevin Wolf    "return": [
5297c61a4a3SKevin Wolf        {
5307c61a4a3SKevin Wolf            "iops_rd": 0,
5317c61a4a3SKevin Wolf            "detect_zeroes": "off",
532*aec81049SKevin Wolf            "active": true,
5337c61a4a3SKevin Wolf            "image": {
5347c61a4a3SKevin Wolf                "backing-image": {
5357c61a4a3SKevin Wolf                    "virtual-size": 67108864,
5362483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
5377c61a4a3SKevin Wolf                    "cluster-size": 65536,
5382483537eSMax Reitz                    "format": "IMGFMT",
539b66df843SMax Reitz                    "actual-size": SIZE,
5407c61a4a3SKevin Wolf                    "dirty-flag": false
5417c61a4a3SKevin Wolf                },
5422483537eSMax Reitz                "backing-filename-format": "IMGFMT",
5437c61a4a3SKevin Wolf                "virtual-size": 67108864,
5442483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl2",
5457c61a4a3SKevin Wolf                "cluster-size": 65536,
5462483537eSMax Reitz                "format": "IMGFMT",
547b66df843SMax Reitz                "actual-size": SIZE,
5482483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
5492483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
5507c61a4a3SKevin Wolf                "dirty-flag": false
5517c61a4a3SKevin Wolf            },
5527c61a4a3SKevin Wolf            "iops_wr": 0,
5537c61a4a3SKevin Wolf            "ro": true,
5547c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
5557c61a4a3SKevin Wolf            "backing_file_depth": 1,
5562483537eSMax Reitz            "drv": "IMGFMT",
5577c61a4a3SKevin Wolf            "iops": 0,
5587c61a4a3SKevin Wolf            "bps_wr": 0,
5597c61a4a3SKevin Wolf            "write_threshold": 0,
5602483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
5617c61a4a3SKevin Wolf            "encrypted": false,
5627c61a4a3SKevin Wolf            "bps": 0,
5637c61a4a3SKevin Wolf            "bps_rd": 0,
5647c61a4a3SKevin Wolf            "cache": {
5657c61a4a3SKevin Wolf                "no-flush": false,
5667c61a4a3SKevin Wolf                "direct": false,
5677c61a4a3SKevin Wolf                "writeback": true
5687c61a4a3SKevin Wolf            },
569ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.ovl2"
5707c61a4a3SKevin Wolf        },
5717c61a4a3SKevin Wolf        {
5727c61a4a3SKevin Wolf            "iops_rd": 0,
5737c61a4a3SKevin Wolf            "detect_zeroes": "off",
574*aec81049SKevin Wolf            "active": true,
5757c61a4a3SKevin Wolf            "image": {
5767c61a4a3SKevin Wolf                "virtual-size": 197120,
5772483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl2",
5787c61a4a3SKevin Wolf                "format": "file",
579b66df843SMax Reitz                "actual-size": SIZE,
5807c61a4a3SKevin Wolf                "dirty-flag": false
5817c61a4a3SKevin Wolf            },
5827c61a4a3SKevin Wolf            "iops_wr": 0,
5837c61a4a3SKevin Wolf            "ro": true,
5847c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
5857c61a4a3SKevin Wolf            "backing_file_depth": 0,
5867c61a4a3SKevin Wolf            "drv": "file",
5877c61a4a3SKevin Wolf            "iops": 0,
5887c61a4a3SKevin Wolf            "bps_wr": 0,
5897c61a4a3SKevin Wolf            "write_threshold": 0,
5907c61a4a3SKevin Wolf            "encrypted": false,
5917c61a4a3SKevin Wolf            "bps": 0,
5927c61a4a3SKevin Wolf            "bps_rd": 0,
5937c61a4a3SKevin Wolf            "cache": {
5947c61a4a3SKevin Wolf                "no-flush": false,
5957c61a4a3SKevin Wolf                "direct": false,
5967c61a4a3SKevin Wolf                "writeback": true
5977c61a4a3SKevin Wolf            },
598ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.ovl2"
5997c61a4a3SKevin Wolf        },
6007c61a4a3SKevin Wolf        {
6017c61a4a3SKevin Wolf            "iops_rd": 0,
6027c61a4a3SKevin Wolf            "detect_zeroes": "off",
603*aec81049SKevin Wolf            "active": true,
6047c61a4a3SKevin Wolf            "image": {
6057c61a4a3SKevin Wolf                "backing-image": {
6067c61a4a3SKevin Wolf                    "backing-image": {
6077c61a4a3SKevin Wolf                        "virtual-size": 67108864,
6082483537eSMax Reitz                        "filename": "TEST_DIR/t.IMGFMT.base",
6097c61a4a3SKevin Wolf                        "cluster-size": 65536,
6102483537eSMax Reitz                        "format": "IMGFMT",
611b66df843SMax Reitz                        "actual-size": SIZE,
6127c61a4a3SKevin Wolf                        "dirty-flag": false
6137c61a4a3SKevin Wolf                    },
6142483537eSMax Reitz                    "backing-filename-format": "IMGFMT",
6157c61a4a3SKevin Wolf                    "virtual-size": 67108864,
6162483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.ovl2",
6177c61a4a3SKevin Wolf                    "cluster-size": 65536,
6182483537eSMax Reitz                    "format": "IMGFMT",
619b66df843SMax Reitz                    "actual-size": SIZE,
6202483537eSMax Reitz                    "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
6212483537eSMax Reitz                    "backing-filename": "TEST_DIR/t.IMGFMT.base",
6227c61a4a3SKevin Wolf                    "dirty-flag": false
6237c61a4a3SKevin Wolf                },
6242483537eSMax Reitz                "backing-filename-format": "IMGFMT",
6257c61a4a3SKevin Wolf                "virtual-size": 67108864,
6262483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl3",
6277c61a4a3SKevin Wolf                "cluster-size": 65536,
6282483537eSMax Reitz                "format": "IMGFMT",
629b66df843SMax Reitz                "actual-size": SIZE,
6302483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.ovl2",
6312483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.ovl2",
6327c61a4a3SKevin Wolf                "dirty-flag": false
6337c61a4a3SKevin Wolf            },
6347c61a4a3SKevin Wolf            "iops_wr": 0,
6357c61a4a3SKevin Wolf            "ro": false,
6367c61a4a3SKevin Wolf            "node-name": "top2",
6377c61a4a3SKevin Wolf            "backing_file_depth": 2,
6382483537eSMax Reitz            "drv": "IMGFMT",
6397c61a4a3SKevin Wolf            "iops": 0,
6407c61a4a3SKevin Wolf            "bps_wr": 0,
6417c61a4a3SKevin Wolf            "write_threshold": 0,
6422483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.ovl2",
6437c61a4a3SKevin Wolf            "encrypted": false,
6447c61a4a3SKevin Wolf            "bps": 0,
6457c61a4a3SKevin Wolf            "bps_rd": 0,
6467c61a4a3SKevin Wolf            "cache": {
6477c61a4a3SKevin Wolf                "no-flush": false,
6487c61a4a3SKevin Wolf                "direct": false,
6497c61a4a3SKevin Wolf                "writeback": true
6507c61a4a3SKevin Wolf            },
651ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.ovl3"
6527c61a4a3SKevin Wolf        },
6537c61a4a3SKevin Wolf        {
6547c61a4a3SKevin Wolf            "iops_rd": 0,
6557c61a4a3SKevin Wolf            "detect_zeroes": "off",
656*aec81049SKevin Wolf            "active": true,
6577c61a4a3SKevin Wolf            "image": {
6587c61a4a3SKevin Wolf                "virtual-size": 197120,
6592483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl3",
6607c61a4a3SKevin Wolf                "format": "file",
661b66df843SMax Reitz                "actual-size": SIZE,
6627c61a4a3SKevin Wolf                "dirty-flag": false
6637c61a4a3SKevin Wolf            },
6647c61a4a3SKevin Wolf            "iops_wr": 0,
6657c61a4a3SKevin Wolf            "ro": false,
6667c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
6677c61a4a3SKevin Wolf            "backing_file_depth": 0,
6687c61a4a3SKevin Wolf            "drv": "file",
6697c61a4a3SKevin Wolf            "iops": 0,
6707c61a4a3SKevin Wolf            "bps_wr": 0,
6717c61a4a3SKevin Wolf            "write_threshold": 0,
6727c61a4a3SKevin Wolf            "encrypted": false,
6737c61a4a3SKevin Wolf            "bps": 0,
6747c61a4a3SKevin Wolf            "bps_rd": 0,
6757c61a4a3SKevin Wolf            "cache": {
6767c61a4a3SKevin Wolf                "no-flush": false,
6777c61a4a3SKevin Wolf                "direct": false,
6787c61a4a3SKevin Wolf                "writeback": true
6797c61a4a3SKevin Wolf            },
680ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.ovl3"
6817c61a4a3SKevin Wolf        },
6827c61a4a3SKevin Wolf        {
6837c61a4a3SKevin Wolf            "iops_rd": 0,
6847c61a4a3SKevin Wolf            "detect_zeroes": "off",
685*aec81049SKevin Wolf            "active": true,
6867c61a4a3SKevin Wolf            "image": {
6877c61a4a3SKevin Wolf                "virtual-size": 67108864,
6882483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.base",
6897c61a4a3SKevin Wolf                "cluster-size": 65536,
6902483537eSMax Reitz                "format": "IMGFMT",
691b66df843SMax Reitz                "actual-size": SIZE,
6927c61a4a3SKevin Wolf                "dirty-flag": false
6937c61a4a3SKevin Wolf            },
6947c61a4a3SKevin Wolf            "iops_wr": 0,
6957c61a4a3SKevin Wolf            "ro": true,
6967c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
6977c61a4a3SKevin Wolf            "backing_file_depth": 0,
6982483537eSMax Reitz            "drv": "IMGFMT",
6997c61a4a3SKevin Wolf            "iops": 0,
7007c61a4a3SKevin Wolf            "bps_wr": 0,
7017c61a4a3SKevin Wolf            "write_threshold": 0,
7027c61a4a3SKevin Wolf            "encrypted": false,
7037c61a4a3SKevin Wolf            "bps": 0,
7047c61a4a3SKevin Wolf            "bps_rd": 0,
7057c61a4a3SKevin Wolf            "cache": {
7067c61a4a3SKevin Wolf                "no-flush": false,
7077c61a4a3SKevin Wolf                "direct": false,
7087c61a4a3SKevin Wolf                "writeback": true
7097c61a4a3SKevin Wolf            },
710ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.base"
7117c61a4a3SKevin Wolf        },
7127c61a4a3SKevin Wolf        {
7137c61a4a3SKevin Wolf            "iops_rd": 0,
7147c61a4a3SKevin Wolf            "detect_zeroes": "off",
715*aec81049SKevin Wolf            "active": true,
7167c61a4a3SKevin Wolf            "image": {
7177c61a4a3SKevin Wolf                "virtual-size": 393216,
7182483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.base",
7197c61a4a3SKevin Wolf                "format": "file",
720b66df843SMax Reitz                "actual-size": SIZE,
7217c61a4a3SKevin Wolf                "dirty-flag": false
7227c61a4a3SKevin Wolf            },
7237c61a4a3SKevin Wolf            "iops_wr": 0,
7247c61a4a3SKevin Wolf            "ro": true,
7257c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
7267c61a4a3SKevin Wolf            "backing_file_depth": 0,
7277c61a4a3SKevin Wolf            "drv": "file",
7287c61a4a3SKevin Wolf            "iops": 0,
7297c61a4a3SKevin Wolf            "bps_wr": 0,
7307c61a4a3SKevin Wolf            "write_threshold": 0,
7317c61a4a3SKevin Wolf            "encrypted": false,
7327c61a4a3SKevin Wolf            "bps": 0,
7337c61a4a3SKevin Wolf            "bps_rd": 0,
7347c61a4a3SKevin Wolf            "cache": {
7357c61a4a3SKevin Wolf                "no-flush": false,
7367c61a4a3SKevin Wolf                "direct": false,
7377c61a4a3SKevin Wolf                "writeback": true
7387c61a4a3SKevin Wolf            },
739ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.base"
7407c61a4a3SKevin Wolf        },
7417c61a4a3SKevin Wolf        {
7427c61a4a3SKevin Wolf            "iops_rd": 0,
7437c61a4a3SKevin Wolf            "detect_zeroes": "off",
744*aec81049SKevin Wolf            "active": true,
7457c61a4a3SKevin Wolf            "image": {
7467c61a4a3SKevin Wolf                "backing-image": {
7477c61a4a3SKevin Wolf                    "virtual-size": 67108864,
7482483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
7497c61a4a3SKevin Wolf                    "cluster-size": 65536,
7502483537eSMax Reitz                    "format": "IMGFMT",
751b66df843SMax Reitz                    "actual-size": SIZE,
7527c61a4a3SKevin Wolf                    "dirty-flag": false
7537c61a4a3SKevin Wolf                },
7542483537eSMax Reitz                "backing-filename-format": "IMGFMT",
7557c61a4a3SKevin Wolf                "virtual-size": 67108864,
7562483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT",
7577c61a4a3SKevin Wolf                "cluster-size": 65536,
7582483537eSMax Reitz                "format": "IMGFMT",
759b66df843SMax Reitz                "actual-size": SIZE,
7602483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
7612483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
7627c61a4a3SKevin Wolf                "dirty-flag": false
7637c61a4a3SKevin Wolf            },
7647c61a4a3SKevin Wolf            "iops_wr": 0,
7657c61a4a3SKevin Wolf            "ro": false,
7667c61a4a3SKevin Wolf            "node-name": "top",
7677c61a4a3SKevin Wolf            "backing_file_depth": 1,
7682483537eSMax Reitz            "drv": "IMGFMT",
7697c61a4a3SKevin Wolf            "iops": 0,
7707c61a4a3SKevin Wolf            "bps_wr": 0,
7717c61a4a3SKevin Wolf            "write_threshold": 0,
7722483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
7737c61a4a3SKevin Wolf            "encrypted": false,
7747c61a4a3SKevin Wolf            "bps": 0,
7757c61a4a3SKevin Wolf            "bps_rd": 0,
7767c61a4a3SKevin Wolf            "cache": {
7777c61a4a3SKevin Wolf                "no-flush": false,
7787c61a4a3SKevin Wolf                "direct": false,
7797c61a4a3SKevin Wolf                "writeback": true
7807c61a4a3SKevin Wolf            },
781ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT"
7827c61a4a3SKevin Wolf        },
7837c61a4a3SKevin Wolf        {
7847c61a4a3SKevin Wolf            "iops_rd": 0,
7857c61a4a3SKevin Wolf            "detect_zeroes": "off",
786*aec81049SKevin Wolf            "active": true,
7877c61a4a3SKevin Wolf            "image": {
7887c61a4a3SKevin Wolf                "virtual-size": 197120,
7892483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT",
7907c61a4a3SKevin Wolf                "format": "file",
791b66df843SMax Reitz                "actual-size": SIZE,
7927c61a4a3SKevin Wolf                "dirty-flag": false
7937c61a4a3SKevin Wolf            },
7947c61a4a3SKevin Wolf            "iops_wr": 0,
7957c61a4a3SKevin Wolf            "ro": false,
7967c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
7977c61a4a3SKevin Wolf            "backing_file_depth": 0,
7987c61a4a3SKevin Wolf            "drv": "file",
7997c61a4a3SKevin Wolf            "iops": 0,
8007c61a4a3SKevin Wolf            "bps_wr": 0,
8017c61a4a3SKevin Wolf            "write_threshold": 0,
8027c61a4a3SKevin Wolf            "encrypted": false,
8037c61a4a3SKevin Wolf            "bps": 0,
8047c61a4a3SKevin Wolf            "bps_rd": 0,
8057c61a4a3SKevin Wolf            "cache": {
8067c61a4a3SKevin Wolf                "no-flush": false,
8077c61a4a3SKevin Wolf                "direct": false,
8087c61a4a3SKevin Wolf                "writeback": true
8097c61a4a3SKevin Wolf            },
810ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT"
8117c61a4a3SKevin Wolf        }
8127c61a4a3SKevin Wolf    ]
8137c61a4a3SKevin Wolf}
814a98b1a1fSEric Blake{ 'execute': 'quit' }
8157c61a4a3SKevin Wolf{
8167c61a4a3SKevin Wolf    "timestamp": {
8177c61a4a3SKevin Wolf        "seconds":  TIMESTAMP,
8187c61a4a3SKevin Wolf        "microseconds":  TIMESTAMP
8197c61a4a3SKevin Wolf    },
8207c61a4a3SKevin Wolf    "event": "SHUTDOWN",
8217c61a4a3SKevin Wolf    "data": {
822ecd7a0d5SDominik Csapak        "guest": false,
82392548938SDominik Csapak        "reason": "host-qmp-quit"
8247c61a4a3SKevin Wolf    }
8257c61a4a3SKevin Wolf}
826effd60c8SStefan Hajnoczi{
827effd60c8SStefan Hajnoczi    "return": {
828effd60c8SStefan Hajnoczi    }
829effd60c8SStefan Hajnoczi}
8307c61a4a3SKevin Wolfimage: TEST_DIR/t.IMGFMT
8317c61a4a3SKevin Wolffile format: IMGFMT
832de38b500SEric Blakevirtual size: 64 MiB (67108864 bytes)
8337c61a4a3SKevin Wolfcluster_size: 65536
8347c61a4a3SKevin Wolfbacking file: TEST_DIR/t.IMGFMT.base
8357c61a4a3SKevin Wolfbacking file format: IMGFMT
8367c61a4a3SKevin Wolfimage: TEST_DIR/t.IMGFMT.ovl2
8377c61a4a3SKevin Wolffile format: IMGFMT
838de38b500SEric Blakevirtual size: 64 MiB (67108864 bytes)
8397c61a4a3SKevin Wolfcluster_size: 65536
8407c61a4a3SKevin Wolfbacking file: TEST_DIR/t.IMGFMT.base
8417c61a4a3SKevin Wolfbacking file format: IMGFMT
8427c61a4a3SKevin Wolf*** done
843