xref: /qemu/tests/qemu-iotests/191.out (revision b66ff2c29817f5efa18f5120fd6f089fbf59a933)
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
7*b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing_fmt=IMGFMT
8*b66ff2c2SEric 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
19a98b1a1fSEric Blake{ 'execute': 'block-commit', 'arguments': { 'job-id': 'commit0', 'device': 'top', 'base':'TEST_DIR/t.IMGFMT.base', 'top': 'TEST_DIR/t.IMGFMT.mid' } }
207c61a4a3SKevin Wolf{
211dac83f1SKevin Wolf    "timestamp": {
221dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
231dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
241dac83f1SKevin Wolf    },
251dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
261dac83f1SKevin Wolf    "data": {
271dac83f1SKevin Wolf        "status": "created",
281dac83f1SKevin Wolf        "id": "commit0"
291dac83f1SKevin Wolf    }
301dac83f1SKevin Wolf}
311dac83f1SKevin Wolf{
321dac83f1SKevin Wolf    "timestamp": {
331dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
341dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
351dac83f1SKevin Wolf    },
361dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
371dac83f1SKevin Wolf    "data": {
381dac83f1SKevin Wolf        "status": "running",
391dac83f1SKevin Wolf        "id": "commit0"
401dac83f1SKevin Wolf    }
411dac83f1SKevin Wolf}
421dac83f1SKevin Wolf{
437c61a4a3SKevin Wolf    "return": {
447c61a4a3SKevin Wolf    }
457c61a4a3SKevin Wolf}
467c61a4a3SKevin Wolf{
477c61a4a3SKevin Wolf    "timestamp": {
487c61a4a3SKevin Wolf        "seconds":  TIMESTAMP,
497c61a4a3SKevin Wolf        "microseconds":  TIMESTAMP
507c61a4a3SKevin Wolf    },
511dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
521dac83f1SKevin Wolf    "data": {
531dac83f1SKevin Wolf        "status": "waiting",
541dac83f1SKevin Wolf        "id": "commit0"
551dac83f1SKevin Wolf    }
561dac83f1SKevin Wolf}
571dac83f1SKevin Wolf{
581dac83f1SKevin Wolf    "timestamp": {
591dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
601dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
611dac83f1SKevin Wolf    },
621dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
631dac83f1SKevin Wolf    "data": {
641dac83f1SKevin Wolf        "status": "pending",
651dac83f1SKevin Wolf        "id": "commit0"
661dac83f1SKevin Wolf    }
671dac83f1SKevin Wolf}
681dac83f1SKevin Wolf{
691dac83f1SKevin Wolf    "timestamp": {
701dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
711dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
721dac83f1SKevin Wolf    },
737c61a4a3SKevin Wolf    "event": "BLOCK_JOB_COMPLETED",
747c61a4a3SKevin Wolf    "data": {
757c61a4a3SKevin Wolf        "device": "commit0",
767c61a4a3SKevin Wolf        "len": 67108864,
777c61a4a3SKevin Wolf        "offset": 67108864,
787c61a4a3SKevin Wolf        "speed": 0,
797c61a4a3SKevin Wolf        "type": "commit"
807c61a4a3SKevin Wolf    }
817c61a4a3SKevin Wolf}
821dac83f1SKevin Wolf{
831dac83f1SKevin Wolf    "timestamp": {
841dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
851dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
861dac83f1SKevin Wolf    },
871dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
881dac83f1SKevin Wolf    "data": {
891dac83f1SKevin Wolf        "status": "concluded",
901dac83f1SKevin Wolf        "id": "commit0"
911dac83f1SKevin Wolf    }
921dac83f1SKevin Wolf}
931dac83f1SKevin Wolf{
941dac83f1SKevin Wolf    "timestamp": {
951dac83f1SKevin Wolf        "seconds":  TIMESTAMP,
961dac83f1SKevin Wolf        "microseconds":  TIMESTAMP
971dac83f1SKevin Wolf    },
981dac83f1SKevin Wolf    "event": "JOB_STATUS_CHANGE",
991dac83f1SKevin Wolf    "data": {
1001dac83f1SKevin Wolf        "status": "null",
1011dac83f1SKevin Wolf        "id": "commit0"
1021dac83f1SKevin Wolf    }
1031dac83f1SKevin Wolf}
1047c61a4a3SKevin Wolf
1057c61a4a3SKevin Wolf=== Check that both top and top2 point to base now ===
1067c61a4a3SKevin Wolf
107a98b1a1fSEric Blake{ 'execute': 'query-named-block-nodes' }
1087c61a4a3SKevin Wolf{
1097c61a4a3SKevin Wolf    "return": [
1107c61a4a3SKevin Wolf        {
1117c61a4a3SKevin Wolf            "iops_rd": 0,
1127c61a4a3SKevin Wolf            "detect_zeroes": "off",
1137c61a4a3SKevin Wolf            "image": {
1147c61a4a3SKevin Wolf                "backing-image": {
1157c61a4a3SKevin Wolf                    "virtual-size": 67108864,
1162483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
1177c61a4a3SKevin Wolf                    "cluster-size": 65536,
1182483537eSMax Reitz                    "format": "IMGFMT",
119b66df843SMax Reitz                    "actual-size": SIZE,
1207c61a4a3SKevin Wolf                    "dirty-flag": false
1217c61a4a3SKevin Wolf                },
1222483537eSMax Reitz                "backing-filename-format": "IMGFMT",
1237c61a4a3SKevin Wolf                "virtual-size": 67108864,
1242483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl2",
1257c61a4a3SKevin Wolf                "cluster-size": 65536,
1262483537eSMax Reitz                "format": "IMGFMT",
127b66df843SMax Reitz                "actual-size": SIZE,
1282483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
1292483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
1307c61a4a3SKevin Wolf                "dirty-flag": false
1317c61a4a3SKevin Wolf            },
1327c61a4a3SKevin Wolf            "iops_wr": 0,
1337c61a4a3SKevin Wolf            "ro": false,
1347c61a4a3SKevin Wolf            "node-name": "top2",
1357c61a4a3SKevin Wolf            "backing_file_depth": 1,
1362483537eSMax Reitz            "drv": "IMGFMT",
1377c61a4a3SKevin Wolf            "iops": 0,
1387c61a4a3SKevin Wolf            "bps_wr": 0,
1397c61a4a3SKevin Wolf            "write_threshold": 0,
1402483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
1417c61a4a3SKevin Wolf            "encrypted": false,
1427c61a4a3SKevin Wolf            "bps": 0,
1437c61a4a3SKevin Wolf            "bps_rd": 0,
1447c61a4a3SKevin Wolf            "cache": {
1457c61a4a3SKevin Wolf                "no-flush": false,
1467c61a4a3SKevin Wolf                "direct": false,
1477c61a4a3SKevin Wolf                "writeback": true
1487c61a4a3SKevin Wolf            },
1492483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.ovl2",
1507c61a4a3SKevin Wolf            "encryption_key_missing": false
1517c61a4a3SKevin Wolf        },
1527c61a4a3SKevin Wolf        {
1537c61a4a3SKevin Wolf            "iops_rd": 0,
1547c61a4a3SKevin Wolf            "detect_zeroes": "off",
1557c61a4a3SKevin Wolf            "image": {
1567c61a4a3SKevin Wolf                "virtual-size": 197120,
1572483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl2",
1587c61a4a3SKevin Wolf                "format": "file",
159b66df843SMax Reitz                "actual-size": SIZE,
1607c61a4a3SKevin Wolf                "dirty-flag": false
1617c61a4a3SKevin Wolf            },
1627c61a4a3SKevin Wolf            "iops_wr": 0,
1637c61a4a3SKevin Wolf            "ro": false,
1647c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
1657c61a4a3SKevin Wolf            "backing_file_depth": 0,
1667c61a4a3SKevin Wolf            "drv": "file",
1677c61a4a3SKevin Wolf            "iops": 0,
1687c61a4a3SKevin Wolf            "bps_wr": 0,
1697c61a4a3SKevin Wolf            "write_threshold": 0,
1707c61a4a3SKevin Wolf            "encrypted": false,
1717c61a4a3SKevin Wolf            "bps": 0,
1727c61a4a3SKevin Wolf            "bps_rd": 0,
1737c61a4a3SKevin Wolf            "cache": {
1747c61a4a3SKevin Wolf                "no-flush": false,
1757c61a4a3SKevin Wolf                "direct": false,
1767c61a4a3SKevin Wolf                "writeback": true
1777c61a4a3SKevin Wolf            },
1782483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.ovl2",
1797c61a4a3SKevin Wolf            "encryption_key_missing": false
1807c61a4a3SKevin Wolf        },
1817c61a4a3SKevin Wolf        {
1827c61a4a3SKevin Wolf            "iops_rd": 0,
1837c61a4a3SKevin Wolf            "detect_zeroes": "off",
1847c61a4a3SKevin Wolf            "image": {
1857c61a4a3SKevin Wolf                "backing-image": {
1867c61a4a3SKevin Wolf                    "virtual-size": 67108864,
1872483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
1887c61a4a3SKevin Wolf                    "cluster-size": 65536,
1892483537eSMax Reitz                    "format": "IMGFMT",
190b66df843SMax Reitz                    "actual-size": SIZE,
1917c61a4a3SKevin Wolf                    "dirty-flag": false
1927c61a4a3SKevin Wolf                },
1932483537eSMax Reitz                "backing-filename-format": "IMGFMT",
1947c61a4a3SKevin Wolf                "virtual-size": 67108864,
1952483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT",
1967c61a4a3SKevin Wolf                "cluster-size": 65536,
1972483537eSMax Reitz                "format": "IMGFMT",
198b66df843SMax Reitz                "actual-size": SIZE,
1992483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
2002483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
2017c61a4a3SKevin Wolf                "dirty-flag": false
2027c61a4a3SKevin Wolf            },
2037c61a4a3SKevin Wolf            "iops_wr": 0,
2047c61a4a3SKevin Wolf            "ro": false,
2057c61a4a3SKevin Wolf            "node-name": "top",
2067c61a4a3SKevin Wolf            "backing_file_depth": 1,
2072483537eSMax Reitz            "drv": "IMGFMT",
2087c61a4a3SKevin Wolf            "iops": 0,
2097c61a4a3SKevin Wolf            "bps_wr": 0,
2107c61a4a3SKevin Wolf            "write_threshold": 0,
2112483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
2127c61a4a3SKevin Wolf            "encrypted": false,
2137c61a4a3SKevin Wolf            "bps": 0,
2147c61a4a3SKevin Wolf            "bps_rd": 0,
2157c61a4a3SKevin Wolf            "cache": {
2167c61a4a3SKevin Wolf                "no-flush": false,
2177c61a4a3SKevin Wolf                "direct": false,
2187c61a4a3SKevin Wolf                "writeback": true
2197c61a4a3SKevin Wolf            },
2202483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT",
2217c61a4a3SKevin Wolf            "encryption_key_missing": false
2227c61a4a3SKevin Wolf        },
2237c61a4a3SKevin Wolf        {
2247c61a4a3SKevin Wolf            "iops_rd": 0,
2257c61a4a3SKevin Wolf            "detect_zeroes": "off",
2267c61a4a3SKevin Wolf            "image": {
2277c61a4a3SKevin Wolf                "virtual-size": 197120,
2282483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT",
2297c61a4a3SKevin Wolf                "format": "file",
230b66df843SMax Reitz                "actual-size": SIZE,
2317c61a4a3SKevin Wolf                "dirty-flag": false
2327c61a4a3SKevin Wolf            },
2337c61a4a3SKevin Wolf            "iops_wr": 0,
2347c61a4a3SKevin Wolf            "ro": false,
2357c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
2367c61a4a3SKevin Wolf            "backing_file_depth": 0,
2377c61a4a3SKevin Wolf            "drv": "file",
2387c61a4a3SKevin Wolf            "iops": 0,
2397c61a4a3SKevin Wolf            "bps_wr": 0,
2407c61a4a3SKevin Wolf            "write_threshold": 0,
2417c61a4a3SKevin Wolf            "encrypted": false,
2427c61a4a3SKevin Wolf            "bps": 0,
2437c61a4a3SKevin Wolf            "bps_rd": 0,
2447c61a4a3SKevin Wolf            "cache": {
2457c61a4a3SKevin Wolf                "no-flush": false,
2467c61a4a3SKevin Wolf                "direct": false,
2477c61a4a3SKevin Wolf                "writeback": true
2487c61a4a3SKevin Wolf            },
2492483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT",
2507c61a4a3SKevin Wolf            "encryption_key_missing": false
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            },
2912483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.mid",
2927c61a4a3SKevin Wolf            "encryption_key_missing": false
2937c61a4a3SKevin Wolf        },
2947c61a4a3SKevin Wolf        {
2957c61a4a3SKevin Wolf            "iops_rd": 0,
2967c61a4a3SKevin Wolf            "detect_zeroes": "off",
2977c61a4a3SKevin Wolf            "image": {
2987c61a4a3SKevin Wolf                "virtual-size": 393216,
2992483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.mid",
3007c61a4a3SKevin Wolf                "format": "file",
301b66df843SMax Reitz                "actual-size": SIZE,
3027c61a4a3SKevin Wolf                "dirty-flag": false
3037c61a4a3SKevin Wolf            },
3047c61a4a3SKevin Wolf            "iops_wr": 0,
3057c61a4a3SKevin Wolf            "ro": false,
3067c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
3077c61a4a3SKevin Wolf            "backing_file_depth": 0,
3087c61a4a3SKevin Wolf            "drv": "file",
3097c61a4a3SKevin Wolf            "iops": 0,
3107c61a4a3SKevin Wolf            "bps_wr": 0,
3117c61a4a3SKevin Wolf            "write_threshold": 0,
3127c61a4a3SKevin Wolf            "encrypted": false,
3137c61a4a3SKevin Wolf            "bps": 0,
3147c61a4a3SKevin Wolf            "bps_rd": 0,
3157c61a4a3SKevin Wolf            "cache": {
3167c61a4a3SKevin Wolf                "no-flush": false,
3177c61a4a3SKevin Wolf                "direct": false,
3187c61a4a3SKevin Wolf                "writeback": true
3197c61a4a3SKevin Wolf            },
3202483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.mid",
3217c61a4a3SKevin Wolf            "encryption_key_missing": false
3227c61a4a3SKevin Wolf        },
3237c61a4a3SKevin Wolf        {
3247c61a4a3SKevin Wolf            "iops_rd": 0,
3257c61a4a3SKevin Wolf            "detect_zeroes": "off",
3267c61a4a3SKevin Wolf            "image": {
3277c61a4a3SKevin Wolf                "virtual-size": 67108864,
3282483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.base",
3297c61a4a3SKevin Wolf                "cluster-size": 65536,
3302483537eSMax Reitz                "format": "IMGFMT",
331b66df843SMax Reitz                "actual-size": SIZE,
3327c61a4a3SKevin Wolf                "dirty-flag": false
3337c61a4a3SKevin Wolf            },
3347c61a4a3SKevin Wolf            "iops_wr": 0,
3357c61a4a3SKevin Wolf            "ro": false,
3367c61a4a3SKevin Wolf            "node-name": "base",
3377c61a4a3SKevin Wolf            "backing_file_depth": 0,
3382483537eSMax Reitz            "drv": "IMGFMT",
3397c61a4a3SKevin Wolf            "iops": 0,
3407c61a4a3SKevin Wolf            "bps_wr": 0,
3417c61a4a3SKevin Wolf            "write_threshold": 0,
3427c61a4a3SKevin Wolf            "encrypted": false,
3437c61a4a3SKevin Wolf            "bps": 0,
3447c61a4a3SKevin Wolf            "bps_rd": 0,
3457c61a4a3SKevin Wolf            "cache": {
3467c61a4a3SKevin Wolf                "no-flush": false,
3477c61a4a3SKevin Wolf                "direct": false,
3487c61a4a3SKevin Wolf                "writeback": true
3497c61a4a3SKevin Wolf            },
3502483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.base",
3517c61a4a3SKevin Wolf            "encryption_key_missing": false
3527c61a4a3SKevin Wolf        },
3537c61a4a3SKevin Wolf        {
3547c61a4a3SKevin Wolf            "iops_rd": 0,
3557c61a4a3SKevin Wolf            "detect_zeroes": "off",
3567c61a4a3SKevin Wolf            "image": {
3577c61a4a3SKevin Wolf                "virtual-size": 393216,
3582483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.base",
3597c61a4a3SKevin Wolf                "format": "file",
360b66df843SMax Reitz                "actual-size": SIZE,
3617c61a4a3SKevin Wolf                "dirty-flag": false
3627c61a4a3SKevin Wolf            },
3637c61a4a3SKevin Wolf            "iops_wr": 0,
3647c61a4a3SKevin Wolf            "ro": false,
3657c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
3667c61a4a3SKevin Wolf            "backing_file_depth": 0,
3677c61a4a3SKevin Wolf            "drv": "file",
3687c61a4a3SKevin Wolf            "iops": 0,
3697c61a4a3SKevin Wolf            "bps_wr": 0,
3707c61a4a3SKevin Wolf            "write_threshold": 0,
3717c61a4a3SKevin Wolf            "encrypted": false,
3727c61a4a3SKevin Wolf            "bps": 0,
3737c61a4a3SKevin Wolf            "bps_rd": 0,
3747c61a4a3SKevin Wolf            "cache": {
3757c61a4a3SKevin Wolf                "no-flush": false,
3767c61a4a3SKevin Wolf                "direct": false,
3777c61a4a3SKevin Wolf                "writeback": true
3787c61a4a3SKevin Wolf            },
3792483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.base",
3807c61a4a3SKevin Wolf            "encryption_key_missing": false
3817c61a4a3SKevin Wolf        }
3827c61a4a3SKevin Wolf    ]
3837c61a4a3SKevin Wolf}
384a98b1a1fSEric Blake{ 'execute': 'quit' }
3857c61a4a3SKevin Wolf{
3867c61a4a3SKevin Wolf    "return": {
3877c61a4a3SKevin Wolf    }
3887c61a4a3SKevin Wolf}
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}
4007c61a4a3SKevin Wolfimage: TEST_DIR/t.IMGFMT
4017c61a4a3SKevin Wolffile format: IMGFMT
402de38b500SEric Blakevirtual size: 64 MiB (67108864 bytes)
4037c61a4a3SKevin Wolfcluster_size: 65536
4047c61a4a3SKevin Wolfbacking file: TEST_DIR/t.IMGFMT.base
4057c61a4a3SKevin Wolfbacking file format: IMGFMT
4067c61a4a3SKevin Wolfimage: TEST_DIR/t.IMGFMT.ovl2
4077c61a4a3SKevin Wolffile format: IMGFMT
408de38b500SEric Blakevirtual size: 64 MiB (67108864 bytes)
4097c61a4a3SKevin Wolfcluster_size: 65536
4107c61a4a3SKevin Wolfbacking file: TEST_DIR/t.IMGFMT.base
4117c61a4a3SKevin Wolfbacking file format: IMGFMT
4127c61a4a3SKevin Wolf
4137c61a4a3SKevin Wolf=== Preparing and starting VM with -drive ===
4147c61a4a3SKevin Wolf
4157c61a4a3SKevin WolfFormatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
416*b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT.mid', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
417*b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing_fmt=IMGFMT
418*b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT.ovl2', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing_fmt=IMGFMT
419*b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT.ovl3', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.ovl2 backing_fmt=IMGFMT
4207c61a4a3SKevin Wolfwrote 65536/65536 bytes at offset 1048576
4217c61a4a3SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
422a98b1a1fSEric Blake{ 'execute': 'qmp_capabilities' }
4237c61a4a3SKevin Wolf{
4247c61a4a3SKevin Wolf    "return": {
4257c61a4a3SKevin Wolf    }
4267c61a4a3SKevin Wolf}
4277c61a4a3SKevin Wolf
4287c61a4a3SKevin Wolf=== Perform commit job ===
4297c61a4a3SKevin Wolf
430a98b1a1fSEric Blake{ 'execute': 'block-commit', 'arguments': { 'job-id': 'commit0', 'device': 'top', 'base':'TEST_DIR/t.IMGFMT.base', '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            },
5602483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.ovl2",
5617c61a4a3SKevin Wolf            "encryption_key_missing": false
5627c61a4a3SKevin Wolf        },
5637c61a4a3SKevin Wolf        {
5647c61a4a3SKevin Wolf            "iops_rd": 0,
5657c61a4a3SKevin Wolf            "detect_zeroes": "off",
5667c61a4a3SKevin Wolf            "image": {
5677c61a4a3SKevin Wolf                "virtual-size": 197120,
5682483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl2",
5697c61a4a3SKevin Wolf                "format": "file",
570b66df843SMax Reitz                "actual-size": SIZE,
5717c61a4a3SKevin Wolf                "dirty-flag": false
5727c61a4a3SKevin Wolf            },
5737c61a4a3SKevin Wolf            "iops_wr": 0,
5747c61a4a3SKevin Wolf            "ro": true,
5757c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
5767c61a4a3SKevin Wolf            "backing_file_depth": 0,
5777c61a4a3SKevin Wolf            "drv": "file",
5787c61a4a3SKevin Wolf            "iops": 0,
5797c61a4a3SKevin Wolf            "bps_wr": 0,
5807c61a4a3SKevin Wolf            "write_threshold": 0,
5817c61a4a3SKevin Wolf            "encrypted": false,
5827c61a4a3SKevin Wolf            "bps": 0,
5837c61a4a3SKevin Wolf            "bps_rd": 0,
5847c61a4a3SKevin Wolf            "cache": {
5857c61a4a3SKevin Wolf                "no-flush": false,
5867c61a4a3SKevin Wolf                "direct": false,
5877c61a4a3SKevin Wolf                "writeback": true
5887c61a4a3SKevin Wolf            },
5892483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.ovl2",
5907c61a4a3SKevin Wolf            "encryption_key_missing": false
5917c61a4a3SKevin Wolf        },
5927c61a4a3SKevin Wolf        {
5937c61a4a3SKevin Wolf            "iops_rd": 0,
5947c61a4a3SKevin Wolf            "detect_zeroes": "off",
5957c61a4a3SKevin Wolf            "image": {
5967c61a4a3SKevin Wolf                "backing-image": {
5977c61a4a3SKevin Wolf                    "backing-image": {
5987c61a4a3SKevin Wolf                        "virtual-size": 67108864,
5992483537eSMax Reitz                        "filename": "TEST_DIR/t.IMGFMT.base",
6007c61a4a3SKevin Wolf                        "cluster-size": 65536,
6012483537eSMax Reitz                        "format": "IMGFMT",
602b66df843SMax Reitz                        "actual-size": SIZE,
6037c61a4a3SKevin Wolf                        "dirty-flag": false
6047c61a4a3SKevin Wolf                    },
6052483537eSMax Reitz                    "backing-filename-format": "IMGFMT",
6067c61a4a3SKevin Wolf                    "virtual-size": 67108864,
6072483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.ovl2",
6087c61a4a3SKevin Wolf                    "cluster-size": 65536,
6092483537eSMax Reitz                    "format": "IMGFMT",
610b66df843SMax Reitz                    "actual-size": SIZE,
6112483537eSMax Reitz                    "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
6122483537eSMax Reitz                    "backing-filename": "TEST_DIR/t.IMGFMT.base",
6137c61a4a3SKevin Wolf                    "dirty-flag": false
6147c61a4a3SKevin Wolf                },
6152483537eSMax Reitz                "backing-filename-format": "IMGFMT",
6167c61a4a3SKevin Wolf                "virtual-size": 67108864,
6172483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl3",
6187c61a4a3SKevin Wolf                "cluster-size": 65536,
6192483537eSMax Reitz                "format": "IMGFMT",
620b66df843SMax Reitz                "actual-size": SIZE,
6212483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.ovl2",
6222483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.ovl2",
6237c61a4a3SKevin Wolf                "dirty-flag": false
6247c61a4a3SKevin Wolf            },
6257c61a4a3SKevin Wolf            "iops_wr": 0,
6267c61a4a3SKevin Wolf            "ro": false,
6277c61a4a3SKevin Wolf            "node-name": "top2",
6287c61a4a3SKevin Wolf            "backing_file_depth": 2,
6292483537eSMax Reitz            "drv": "IMGFMT",
6307c61a4a3SKevin Wolf            "iops": 0,
6317c61a4a3SKevin Wolf            "bps_wr": 0,
6327c61a4a3SKevin Wolf            "write_threshold": 0,
6332483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.ovl2",
6347c61a4a3SKevin Wolf            "encrypted": false,
6357c61a4a3SKevin Wolf            "bps": 0,
6367c61a4a3SKevin Wolf            "bps_rd": 0,
6377c61a4a3SKevin Wolf            "cache": {
6387c61a4a3SKevin Wolf                "no-flush": false,
6397c61a4a3SKevin Wolf                "direct": false,
6407c61a4a3SKevin Wolf                "writeback": true
6417c61a4a3SKevin Wolf            },
6422483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.ovl3",
6437c61a4a3SKevin Wolf            "encryption_key_missing": false
6447c61a4a3SKevin Wolf        },
6457c61a4a3SKevin Wolf        {
6467c61a4a3SKevin Wolf            "iops_rd": 0,
6477c61a4a3SKevin Wolf            "detect_zeroes": "off",
6487c61a4a3SKevin Wolf            "image": {
6497c61a4a3SKevin Wolf                "virtual-size": 197120,
6502483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl3",
6517c61a4a3SKevin Wolf                "format": "file",
652b66df843SMax Reitz                "actual-size": SIZE,
6537c61a4a3SKevin Wolf                "dirty-flag": false
6547c61a4a3SKevin Wolf            },
6557c61a4a3SKevin Wolf            "iops_wr": 0,
6567c61a4a3SKevin Wolf            "ro": false,
6577c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
6587c61a4a3SKevin Wolf            "backing_file_depth": 0,
6597c61a4a3SKevin Wolf            "drv": "file",
6607c61a4a3SKevin Wolf            "iops": 0,
6617c61a4a3SKevin Wolf            "bps_wr": 0,
6627c61a4a3SKevin Wolf            "write_threshold": 0,
6637c61a4a3SKevin Wolf            "encrypted": false,
6647c61a4a3SKevin Wolf            "bps": 0,
6657c61a4a3SKevin Wolf            "bps_rd": 0,
6667c61a4a3SKevin Wolf            "cache": {
6677c61a4a3SKevin Wolf                "no-flush": false,
6687c61a4a3SKevin Wolf                "direct": false,
6697c61a4a3SKevin Wolf                "writeback": true
6707c61a4a3SKevin Wolf            },
6712483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.ovl3",
6727c61a4a3SKevin Wolf            "encryption_key_missing": false
6737c61a4a3SKevin Wolf        },
6747c61a4a3SKevin Wolf        {
6757c61a4a3SKevin Wolf            "iops_rd": 0,
6767c61a4a3SKevin Wolf            "detect_zeroes": "off",
6777c61a4a3SKevin Wolf            "image": {
6787c61a4a3SKevin Wolf                "virtual-size": 67108864,
6792483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.base",
6807c61a4a3SKevin Wolf                "cluster-size": 65536,
6812483537eSMax Reitz                "format": "IMGFMT",
682b66df843SMax Reitz                "actual-size": SIZE,
6837c61a4a3SKevin Wolf                "dirty-flag": false
6847c61a4a3SKevin Wolf            },
6857c61a4a3SKevin Wolf            "iops_wr": 0,
6867c61a4a3SKevin Wolf            "ro": true,
6877c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
6887c61a4a3SKevin Wolf            "backing_file_depth": 0,
6892483537eSMax Reitz            "drv": "IMGFMT",
6907c61a4a3SKevin Wolf            "iops": 0,
6917c61a4a3SKevin Wolf            "bps_wr": 0,
6927c61a4a3SKevin Wolf            "write_threshold": 0,
6937c61a4a3SKevin Wolf            "encrypted": false,
6947c61a4a3SKevin Wolf            "bps": 0,
6957c61a4a3SKevin Wolf            "bps_rd": 0,
6967c61a4a3SKevin Wolf            "cache": {
6977c61a4a3SKevin Wolf                "no-flush": false,
6987c61a4a3SKevin Wolf                "direct": false,
6997c61a4a3SKevin Wolf                "writeback": true
7007c61a4a3SKevin Wolf            },
7012483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.base",
7027c61a4a3SKevin Wolf            "encryption_key_missing": false
7037c61a4a3SKevin Wolf        },
7047c61a4a3SKevin Wolf        {
7057c61a4a3SKevin Wolf            "iops_rd": 0,
7067c61a4a3SKevin Wolf            "detect_zeroes": "off",
7077c61a4a3SKevin Wolf            "image": {
7087c61a4a3SKevin Wolf                "virtual-size": 393216,
7092483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.base",
7107c61a4a3SKevin Wolf                "format": "file",
711b66df843SMax Reitz                "actual-size": SIZE,
7127c61a4a3SKevin Wolf                "dirty-flag": false
7137c61a4a3SKevin Wolf            },
7147c61a4a3SKevin Wolf            "iops_wr": 0,
7157c61a4a3SKevin Wolf            "ro": true,
7167c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
7177c61a4a3SKevin Wolf            "backing_file_depth": 0,
7187c61a4a3SKevin Wolf            "drv": "file",
7197c61a4a3SKevin Wolf            "iops": 0,
7207c61a4a3SKevin Wolf            "bps_wr": 0,
7217c61a4a3SKevin Wolf            "write_threshold": 0,
7227c61a4a3SKevin Wolf            "encrypted": false,
7237c61a4a3SKevin Wolf            "bps": 0,
7247c61a4a3SKevin Wolf            "bps_rd": 0,
7257c61a4a3SKevin Wolf            "cache": {
7267c61a4a3SKevin Wolf                "no-flush": false,
7277c61a4a3SKevin Wolf                "direct": false,
7287c61a4a3SKevin Wolf                "writeback": true
7297c61a4a3SKevin Wolf            },
7302483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.base",
7317c61a4a3SKevin Wolf            "encryption_key_missing": false
7327c61a4a3SKevin Wolf        },
7337c61a4a3SKevin Wolf        {
7347c61a4a3SKevin Wolf            "iops_rd": 0,
7357c61a4a3SKevin Wolf            "detect_zeroes": "off",
7367c61a4a3SKevin Wolf            "image": {
7377c61a4a3SKevin Wolf                "backing-image": {
7387c61a4a3SKevin Wolf                    "virtual-size": 67108864,
7392483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
7407c61a4a3SKevin Wolf                    "cluster-size": 65536,
7412483537eSMax Reitz                    "format": "IMGFMT",
742b66df843SMax Reitz                    "actual-size": SIZE,
7437c61a4a3SKevin Wolf                    "dirty-flag": false
7447c61a4a3SKevin Wolf                },
7452483537eSMax Reitz                "backing-filename-format": "IMGFMT",
7467c61a4a3SKevin Wolf                "virtual-size": 67108864,
7472483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT",
7487c61a4a3SKevin Wolf                "cluster-size": 65536,
7492483537eSMax Reitz                "format": "IMGFMT",
750b66df843SMax Reitz                "actual-size": SIZE,
7512483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
7522483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
7537c61a4a3SKevin Wolf                "dirty-flag": false
7547c61a4a3SKevin Wolf            },
7557c61a4a3SKevin Wolf            "iops_wr": 0,
7567c61a4a3SKevin Wolf            "ro": false,
7577c61a4a3SKevin Wolf            "node-name": "top",
7587c61a4a3SKevin Wolf            "backing_file_depth": 1,
7592483537eSMax Reitz            "drv": "IMGFMT",
7607c61a4a3SKevin Wolf            "iops": 0,
7617c61a4a3SKevin Wolf            "bps_wr": 0,
7627c61a4a3SKevin Wolf            "write_threshold": 0,
7632483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
7647c61a4a3SKevin Wolf            "encrypted": false,
7657c61a4a3SKevin Wolf            "bps": 0,
7667c61a4a3SKevin Wolf            "bps_rd": 0,
7677c61a4a3SKevin Wolf            "cache": {
7687c61a4a3SKevin Wolf                "no-flush": false,
7697c61a4a3SKevin Wolf                "direct": false,
7707c61a4a3SKevin Wolf                "writeback": true
7717c61a4a3SKevin Wolf            },
7722483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT",
7737c61a4a3SKevin Wolf            "encryption_key_missing": false
7747c61a4a3SKevin Wolf        },
7757c61a4a3SKevin Wolf        {
7767c61a4a3SKevin Wolf            "iops_rd": 0,
7777c61a4a3SKevin Wolf            "detect_zeroes": "off",
7787c61a4a3SKevin Wolf            "image": {
7797c61a4a3SKevin Wolf                "virtual-size": 197120,
7802483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT",
7817c61a4a3SKevin Wolf                "format": "file",
782b66df843SMax Reitz                "actual-size": SIZE,
7837c61a4a3SKevin Wolf                "dirty-flag": false
7847c61a4a3SKevin Wolf            },
7857c61a4a3SKevin Wolf            "iops_wr": 0,
7867c61a4a3SKevin Wolf            "ro": false,
7877c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
7887c61a4a3SKevin Wolf            "backing_file_depth": 0,
7897c61a4a3SKevin Wolf            "drv": "file",
7907c61a4a3SKevin Wolf            "iops": 0,
7917c61a4a3SKevin Wolf            "bps_wr": 0,
7927c61a4a3SKevin Wolf            "write_threshold": 0,
7937c61a4a3SKevin Wolf            "encrypted": false,
7947c61a4a3SKevin Wolf            "bps": 0,
7957c61a4a3SKevin Wolf            "bps_rd": 0,
7967c61a4a3SKevin Wolf            "cache": {
7977c61a4a3SKevin Wolf                "no-flush": false,
7987c61a4a3SKevin Wolf                "direct": false,
7997c61a4a3SKevin Wolf                "writeback": true
8007c61a4a3SKevin Wolf            },
8012483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT",
8027c61a4a3SKevin Wolf            "encryption_key_missing": false
8037c61a4a3SKevin Wolf        }
8047c61a4a3SKevin Wolf    ]
8057c61a4a3SKevin Wolf}
806a98b1a1fSEric Blake{ 'execute': 'quit' }
8077c61a4a3SKevin Wolf{
8087c61a4a3SKevin Wolf    "return": {
8097c61a4a3SKevin Wolf    }
8107c61a4a3SKevin Wolf}
8117c61a4a3SKevin Wolf{
8127c61a4a3SKevin Wolf    "timestamp": {
8137c61a4a3SKevin Wolf        "seconds":  TIMESTAMP,
8147c61a4a3SKevin Wolf        "microseconds":  TIMESTAMP
8157c61a4a3SKevin Wolf    },
8167c61a4a3SKevin Wolf    "event": "SHUTDOWN",
8177c61a4a3SKevin Wolf    "data": {
818ecd7a0d5SDominik Csapak        "guest": false,
81992548938SDominik Csapak        "reason": "host-qmp-quit"
8207c61a4a3SKevin Wolf    }
8217c61a4a3SKevin Wolf}
8227c61a4a3SKevin Wolfimage: TEST_DIR/t.IMGFMT
8237c61a4a3SKevin Wolffile format: IMGFMT
824de38b500SEric Blakevirtual size: 64 MiB (67108864 bytes)
8257c61a4a3SKevin Wolfcluster_size: 65536
8267c61a4a3SKevin Wolfbacking file: TEST_DIR/t.IMGFMT.base
8277c61a4a3SKevin Wolfbacking file format: IMGFMT
8287c61a4a3SKevin Wolfimage: TEST_DIR/t.IMGFMT.ovl2
8297c61a4a3SKevin Wolffile format: IMGFMT
830de38b500SEric Blakevirtual size: 64 MiB (67108864 bytes)
8317c61a4a3SKevin Wolfcluster_size: 65536
8327c61a4a3SKevin Wolfbacking file: TEST_DIR/t.IMGFMT.base
8337c61a4a3SKevin Wolfbacking file format: IMGFMT
8347c61a4a3SKevin Wolf*** done
835