xref: /openbmc/qemu/tests/qemu-iotests/191.out (revision f389309d2937e66960dd371014a1971678fb4ce7)
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",
1177c61a4a3SKevin Wolf            "image": {
1187c61a4a3SKevin Wolf                "backing-image": {
1197c61a4a3SKevin Wolf                    "virtual-size": 67108864,
1202483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
1217c61a4a3SKevin Wolf                    "cluster-size": 65536,
1222483537eSMax Reitz                    "format": "IMGFMT",
123b66df843SMax Reitz                    "actual-size": SIZE,
1247c61a4a3SKevin Wolf                    "dirty-flag": false
1257c61a4a3SKevin Wolf                },
1262483537eSMax Reitz                "backing-filename-format": "IMGFMT",
1277c61a4a3SKevin Wolf                "virtual-size": 67108864,
1282483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl2",
1297c61a4a3SKevin Wolf                "cluster-size": 65536,
1302483537eSMax Reitz                "format": "IMGFMT",
131b66df843SMax Reitz                "actual-size": SIZE,
1322483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
1332483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
1347c61a4a3SKevin Wolf                "dirty-flag": false
1357c61a4a3SKevin Wolf            },
1367c61a4a3SKevin Wolf            "iops_wr": 0,
1377c61a4a3SKevin Wolf            "ro": false,
1387c61a4a3SKevin Wolf            "node-name": "top2",
1397c61a4a3SKevin Wolf            "backing_file_depth": 1,
1402483537eSMax Reitz            "drv": "IMGFMT",
1417c61a4a3SKevin Wolf            "iops": 0,
1427c61a4a3SKevin Wolf            "bps_wr": 0,
1437c61a4a3SKevin Wolf            "write_threshold": 0,
1442483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
1457c61a4a3SKevin Wolf            "encrypted": false,
1467c61a4a3SKevin Wolf            "bps": 0,
1477c61a4a3SKevin Wolf            "bps_rd": 0,
1487c61a4a3SKevin Wolf            "cache": {
1497c61a4a3SKevin Wolf                "no-flush": false,
1507c61a4a3SKevin Wolf                "direct": false,
1517c61a4a3SKevin Wolf                "writeback": true
1527c61a4a3SKevin Wolf            },
153ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.ovl2"
1547c61a4a3SKevin Wolf        },
1557c61a4a3SKevin Wolf        {
1567c61a4a3SKevin Wolf            "iops_rd": 0,
1577c61a4a3SKevin Wolf            "detect_zeroes": "off",
1587c61a4a3SKevin Wolf            "image": {
1597c61a4a3SKevin Wolf                "virtual-size": 197120,
1602483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl2",
1617c61a4a3SKevin Wolf                "format": "file",
162b66df843SMax Reitz                "actual-size": SIZE,
1637c61a4a3SKevin Wolf                "dirty-flag": false
1647c61a4a3SKevin Wolf            },
1657c61a4a3SKevin Wolf            "iops_wr": 0,
1667c61a4a3SKevin Wolf            "ro": false,
1677c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
1687c61a4a3SKevin Wolf            "backing_file_depth": 0,
1697c61a4a3SKevin Wolf            "drv": "file",
1707c61a4a3SKevin Wolf            "iops": 0,
1717c61a4a3SKevin Wolf            "bps_wr": 0,
1727c61a4a3SKevin Wolf            "write_threshold": 0,
1737c61a4a3SKevin Wolf            "encrypted": false,
1747c61a4a3SKevin Wolf            "bps": 0,
1757c61a4a3SKevin Wolf            "bps_rd": 0,
1767c61a4a3SKevin Wolf            "cache": {
1777c61a4a3SKevin Wolf                "no-flush": false,
1787c61a4a3SKevin Wolf                "direct": false,
1797c61a4a3SKevin Wolf                "writeback": true
1807c61a4a3SKevin Wolf            },
181ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.ovl2"
1827c61a4a3SKevin Wolf        },
1837c61a4a3SKevin Wolf        {
1847c61a4a3SKevin Wolf            "iops_rd": 0,
1857c61a4a3SKevin Wolf            "detect_zeroes": "off",
1867c61a4a3SKevin Wolf            "image": {
1877c61a4a3SKevin Wolf                "backing-image": {
1887c61a4a3SKevin Wolf                    "virtual-size": 67108864,
1892483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
1907c61a4a3SKevin Wolf                    "cluster-size": 65536,
1912483537eSMax Reitz                    "format": "IMGFMT",
192b66df843SMax Reitz                    "actual-size": SIZE,
1937c61a4a3SKevin Wolf                    "dirty-flag": false
1947c61a4a3SKevin Wolf                },
1952483537eSMax Reitz                "backing-filename-format": "IMGFMT",
1967c61a4a3SKevin Wolf                "virtual-size": 67108864,
1972483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT",
1987c61a4a3SKevin Wolf                "cluster-size": 65536,
1992483537eSMax Reitz                "format": "IMGFMT",
200b66df843SMax Reitz                "actual-size": SIZE,
2012483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
2022483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
2037c61a4a3SKevin Wolf                "dirty-flag": false
2047c61a4a3SKevin Wolf            },
2057c61a4a3SKevin Wolf            "iops_wr": 0,
2067c61a4a3SKevin Wolf            "ro": false,
2077c61a4a3SKevin Wolf            "node-name": "top",
2087c61a4a3SKevin Wolf            "backing_file_depth": 1,
2092483537eSMax Reitz            "drv": "IMGFMT",
2107c61a4a3SKevin Wolf            "iops": 0,
2117c61a4a3SKevin Wolf            "bps_wr": 0,
2127c61a4a3SKevin Wolf            "write_threshold": 0,
2132483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
2147c61a4a3SKevin Wolf            "encrypted": false,
2157c61a4a3SKevin Wolf            "bps": 0,
2167c61a4a3SKevin Wolf            "bps_rd": 0,
2177c61a4a3SKevin Wolf            "cache": {
2187c61a4a3SKevin Wolf                "no-flush": false,
2197c61a4a3SKevin Wolf                "direct": false,
2207c61a4a3SKevin Wolf                "writeback": true
2217c61a4a3SKevin Wolf            },
222ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT"
2237c61a4a3SKevin Wolf        },
2247c61a4a3SKevin Wolf        {
2257c61a4a3SKevin Wolf            "iops_rd": 0,
2267c61a4a3SKevin Wolf            "detect_zeroes": "off",
2277c61a4a3SKevin Wolf            "image": {
2287c61a4a3SKevin Wolf                "virtual-size": 197120,
2292483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT",
2307c61a4a3SKevin Wolf                "format": "file",
231b66df843SMax Reitz                "actual-size": SIZE,
2327c61a4a3SKevin Wolf                "dirty-flag": false
2337c61a4a3SKevin Wolf            },
2347c61a4a3SKevin Wolf            "iops_wr": 0,
2357c61a4a3SKevin Wolf            "ro": false,
2367c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
2377c61a4a3SKevin Wolf            "backing_file_depth": 0,
2387c61a4a3SKevin Wolf            "drv": "file",
2397c61a4a3SKevin Wolf            "iops": 0,
2407c61a4a3SKevin Wolf            "bps_wr": 0,
2417c61a4a3SKevin Wolf            "write_threshold": 0,
2427c61a4a3SKevin Wolf            "encrypted": false,
2437c61a4a3SKevin Wolf            "bps": 0,
2447c61a4a3SKevin Wolf            "bps_rd": 0,
2457c61a4a3SKevin Wolf            "cache": {
2467c61a4a3SKevin Wolf                "no-flush": false,
2477c61a4a3SKevin Wolf                "direct": false,
2487c61a4a3SKevin Wolf                "writeback": true
2497c61a4a3SKevin Wolf            },
250ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT"
2517c61a4a3SKevin Wolf        },
2527c61a4a3SKevin Wolf        {
2537c61a4a3SKevin Wolf            "iops_rd": 0,
2547c61a4a3SKevin Wolf            "detect_zeroes": "off",
2557c61a4a3SKevin Wolf            "image": {
2567c61a4a3SKevin Wolf                "backing-image": {
2577c61a4a3SKevin Wolf                    "virtual-size": 67108864,
2582483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
2597c61a4a3SKevin Wolf                    "cluster-size": 65536,
2602483537eSMax Reitz                    "format": "IMGFMT",
261b66df843SMax Reitz                    "actual-size": SIZE,
2627c61a4a3SKevin Wolf                    "dirty-flag": false
2637c61a4a3SKevin Wolf                },
2642483537eSMax Reitz                "backing-filename-format": "IMGFMT",
2657c61a4a3SKevin Wolf                "virtual-size": 67108864,
2662483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.mid",
2677c61a4a3SKevin Wolf                "cluster-size": 65536,
2682483537eSMax Reitz                "format": "IMGFMT",
269b66df843SMax Reitz                "actual-size": SIZE,
2702483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
2712483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
2727c61a4a3SKevin Wolf                "dirty-flag": false
2737c61a4a3SKevin Wolf            },
2747c61a4a3SKevin Wolf            "iops_wr": 0,
2757c61a4a3SKevin Wolf            "ro": false,
2767c61a4a3SKevin Wolf            "node-name": "mid",
2777c61a4a3SKevin Wolf            "backing_file_depth": 1,
2782483537eSMax Reitz            "drv": "IMGFMT",
2797c61a4a3SKevin Wolf            "iops": 0,
2807c61a4a3SKevin Wolf            "bps_wr": 0,
2817c61a4a3SKevin Wolf            "write_threshold": 0,
2822483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
2837c61a4a3SKevin Wolf            "encrypted": false,
2847c61a4a3SKevin Wolf            "bps": 0,
2857c61a4a3SKevin Wolf            "bps_rd": 0,
2867c61a4a3SKevin Wolf            "cache": {
2877c61a4a3SKevin Wolf                "no-flush": false,
2887c61a4a3SKevin Wolf                "direct": false,
2897c61a4a3SKevin Wolf                "writeback": true
2907c61a4a3SKevin Wolf            },
291ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.mid"
2927c61a4a3SKevin Wolf        },
2937c61a4a3SKevin Wolf        {
2947c61a4a3SKevin Wolf            "iops_rd": 0,
2957c61a4a3SKevin Wolf            "detect_zeroes": "off",
2967c61a4a3SKevin Wolf            "image": {
2977c61a4a3SKevin Wolf                "virtual-size": 393216,
2982483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.mid",
2997c61a4a3SKevin Wolf                "format": "file",
300b66df843SMax Reitz                "actual-size": SIZE,
3017c61a4a3SKevin Wolf                "dirty-flag": false
3027c61a4a3SKevin Wolf            },
3037c61a4a3SKevin Wolf            "iops_wr": 0,
3047c61a4a3SKevin Wolf            "ro": false,
3057c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
3067c61a4a3SKevin Wolf            "backing_file_depth": 0,
3077c61a4a3SKevin Wolf            "drv": "file",
3087c61a4a3SKevin Wolf            "iops": 0,
3097c61a4a3SKevin Wolf            "bps_wr": 0,
3107c61a4a3SKevin Wolf            "write_threshold": 0,
3117c61a4a3SKevin Wolf            "encrypted": false,
3127c61a4a3SKevin Wolf            "bps": 0,
3137c61a4a3SKevin Wolf            "bps_rd": 0,
3147c61a4a3SKevin Wolf            "cache": {
3157c61a4a3SKevin Wolf                "no-flush": false,
3167c61a4a3SKevin Wolf                "direct": false,
3177c61a4a3SKevin Wolf                "writeback": true
3187c61a4a3SKevin Wolf            },
319ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.mid"
3207c61a4a3SKevin Wolf        },
3217c61a4a3SKevin Wolf        {
3227c61a4a3SKevin Wolf            "iops_rd": 0,
3237c61a4a3SKevin Wolf            "detect_zeroes": "off",
3247c61a4a3SKevin Wolf            "image": {
3257c61a4a3SKevin Wolf                "virtual-size": 67108864,
3262483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.base",
3277c61a4a3SKevin Wolf                "cluster-size": 65536,
3282483537eSMax Reitz                "format": "IMGFMT",
329b66df843SMax Reitz                "actual-size": SIZE,
3307c61a4a3SKevin Wolf                "dirty-flag": false
3317c61a4a3SKevin Wolf            },
3327c61a4a3SKevin Wolf            "iops_wr": 0,
3337c61a4a3SKevin Wolf            "ro": false,
3347c61a4a3SKevin Wolf            "node-name": "base",
3357c61a4a3SKevin Wolf            "backing_file_depth": 0,
3362483537eSMax Reitz            "drv": "IMGFMT",
3377c61a4a3SKevin Wolf            "iops": 0,
3387c61a4a3SKevin Wolf            "bps_wr": 0,
3397c61a4a3SKevin Wolf            "write_threshold": 0,
3407c61a4a3SKevin Wolf            "encrypted": false,
3417c61a4a3SKevin Wolf            "bps": 0,
3427c61a4a3SKevin Wolf            "bps_rd": 0,
3437c61a4a3SKevin Wolf            "cache": {
3447c61a4a3SKevin Wolf                "no-flush": false,
3457c61a4a3SKevin Wolf                "direct": false,
3467c61a4a3SKevin Wolf                "writeback": true
3477c61a4a3SKevin Wolf            },
348ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.base"
3497c61a4a3SKevin Wolf        },
3507c61a4a3SKevin Wolf        {
3517c61a4a3SKevin Wolf            "iops_rd": 0,
3527c61a4a3SKevin Wolf            "detect_zeroes": "off",
3537c61a4a3SKevin Wolf            "image": {
3547c61a4a3SKevin Wolf                "virtual-size": 393216,
3552483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.base",
3567c61a4a3SKevin Wolf                "format": "file",
357b66df843SMax Reitz                "actual-size": SIZE,
3587c61a4a3SKevin Wolf                "dirty-flag": false
3597c61a4a3SKevin Wolf            },
3607c61a4a3SKevin Wolf            "iops_wr": 0,
3617c61a4a3SKevin Wolf            "ro": false,
3627c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
3637c61a4a3SKevin Wolf            "backing_file_depth": 0,
3647c61a4a3SKevin Wolf            "drv": "file",
3657c61a4a3SKevin Wolf            "iops": 0,
3667c61a4a3SKevin Wolf            "bps_wr": 0,
3677c61a4a3SKevin Wolf            "write_threshold": 0,
3687c61a4a3SKevin Wolf            "encrypted": false,
3697c61a4a3SKevin Wolf            "bps": 0,
3707c61a4a3SKevin Wolf            "bps_rd": 0,
3717c61a4a3SKevin Wolf            "cache": {
3727c61a4a3SKevin Wolf                "no-flush": false,
3737c61a4a3SKevin Wolf                "direct": false,
3747c61a4a3SKevin Wolf                "writeback": true
3757c61a4a3SKevin Wolf            },
376ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.base"
3777c61a4a3SKevin Wolf        }
3787c61a4a3SKevin Wolf    ]
3797c61a4a3SKevin Wolf}
380a98b1a1fSEric Blake{ 'execute': 'quit' }
3817c61a4a3SKevin Wolf{
3827c61a4a3SKevin Wolf    "timestamp": {
3837c61a4a3SKevin Wolf        "seconds":  TIMESTAMP,
3847c61a4a3SKevin Wolf        "microseconds":  TIMESTAMP
3857c61a4a3SKevin Wolf    },
3867c61a4a3SKevin Wolf    "event": "SHUTDOWN",
3877c61a4a3SKevin Wolf    "data": {
388ecd7a0d5SDominik Csapak        "guest": false,
38992548938SDominik Csapak        "reason": "host-qmp-quit"
3907c61a4a3SKevin Wolf    }
3917c61a4a3SKevin Wolf}
392*f389309dSStefan Hajnoczi{
393*f389309dSStefan Hajnoczi    "return": {
394*f389309dSStefan Hajnoczi    }
395*f389309dSStefan Hajnoczi}
3967c61a4a3SKevin Wolfimage: TEST_DIR/t.IMGFMT
3977c61a4a3SKevin Wolffile format: IMGFMT
398de38b500SEric Blakevirtual size: 64 MiB (67108864 bytes)
3997c61a4a3SKevin Wolfcluster_size: 65536
4007c61a4a3SKevin Wolfbacking file: TEST_DIR/t.IMGFMT.base
4017c61a4a3SKevin Wolfbacking file format: IMGFMT
4027c61a4a3SKevin Wolfimage: TEST_DIR/t.IMGFMT.ovl2
4037c61a4a3SKevin Wolffile format: IMGFMT
404de38b500SEric Blakevirtual size: 64 MiB (67108864 bytes)
4057c61a4a3SKevin Wolfcluster_size: 65536
4067c61a4a3SKevin Wolfbacking file: TEST_DIR/t.IMGFMT.base
4077c61a4a3SKevin Wolfbacking file format: IMGFMT
4087c61a4a3SKevin Wolf
4097c61a4a3SKevin Wolf=== Preparing and starting VM with -drive ===
4107c61a4a3SKevin Wolf
4117c61a4a3SKevin WolfFormatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
412b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT.mid', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
413b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing_fmt=IMGFMT
414b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT.ovl2', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing_fmt=IMGFMT
415b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT.ovl3', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.ovl2 backing_fmt=IMGFMT
4167c61a4a3SKevin Wolfwrote 65536/65536 bytes at offset 1048576
4177c61a4a3SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
418a98b1a1fSEric Blake{ 'execute': 'qmp_capabilities' }
4197c61a4a3SKevin Wolf{
4207c61a4a3SKevin Wolf    "return": {
4217c61a4a3SKevin Wolf    }
4227c61a4a3SKevin Wolf}
4237c61a4a3SKevin Wolf
4247c61a4a3SKevin Wolf=== Perform commit job ===
4257c61a4a3SKevin Wolf
4260e720781SMax Reitz{ 'execute': 'block-commit',
4270e720781SMax Reitz       'arguments': { 'job-id': 'commit0',
4280e720781SMax Reitz                      'device': 'top',
4290e720781SMax Reitz                      'base':'TEST_DIR/t.IMGFMT.base',
4300e720781SMax Reitz                      'top': 'TEST_DIR/t.IMGFMT.mid' } }
4317c61a4a3SKevin Wolf{
4321dac83f1SKevin Wolf    "timestamp": {
4331dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
4341dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
4351dac83f1SKevin Wolf    },
4361dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
4371dac83f1SKevin Wolf    "data": {
4381dac83f1SKevin Wolf        "status": "created",
4391dac83f1SKevin Wolf        "id": "commit0"
4401dac83f1SKevin Wolf    }
4411dac83f1SKevin Wolf}
4421dac83f1SKevin Wolf{
4431dac83f1SKevin Wolf    "timestamp": {
4441dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
4451dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
4461dac83f1SKevin Wolf    },
4471dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
4481dac83f1SKevin Wolf    "data": {
4491dac83f1SKevin Wolf        "status": "running",
4501dac83f1SKevin Wolf        "id": "commit0"
4511dac83f1SKevin Wolf    }
4521dac83f1SKevin Wolf}
4531dac83f1SKevin Wolf{
4547c61a4a3SKevin Wolf    "return": {
4557c61a4a3SKevin Wolf    }
4567c61a4a3SKevin Wolf}
4577c61a4a3SKevin Wolf{
4587c61a4a3SKevin Wolf    "timestamp": {
4597c61a4a3SKevin Wolf        "seconds":  TIMESTAMP,
4607c61a4a3SKevin Wolf        "microseconds":  TIMESTAMP
4617c61a4a3SKevin Wolf    },
4621dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
4631dac83f1SKevin Wolf    "data": {
4641dac83f1SKevin Wolf        "status": "waiting",
4651dac83f1SKevin Wolf        "id": "commit0"
4661dac83f1SKevin Wolf    }
4671dac83f1SKevin Wolf}
4681dac83f1SKevin Wolf{
4691dac83f1SKevin Wolf    "timestamp": {
4701dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
4711dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
4721dac83f1SKevin Wolf    },
4731dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
4741dac83f1SKevin Wolf    "data": {
4751dac83f1SKevin Wolf        "status": "pending",
4761dac83f1SKevin Wolf        "id": "commit0"
4771dac83f1SKevin Wolf    }
4781dac83f1SKevin Wolf}
4791dac83f1SKevin Wolf{
4801dac83f1SKevin Wolf    "timestamp": {
4811dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
4821dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
4831dac83f1SKevin Wolf    },
4847c61a4a3SKevin Wolf    "event": "BLOCK_JOB_COMPLETED",
4857c61a4a3SKevin Wolf    "data": {
4867c61a4a3SKevin Wolf        "device": "commit0",
4877c61a4a3SKevin Wolf        "len": 67108864,
4887c61a4a3SKevin Wolf        "offset": 67108864,
4897c61a4a3SKevin Wolf        "speed": 0,
4907c61a4a3SKevin Wolf        "type": "commit"
4917c61a4a3SKevin Wolf    }
4927c61a4a3SKevin Wolf}
4931dac83f1SKevin Wolf{
4941dac83f1SKevin Wolf    "timestamp": {
4951dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
4961dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
4971dac83f1SKevin Wolf    },
4981dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
4991dac83f1SKevin Wolf    "data": {
5001dac83f1SKevin Wolf        "status": "concluded",
5011dac83f1SKevin Wolf        "id": "commit0"
5021dac83f1SKevin Wolf    }
5031dac83f1SKevin Wolf}
5041dac83f1SKevin Wolf{
5051dac83f1SKevin Wolf    "timestamp": {
5061dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
5071dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
5081dac83f1SKevin Wolf    },
5091dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
5101dac83f1SKevin Wolf    "data": {
5111dac83f1SKevin Wolf        "status": "null",
5121dac83f1SKevin Wolf        "id": "commit0"
5131dac83f1SKevin Wolf    }
5141dac83f1SKevin Wolf}
5157c61a4a3SKevin Wolf
5167c61a4a3SKevin Wolf=== Check that both top and top2 point to base now ===
5177c61a4a3SKevin Wolf
518a98b1a1fSEric Blake{ 'execute': 'query-named-block-nodes' }
5197c61a4a3SKevin Wolf{
5207c61a4a3SKevin Wolf    "return": [
5217c61a4a3SKevin Wolf        {
5227c61a4a3SKevin Wolf            "iops_rd": 0,
5237c61a4a3SKevin Wolf            "detect_zeroes": "off",
5247c61a4a3SKevin Wolf            "image": {
5257c61a4a3SKevin Wolf                "backing-image": {
5267c61a4a3SKevin Wolf                    "virtual-size": 67108864,
5272483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
5287c61a4a3SKevin Wolf                    "cluster-size": 65536,
5292483537eSMax Reitz                    "format": "IMGFMT",
530b66df843SMax Reitz                    "actual-size": SIZE,
5317c61a4a3SKevin Wolf                    "dirty-flag": false
5327c61a4a3SKevin Wolf                },
5332483537eSMax Reitz                "backing-filename-format": "IMGFMT",
5347c61a4a3SKevin Wolf                "virtual-size": 67108864,
5352483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl2",
5367c61a4a3SKevin Wolf                "cluster-size": 65536,
5372483537eSMax Reitz                "format": "IMGFMT",
538b66df843SMax Reitz                "actual-size": SIZE,
5392483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
5402483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
5417c61a4a3SKevin Wolf                "dirty-flag": false
5427c61a4a3SKevin Wolf            },
5437c61a4a3SKevin Wolf            "iops_wr": 0,
5447c61a4a3SKevin Wolf            "ro": true,
5457c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
5467c61a4a3SKevin Wolf            "backing_file_depth": 1,
5472483537eSMax Reitz            "drv": "IMGFMT",
5487c61a4a3SKevin Wolf            "iops": 0,
5497c61a4a3SKevin Wolf            "bps_wr": 0,
5507c61a4a3SKevin Wolf            "write_threshold": 0,
5512483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
5527c61a4a3SKevin Wolf            "encrypted": false,
5537c61a4a3SKevin Wolf            "bps": 0,
5547c61a4a3SKevin Wolf            "bps_rd": 0,
5557c61a4a3SKevin Wolf            "cache": {
5567c61a4a3SKevin Wolf                "no-flush": false,
5577c61a4a3SKevin Wolf                "direct": false,
5587c61a4a3SKevin Wolf                "writeback": true
5597c61a4a3SKevin Wolf            },
560ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.ovl2"
5617c61a4a3SKevin Wolf        },
5627c61a4a3SKevin Wolf        {
5637c61a4a3SKevin Wolf            "iops_rd": 0,
5647c61a4a3SKevin Wolf            "detect_zeroes": "off",
5657c61a4a3SKevin Wolf            "image": {
5667c61a4a3SKevin Wolf                "virtual-size": 197120,
5672483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl2",
5687c61a4a3SKevin Wolf                "format": "file",
569b66df843SMax Reitz                "actual-size": SIZE,
5707c61a4a3SKevin Wolf                "dirty-flag": false
5717c61a4a3SKevin Wolf            },
5727c61a4a3SKevin Wolf            "iops_wr": 0,
5737c61a4a3SKevin Wolf            "ro": true,
5747c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
5757c61a4a3SKevin Wolf            "backing_file_depth": 0,
5767c61a4a3SKevin Wolf            "drv": "file",
5777c61a4a3SKevin Wolf            "iops": 0,
5787c61a4a3SKevin Wolf            "bps_wr": 0,
5797c61a4a3SKevin Wolf            "write_threshold": 0,
5807c61a4a3SKevin Wolf            "encrypted": false,
5817c61a4a3SKevin Wolf            "bps": 0,
5827c61a4a3SKevin Wolf            "bps_rd": 0,
5837c61a4a3SKevin Wolf            "cache": {
5847c61a4a3SKevin Wolf                "no-flush": false,
5857c61a4a3SKevin Wolf                "direct": false,
5867c61a4a3SKevin Wolf                "writeback": true
5877c61a4a3SKevin Wolf            },
588ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.ovl2"
5897c61a4a3SKevin Wolf        },
5907c61a4a3SKevin Wolf        {
5917c61a4a3SKevin Wolf            "iops_rd": 0,
5927c61a4a3SKevin Wolf            "detect_zeroes": "off",
5937c61a4a3SKevin Wolf            "image": {
5947c61a4a3SKevin Wolf                "backing-image": {
5957c61a4a3SKevin Wolf                    "backing-image": {
5967c61a4a3SKevin Wolf                        "virtual-size": 67108864,
5972483537eSMax Reitz                        "filename": "TEST_DIR/t.IMGFMT.base",
5987c61a4a3SKevin Wolf                        "cluster-size": 65536,
5992483537eSMax Reitz                        "format": "IMGFMT",
600b66df843SMax Reitz                        "actual-size": SIZE,
6017c61a4a3SKevin Wolf                        "dirty-flag": false
6027c61a4a3SKevin Wolf                    },
6032483537eSMax Reitz                    "backing-filename-format": "IMGFMT",
6047c61a4a3SKevin Wolf                    "virtual-size": 67108864,
6052483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.ovl2",
6067c61a4a3SKevin Wolf                    "cluster-size": 65536,
6072483537eSMax Reitz                    "format": "IMGFMT",
608b66df843SMax Reitz                    "actual-size": SIZE,
6092483537eSMax Reitz                    "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
6102483537eSMax Reitz                    "backing-filename": "TEST_DIR/t.IMGFMT.base",
6117c61a4a3SKevin Wolf                    "dirty-flag": false
6127c61a4a3SKevin Wolf                },
6132483537eSMax Reitz                "backing-filename-format": "IMGFMT",
6147c61a4a3SKevin Wolf                "virtual-size": 67108864,
6152483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl3",
6167c61a4a3SKevin Wolf                "cluster-size": 65536,
6172483537eSMax Reitz                "format": "IMGFMT",
618b66df843SMax Reitz                "actual-size": SIZE,
6192483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.ovl2",
6202483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.ovl2",
6217c61a4a3SKevin Wolf                "dirty-flag": false
6227c61a4a3SKevin Wolf            },
6237c61a4a3SKevin Wolf            "iops_wr": 0,
6247c61a4a3SKevin Wolf            "ro": false,
6257c61a4a3SKevin Wolf            "node-name": "top2",
6267c61a4a3SKevin Wolf            "backing_file_depth": 2,
6272483537eSMax Reitz            "drv": "IMGFMT",
6287c61a4a3SKevin Wolf            "iops": 0,
6297c61a4a3SKevin Wolf            "bps_wr": 0,
6307c61a4a3SKevin Wolf            "write_threshold": 0,
6312483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.ovl2",
6327c61a4a3SKevin Wolf            "encrypted": false,
6337c61a4a3SKevin Wolf            "bps": 0,
6347c61a4a3SKevin Wolf            "bps_rd": 0,
6357c61a4a3SKevin Wolf            "cache": {
6367c61a4a3SKevin Wolf                "no-flush": false,
6377c61a4a3SKevin Wolf                "direct": false,
6387c61a4a3SKevin Wolf                "writeback": true
6397c61a4a3SKevin Wolf            },
640ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.ovl3"
6417c61a4a3SKevin Wolf        },
6427c61a4a3SKevin Wolf        {
6437c61a4a3SKevin Wolf            "iops_rd": 0,
6447c61a4a3SKevin Wolf            "detect_zeroes": "off",
6457c61a4a3SKevin Wolf            "image": {
6467c61a4a3SKevin Wolf                "virtual-size": 197120,
6472483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl3",
6487c61a4a3SKevin Wolf                "format": "file",
649b66df843SMax Reitz                "actual-size": SIZE,
6507c61a4a3SKevin Wolf                "dirty-flag": false
6517c61a4a3SKevin Wolf            },
6527c61a4a3SKevin Wolf            "iops_wr": 0,
6537c61a4a3SKevin Wolf            "ro": false,
6547c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
6557c61a4a3SKevin Wolf            "backing_file_depth": 0,
6567c61a4a3SKevin Wolf            "drv": "file",
6577c61a4a3SKevin Wolf            "iops": 0,
6587c61a4a3SKevin Wolf            "bps_wr": 0,
6597c61a4a3SKevin Wolf            "write_threshold": 0,
6607c61a4a3SKevin Wolf            "encrypted": false,
6617c61a4a3SKevin Wolf            "bps": 0,
6627c61a4a3SKevin Wolf            "bps_rd": 0,
6637c61a4a3SKevin Wolf            "cache": {
6647c61a4a3SKevin Wolf                "no-flush": false,
6657c61a4a3SKevin Wolf                "direct": false,
6667c61a4a3SKevin Wolf                "writeback": true
6677c61a4a3SKevin Wolf            },
668ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.ovl3"
6697c61a4a3SKevin Wolf        },
6707c61a4a3SKevin Wolf        {
6717c61a4a3SKevin Wolf            "iops_rd": 0,
6727c61a4a3SKevin Wolf            "detect_zeroes": "off",
6737c61a4a3SKevin Wolf            "image": {
6747c61a4a3SKevin Wolf                "virtual-size": 67108864,
6752483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.base",
6767c61a4a3SKevin Wolf                "cluster-size": 65536,
6772483537eSMax Reitz                "format": "IMGFMT",
678b66df843SMax Reitz                "actual-size": SIZE,
6797c61a4a3SKevin Wolf                "dirty-flag": false
6807c61a4a3SKevin Wolf            },
6817c61a4a3SKevin Wolf            "iops_wr": 0,
6827c61a4a3SKevin Wolf            "ro": true,
6837c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
6847c61a4a3SKevin Wolf            "backing_file_depth": 0,
6852483537eSMax Reitz            "drv": "IMGFMT",
6867c61a4a3SKevin Wolf            "iops": 0,
6877c61a4a3SKevin Wolf            "bps_wr": 0,
6887c61a4a3SKevin Wolf            "write_threshold": 0,
6897c61a4a3SKevin Wolf            "encrypted": false,
6907c61a4a3SKevin Wolf            "bps": 0,
6917c61a4a3SKevin Wolf            "bps_rd": 0,
6927c61a4a3SKevin Wolf            "cache": {
6937c61a4a3SKevin Wolf                "no-flush": false,
6947c61a4a3SKevin Wolf                "direct": false,
6957c61a4a3SKevin Wolf                "writeback": true
6967c61a4a3SKevin Wolf            },
697ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.base"
6987c61a4a3SKevin Wolf        },
6997c61a4a3SKevin Wolf        {
7007c61a4a3SKevin Wolf            "iops_rd": 0,
7017c61a4a3SKevin Wolf            "detect_zeroes": "off",
7027c61a4a3SKevin Wolf            "image": {
7037c61a4a3SKevin Wolf                "virtual-size": 393216,
7042483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.base",
7057c61a4a3SKevin Wolf                "format": "file",
706b66df843SMax Reitz                "actual-size": SIZE,
7077c61a4a3SKevin Wolf                "dirty-flag": false
7087c61a4a3SKevin Wolf            },
7097c61a4a3SKevin Wolf            "iops_wr": 0,
7107c61a4a3SKevin Wolf            "ro": true,
7117c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
7127c61a4a3SKevin Wolf            "backing_file_depth": 0,
7137c61a4a3SKevin Wolf            "drv": "file",
7147c61a4a3SKevin Wolf            "iops": 0,
7157c61a4a3SKevin Wolf            "bps_wr": 0,
7167c61a4a3SKevin Wolf            "write_threshold": 0,
7177c61a4a3SKevin Wolf            "encrypted": false,
7187c61a4a3SKevin Wolf            "bps": 0,
7197c61a4a3SKevin Wolf            "bps_rd": 0,
7207c61a4a3SKevin Wolf            "cache": {
7217c61a4a3SKevin Wolf                "no-flush": false,
7227c61a4a3SKevin Wolf                "direct": false,
7237c61a4a3SKevin Wolf                "writeback": true
7247c61a4a3SKevin Wolf            },
725ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT.base"
7267c61a4a3SKevin Wolf        },
7277c61a4a3SKevin Wolf        {
7287c61a4a3SKevin Wolf            "iops_rd": 0,
7297c61a4a3SKevin Wolf            "detect_zeroes": "off",
7307c61a4a3SKevin Wolf            "image": {
7317c61a4a3SKevin Wolf                "backing-image": {
7327c61a4a3SKevin Wolf                    "virtual-size": 67108864,
7332483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
7347c61a4a3SKevin Wolf                    "cluster-size": 65536,
7352483537eSMax Reitz                    "format": "IMGFMT",
736b66df843SMax Reitz                    "actual-size": SIZE,
7377c61a4a3SKevin Wolf                    "dirty-flag": false
7387c61a4a3SKevin Wolf                },
7392483537eSMax Reitz                "backing-filename-format": "IMGFMT",
7407c61a4a3SKevin Wolf                "virtual-size": 67108864,
7412483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT",
7427c61a4a3SKevin Wolf                "cluster-size": 65536,
7432483537eSMax Reitz                "format": "IMGFMT",
744b66df843SMax Reitz                "actual-size": SIZE,
7452483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
7462483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
7477c61a4a3SKevin Wolf                "dirty-flag": false
7487c61a4a3SKevin Wolf            },
7497c61a4a3SKevin Wolf            "iops_wr": 0,
7507c61a4a3SKevin Wolf            "ro": false,
7517c61a4a3SKevin Wolf            "node-name": "top",
7527c61a4a3SKevin Wolf            "backing_file_depth": 1,
7532483537eSMax Reitz            "drv": "IMGFMT",
7547c61a4a3SKevin Wolf            "iops": 0,
7557c61a4a3SKevin Wolf            "bps_wr": 0,
7567c61a4a3SKevin Wolf            "write_threshold": 0,
7572483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
7587c61a4a3SKevin Wolf            "encrypted": false,
7597c61a4a3SKevin Wolf            "bps": 0,
7607c61a4a3SKevin Wolf            "bps_rd": 0,
7617c61a4a3SKevin Wolf            "cache": {
7627c61a4a3SKevin Wolf                "no-flush": false,
7637c61a4a3SKevin Wolf                "direct": false,
7647c61a4a3SKevin Wolf                "writeback": true
7657c61a4a3SKevin Wolf            },
766ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT"
7677c61a4a3SKevin Wolf        },
7687c61a4a3SKevin Wolf        {
7697c61a4a3SKevin Wolf            "iops_rd": 0,
7707c61a4a3SKevin Wolf            "detect_zeroes": "off",
7717c61a4a3SKevin Wolf            "image": {
7727c61a4a3SKevin Wolf                "virtual-size": 197120,
7732483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT",
7747c61a4a3SKevin Wolf                "format": "file",
775b66df843SMax Reitz                "actual-size": SIZE,
7767c61a4a3SKevin Wolf                "dirty-flag": false
7777c61a4a3SKevin Wolf            },
7787c61a4a3SKevin Wolf            "iops_wr": 0,
7797c61a4a3SKevin Wolf            "ro": false,
7807c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
7817c61a4a3SKevin Wolf            "backing_file_depth": 0,
7827c61a4a3SKevin Wolf            "drv": "file",
7837c61a4a3SKevin Wolf            "iops": 0,
7847c61a4a3SKevin Wolf            "bps_wr": 0,
7857c61a4a3SKevin Wolf            "write_threshold": 0,
7867c61a4a3SKevin Wolf            "encrypted": false,
7877c61a4a3SKevin Wolf            "bps": 0,
7887c61a4a3SKevin Wolf            "bps_rd": 0,
7897c61a4a3SKevin Wolf            "cache": {
7907c61a4a3SKevin Wolf                "no-flush": false,
7917c61a4a3SKevin Wolf                "direct": false,
7927c61a4a3SKevin Wolf                "writeback": true
7937c61a4a3SKevin Wolf            },
794ad1324e0SDaniel P. Berrangé            "file": "TEST_DIR/t.IMGFMT"
7957c61a4a3SKevin Wolf        }
7967c61a4a3SKevin Wolf    ]
7977c61a4a3SKevin Wolf}
798a98b1a1fSEric Blake{ 'execute': 'quit' }
7997c61a4a3SKevin Wolf{
8007c61a4a3SKevin Wolf    "timestamp": {
8017c61a4a3SKevin Wolf        "seconds":  TIMESTAMP,
8027c61a4a3SKevin Wolf        "microseconds":  TIMESTAMP
8037c61a4a3SKevin Wolf    },
8047c61a4a3SKevin Wolf    "event": "SHUTDOWN",
8057c61a4a3SKevin Wolf    "data": {
806ecd7a0d5SDominik Csapak        "guest": false,
80792548938SDominik Csapak        "reason": "host-qmp-quit"
8087c61a4a3SKevin Wolf    }
8097c61a4a3SKevin Wolf}
810*f389309dSStefan Hajnoczi{
811*f389309dSStefan Hajnoczi    "return": {
812*f389309dSStefan Hajnoczi    }
813*f389309dSStefan Hajnoczi}
8147c61a4a3SKevin Wolfimage: TEST_DIR/t.IMGFMT
8157c61a4a3SKevin Wolffile format: IMGFMT
816de38b500SEric Blakevirtual size: 64 MiB (67108864 bytes)
8177c61a4a3SKevin Wolfcluster_size: 65536
8187c61a4a3SKevin Wolfbacking file: TEST_DIR/t.IMGFMT.base
8197c61a4a3SKevin Wolfbacking file format: IMGFMT
8207c61a4a3SKevin Wolfimage: TEST_DIR/t.IMGFMT.ovl2
8217c61a4a3SKevin Wolffile format: IMGFMT
822de38b500SEric Blakevirtual size: 64 MiB (67108864 bytes)
8237c61a4a3SKevin Wolfcluster_size: 65536
8247c61a4a3SKevin Wolfbacking file: TEST_DIR/t.IMGFMT.base
8257c61a4a3SKevin Wolfbacking file format: IMGFMT
8267c61a4a3SKevin Wolf*** done
827