xref: /qemu/tests/qemu-iotests/191.out (revision 0e72078128229bf9efb542e396ab44bf91b91340)
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
19*0e720781SMax Reitz{ 'execute': 'block-commit',
20*0e720781SMax Reitz       'arguments': { 'job-id': 'commit0',
21*0e720781SMax Reitz                      'device': 'top',
22*0e720781SMax Reitz                      'base':'TEST_DIR/t.IMGFMT.base',
23*0e720781SMax 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            },
1532483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.ovl2",
1547c61a4a3SKevin Wolf            "encryption_key_missing": false
1557c61a4a3SKevin Wolf        },
1567c61a4a3SKevin Wolf        {
1577c61a4a3SKevin Wolf            "iops_rd": 0,
1587c61a4a3SKevin Wolf            "detect_zeroes": "off",
1597c61a4a3SKevin Wolf            "image": {
1607c61a4a3SKevin Wolf                "virtual-size": 197120,
1612483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl2",
1627c61a4a3SKevin Wolf                "format": "file",
163b66df843SMax Reitz                "actual-size": SIZE,
1647c61a4a3SKevin Wolf                "dirty-flag": false
1657c61a4a3SKevin Wolf            },
1667c61a4a3SKevin Wolf            "iops_wr": 0,
1677c61a4a3SKevin Wolf            "ro": false,
1687c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
1697c61a4a3SKevin Wolf            "backing_file_depth": 0,
1707c61a4a3SKevin Wolf            "drv": "file",
1717c61a4a3SKevin Wolf            "iops": 0,
1727c61a4a3SKevin Wolf            "bps_wr": 0,
1737c61a4a3SKevin Wolf            "write_threshold": 0,
1747c61a4a3SKevin Wolf            "encrypted": false,
1757c61a4a3SKevin Wolf            "bps": 0,
1767c61a4a3SKevin Wolf            "bps_rd": 0,
1777c61a4a3SKevin Wolf            "cache": {
1787c61a4a3SKevin Wolf                "no-flush": false,
1797c61a4a3SKevin Wolf                "direct": false,
1807c61a4a3SKevin Wolf                "writeback": true
1817c61a4a3SKevin Wolf            },
1822483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.ovl2",
1837c61a4a3SKevin Wolf            "encryption_key_missing": false
1847c61a4a3SKevin Wolf        },
1857c61a4a3SKevin Wolf        {
1867c61a4a3SKevin Wolf            "iops_rd": 0,
1877c61a4a3SKevin Wolf            "detect_zeroes": "off",
1887c61a4a3SKevin Wolf            "image": {
1897c61a4a3SKevin Wolf                "backing-image": {
1907c61a4a3SKevin Wolf                    "virtual-size": 67108864,
1912483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
1927c61a4a3SKevin Wolf                    "cluster-size": 65536,
1932483537eSMax Reitz                    "format": "IMGFMT",
194b66df843SMax Reitz                    "actual-size": SIZE,
1957c61a4a3SKevin Wolf                    "dirty-flag": false
1967c61a4a3SKevin Wolf                },
1972483537eSMax Reitz                "backing-filename-format": "IMGFMT",
1987c61a4a3SKevin Wolf                "virtual-size": 67108864,
1992483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT",
2007c61a4a3SKevin Wolf                "cluster-size": 65536,
2012483537eSMax Reitz                "format": "IMGFMT",
202b66df843SMax Reitz                "actual-size": SIZE,
2032483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
2042483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
2057c61a4a3SKevin Wolf                "dirty-flag": false
2067c61a4a3SKevin Wolf            },
2077c61a4a3SKevin Wolf            "iops_wr": 0,
2087c61a4a3SKevin Wolf            "ro": false,
2097c61a4a3SKevin Wolf            "node-name": "top",
2107c61a4a3SKevin Wolf            "backing_file_depth": 1,
2112483537eSMax Reitz            "drv": "IMGFMT",
2127c61a4a3SKevin Wolf            "iops": 0,
2137c61a4a3SKevin Wolf            "bps_wr": 0,
2147c61a4a3SKevin Wolf            "write_threshold": 0,
2152483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
2167c61a4a3SKevin Wolf            "encrypted": false,
2177c61a4a3SKevin Wolf            "bps": 0,
2187c61a4a3SKevin Wolf            "bps_rd": 0,
2197c61a4a3SKevin Wolf            "cache": {
2207c61a4a3SKevin Wolf                "no-flush": false,
2217c61a4a3SKevin Wolf                "direct": false,
2227c61a4a3SKevin Wolf                "writeback": true
2237c61a4a3SKevin Wolf            },
2242483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT",
2257c61a4a3SKevin Wolf            "encryption_key_missing": false
2267c61a4a3SKevin Wolf        },
2277c61a4a3SKevin Wolf        {
2287c61a4a3SKevin Wolf            "iops_rd": 0,
2297c61a4a3SKevin Wolf            "detect_zeroes": "off",
2307c61a4a3SKevin Wolf            "image": {
2317c61a4a3SKevin Wolf                "virtual-size": 197120,
2322483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT",
2337c61a4a3SKevin Wolf                "format": "file",
234b66df843SMax Reitz                "actual-size": SIZE,
2357c61a4a3SKevin Wolf                "dirty-flag": false
2367c61a4a3SKevin Wolf            },
2377c61a4a3SKevin Wolf            "iops_wr": 0,
2387c61a4a3SKevin Wolf            "ro": false,
2397c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
2407c61a4a3SKevin Wolf            "backing_file_depth": 0,
2417c61a4a3SKevin Wolf            "drv": "file",
2427c61a4a3SKevin Wolf            "iops": 0,
2437c61a4a3SKevin Wolf            "bps_wr": 0,
2447c61a4a3SKevin Wolf            "write_threshold": 0,
2457c61a4a3SKevin Wolf            "encrypted": false,
2467c61a4a3SKevin Wolf            "bps": 0,
2477c61a4a3SKevin Wolf            "bps_rd": 0,
2487c61a4a3SKevin Wolf            "cache": {
2497c61a4a3SKevin Wolf                "no-flush": false,
2507c61a4a3SKevin Wolf                "direct": false,
2517c61a4a3SKevin Wolf                "writeback": true
2527c61a4a3SKevin Wolf            },
2532483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT",
2547c61a4a3SKevin Wolf            "encryption_key_missing": false
2557c61a4a3SKevin Wolf        },
2567c61a4a3SKevin Wolf        {
2577c61a4a3SKevin Wolf            "iops_rd": 0,
2587c61a4a3SKevin Wolf            "detect_zeroes": "off",
2597c61a4a3SKevin Wolf            "image": {
2607c61a4a3SKevin Wolf                "backing-image": {
2617c61a4a3SKevin Wolf                    "virtual-size": 67108864,
2622483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
2637c61a4a3SKevin Wolf                    "cluster-size": 65536,
2642483537eSMax Reitz                    "format": "IMGFMT",
265b66df843SMax Reitz                    "actual-size": SIZE,
2667c61a4a3SKevin Wolf                    "dirty-flag": false
2677c61a4a3SKevin Wolf                },
2682483537eSMax Reitz                "backing-filename-format": "IMGFMT",
2697c61a4a3SKevin Wolf                "virtual-size": 67108864,
2702483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.mid",
2717c61a4a3SKevin Wolf                "cluster-size": 65536,
2722483537eSMax Reitz                "format": "IMGFMT",
273b66df843SMax Reitz                "actual-size": SIZE,
2742483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
2752483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
2767c61a4a3SKevin Wolf                "dirty-flag": false
2777c61a4a3SKevin Wolf            },
2787c61a4a3SKevin Wolf            "iops_wr": 0,
2797c61a4a3SKevin Wolf            "ro": false,
2807c61a4a3SKevin Wolf            "node-name": "mid",
2817c61a4a3SKevin Wolf            "backing_file_depth": 1,
2822483537eSMax Reitz            "drv": "IMGFMT",
2837c61a4a3SKevin Wolf            "iops": 0,
2847c61a4a3SKevin Wolf            "bps_wr": 0,
2857c61a4a3SKevin Wolf            "write_threshold": 0,
2862483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
2877c61a4a3SKevin Wolf            "encrypted": false,
2887c61a4a3SKevin Wolf            "bps": 0,
2897c61a4a3SKevin Wolf            "bps_rd": 0,
2907c61a4a3SKevin Wolf            "cache": {
2917c61a4a3SKevin Wolf                "no-flush": false,
2927c61a4a3SKevin Wolf                "direct": false,
2937c61a4a3SKevin Wolf                "writeback": true
2947c61a4a3SKevin Wolf            },
2952483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.mid",
2967c61a4a3SKevin Wolf            "encryption_key_missing": false
2977c61a4a3SKevin Wolf        },
2987c61a4a3SKevin Wolf        {
2997c61a4a3SKevin Wolf            "iops_rd": 0,
3007c61a4a3SKevin Wolf            "detect_zeroes": "off",
3017c61a4a3SKevin Wolf            "image": {
3027c61a4a3SKevin Wolf                "virtual-size": 393216,
3032483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.mid",
3047c61a4a3SKevin Wolf                "format": "file",
305b66df843SMax Reitz                "actual-size": SIZE,
3067c61a4a3SKevin Wolf                "dirty-flag": false
3077c61a4a3SKevin Wolf            },
3087c61a4a3SKevin Wolf            "iops_wr": 0,
3097c61a4a3SKevin Wolf            "ro": false,
3107c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
3117c61a4a3SKevin Wolf            "backing_file_depth": 0,
3127c61a4a3SKevin Wolf            "drv": "file",
3137c61a4a3SKevin Wolf            "iops": 0,
3147c61a4a3SKevin Wolf            "bps_wr": 0,
3157c61a4a3SKevin Wolf            "write_threshold": 0,
3167c61a4a3SKevin Wolf            "encrypted": false,
3177c61a4a3SKevin Wolf            "bps": 0,
3187c61a4a3SKevin Wolf            "bps_rd": 0,
3197c61a4a3SKevin Wolf            "cache": {
3207c61a4a3SKevin Wolf                "no-flush": false,
3217c61a4a3SKevin Wolf                "direct": false,
3227c61a4a3SKevin Wolf                "writeback": true
3237c61a4a3SKevin Wolf            },
3242483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.mid",
3257c61a4a3SKevin Wolf            "encryption_key_missing": false
3267c61a4a3SKevin Wolf        },
3277c61a4a3SKevin Wolf        {
3287c61a4a3SKevin Wolf            "iops_rd": 0,
3297c61a4a3SKevin Wolf            "detect_zeroes": "off",
3307c61a4a3SKevin Wolf            "image": {
3317c61a4a3SKevin Wolf                "virtual-size": 67108864,
3322483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.base",
3337c61a4a3SKevin Wolf                "cluster-size": 65536,
3342483537eSMax Reitz                "format": "IMGFMT",
335b66df843SMax Reitz                "actual-size": SIZE,
3367c61a4a3SKevin Wolf                "dirty-flag": false
3377c61a4a3SKevin Wolf            },
3387c61a4a3SKevin Wolf            "iops_wr": 0,
3397c61a4a3SKevin Wolf            "ro": false,
3407c61a4a3SKevin Wolf            "node-name": "base",
3417c61a4a3SKevin Wolf            "backing_file_depth": 0,
3422483537eSMax Reitz            "drv": "IMGFMT",
3437c61a4a3SKevin Wolf            "iops": 0,
3447c61a4a3SKevin Wolf            "bps_wr": 0,
3457c61a4a3SKevin Wolf            "write_threshold": 0,
3467c61a4a3SKevin Wolf            "encrypted": false,
3477c61a4a3SKevin Wolf            "bps": 0,
3487c61a4a3SKevin Wolf            "bps_rd": 0,
3497c61a4a3SKevin Wolf            "cache": {
3507c61a4a3SKevin Wolf                "no-flush": false,
3517c61a4a3SKevin Wolf                "direct": false,
3527c61a4a3SKevin Wolf                "writeback": true
3537c61a4a3SKevin Wolf            },
3542483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.base",
3557c61a4a3SKevin Wolf            "encryption_key_missing": false
3567c61a4a3SKevin Wolf        },
3577c61a4a3SKevin Wolf        {
3587c61a4a3SKevin Wolf            "iops_rd": 0,
3597c61a4a3SKevin Wolf            "detect_zeroes": "off",
3607c61a4a3SKevin Wolf            "image": {
3617c61a4a3SKevin Wolf                "virtual-size": 393216,
3622483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.base",
3637c61a4a3SKevin Wolf                "format": "file",
364b66df843SMax Reitz                "actual-size": SIZE,
3657c61a4a3SKevin Wolf                "dirty-flag": false
3667c61a4a3SKevin Wolf            },
3677c61a4a3SKevin Wolf            "iops_wr": 0,
3687c61a4a3SKevin Wolf            "ro": false,
3697c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
3707c61a4a3SKevin Wolf            "backing_file_depth": 0,
3717c61a4a3SKevin Wolf            "drv": "file",
3727c61a4a3SKevin Wolf            "iops": 0,
3737c61a4a3SKevin Wolf            "bps_wr": 0,
3747c61a4a3SKevin Wolf            "write_threshold": 0,
3757c61a4a3SKevin Wolf            "encrypted": false,
3767c61a4a3SKevin Wolf            "bps": 0,
3777c61a4a3SKevin Wolf            "bps_rd": 0,
3787c61a4a3SKevin Wolf            "cache": {
3797c61a4a3SKevin Wolf                "no-flush": false,
3807c61a4a3SKevin Wolf                "direct": false,
3817c61a4a3SKevin Wolf                "writeback": true
3827c61a4a3SKevin Wolf            },
3832483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.base",
3847c61a4a3SKevin Wolf            "encryption_key_missing": false
3857c61a4a3SKevin Wolf        }
3867c61a4a3SKevin Wolf    ]
3877c61a4a3SKevin Wolf}
388a98b1a1fSEric Blake{ 'execute': 'quit' }
3897c61a4a3SKevin Wolf{
3907c61a4a3SKevin Wolf    "return": {
3917c61a4a3SKevin Wolf    }
3927c61a4a3SKevin Wolf}
3937c61a4a3SKevin Wolf{
3947c61a4a3SKevin Wolf    "timestamp": {
3957c61a4a3SKevin Wolf        "seconds":  TIMESTAMP,
3967c61a4a3SKevin Wolf        "microseconds":  TIMESTAMP
3977c61a4a3SKevin Wolf    },
3987c61a4a3SKevin Wolf    "event": "SHUTDOWN",
3997c61a4a3SKevin Wolf    "data": {
400ecd7a0d5SDominik Csapak        "guest": false,
40192548938SDominik Csapak        "reason": "host-qmp-quit"
4027c61a4a3SKevin Wolf    }
4037c61a4a3SKevin Wolf}
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
434*0e720781SMax Reitz{ 'execute': 'block-commit',
435*0e720781SMax Reitz       'arguments': { 'job-id': 'commit0',
436*0e720781SMax Reitz                      'device': 'top',
437*0e720781SMax Reitz                      'base':'TEST_DIR/t.IMGFMT.base',
438*0e720781SMax 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",
5327c61a4a3SKevin Wolf            "image": {
5337c61a4a3SKevin Wolf                "backing-image": {
5347c61a4a3SKevin Wolf                    "virtual-size": 67108864,
5352483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
5367c61a4a3SKevin Wolf                    "cluster-size": 65536,
5372483537eSMax Reitz                    "format": "IMGFMT",
538b66df843SMax Reitz                    "actual-size": SIZE,
5397c61a4a3SKevin Wolf                    "dirty-flag": false
5407c61a4a3SKevin Wolf                },
5412483537eSMax Reitz                "backing-filename-format": "IMGFMT",
5427c61a4a3SKevin Wolf                "virtual-size": 67108864,
5432483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl2",
5447c61a4a3SKevin Wolf                "cluster-size": 65536,
5452483537eSMax Reitz                "format": "IMGFMT",
546b66df843SMax Reitz                "actual-size": SIZE,
5472483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
5482483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
5497c61a4a3SKevin Wolf                "dirty-flag": false
5507c61a4a3SKevin Wolf            },
5517c61a4a3SKevin Wolf            "iops_wr": 0,
5527c61a4a3SKevin Wolf            "ro": true,
5537c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
5547c61a4a3SKevin Wolf            "backing_file_depth": 1,
5552483537eSMax Reitz            "drv": "IMGFMT",
5567c61a4a3SKevin Wolf            "iops": 0,
5577c61a4a3SKevin Wolf            "bps_wr": 0,
5587c61a4a3SKevin Wolf            "write_threshold": 0,
5592483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
5607c61a4a3SKevin Wolf            "encrypted": false,
5617c61a4a3SKevin Wolf            "bps": 0,
5627c61a4a3SKevin Wolf            "bps_rd": 0,
5637c61a4a3SKevin Wolf            "cache": {
5647c61a4a3SKevin Wolf                "no-flush": false,
5657c61a4a3SKevin Wolf                "direct": false,
5667c61a4a3SKevin Wolf                "writeback": true
5677c61a4a3SKevin Wolf            },
5682483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.ovl2",
5697c61a4a3SKevin Wolf            "encryption_key_missing": false
5707c61a4a3SKevin Wolf        },
5717c61a4a3SKevin Wolf        {
5727c61a4a3SKevin Wolf            "iops_rd": 0,
5737c61a4a3SKevin Wolf            "detect_zeroes": "off",
5747c61a4a3SKevin Wolf            "image": {
5757c61a4a3SKevin Wolf                "virtual-size": 197120,
5762483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl2",
5777c61a4a3SKevin Wolf                "format": "file",
578b66df843SMax Reitz                "actual-size": SIZE,
5797c61a4a3SKevin Wolf                "dirty-flag": false
5807c61a4a3SKevin Wolf            },
5817c61a4a3SKevin Wolf            "iops_wr": 0,
5827c61a4a3SKevin Wolf            "ro": true,
5837c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
5847c61a4a3SKevin Wolf            "backing_file_depth": 0,
5857c61a4a3SKevin Wolf            "drv": "file",
5867c61a4a3SKevin Wolf            "iops": 0,
5877c61a4a3SKevin Wolf            "bps_wr": 0,
5887c61a4a3SKevin Wolf            "write_threshold": 0,
5897c61a4a3SKevin Wolf            "encrypted": false,
5907c61a4a3SKevin Wolf            "bps": 0,
5917c61a4a3SKevin Wolf            "bps_rd": 0,
5927c61a4a3SKevin Wolf            "cache": {
5937c61a4a3SKevin Wolf                "no-flush": false,
5947c61a4a3SKevin Wolf                "direct": false,
5957c61a4a3SKevin Wolf                "writeback": true
5967c61a4a3SKevin Wolf            },
5972483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.ovl2",
5987c61a4a3SKevin Wolf            "encryption_key_missing": false
5997c61a4a3SKevin Wolf        },
6007c61a4a3SKevin Wolf        {
6017c61a4a3SKevin Wolf            "iops_rd": 0,
6027c61a4a3SKevin Wolf            "detect_zeroes": "off",
6037c61a4a3SKevin Wolf            "image": {
6047c61a4a3SKevin Wolf                "backing-image": {
6057c61a4a3SKevin Wolf                    "backing-image": {
6067c61a4a3SKevin Wolf                        "virtual-size": 67108864,
6072483537eSMax Reitz                        "filename": "TEST_DIR/t.IMGFMT.base",
6087c61a4a3SKevin Wolf                        "cluster-size": 65536,
6092483537eSMax Reitz                        "format": "IMGFMT",
610b66df843SMax Reitz                        "actual-size": SIZE,
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.ovl2",
6167c61a4a3SKevin Wolf                    "cluster-size": 65536,
6172483537eSMax Reitz                    "format": "IMGFMT",
618b66df843SMax Reitz                    "actual-size": SIZE,
6192483537eSMax Reitz                    "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
6202483537eSMax Reitz                    "backing-filename": "TEST_DIR/t.IMGFMT.base",
6217c61a4a3SKevin Wolf                    "dirty-flag": false
6227c61a4a3SKevin Wolf                },
6232483537eSMax Reitz                "backing-filename-format": "IMGFMT",
6247c61a4a3SKevin Wolf                "virtual-size": 67108864,
6252483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl3",
6267c61a4a3SKevin Wolf                "cluster-size": 65536,
6272483537eSMax Reitz                "format": "IMGFMT",
628b66df843SMax Reitz                "actual-size": SIZE,
6292483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.ovl2",
6302483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.ovl2",
6317c61a4a3SKevin Wolf                "dirty-flag": false
6327c61a4a3SKevin Wolf            },
6337c61a4a3SKevin Wolf            "iops_wr": 0,
6347c61a4a3SKevin Wolf            "ro": false,
6357c61a4a3SKevin Wolf            "node-name": "top2",
6367c61a4a3SKevin Wolf            "backing_file_depth": 2,
6372483537eSMax Reitz            "drv": "IMGFMT",
6387c61a4a3SKevin Wolf            "iops": 0,
6397c61a4a3SKevin Wolf            "bps_wr": 0,
6407c61a4a3SKevin Wolf            "write_threshold": 0,
6412483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.ovl2",
6427c61a4a3SKevin Wolf            "encrypted": false,
6437c61a4a3SKevin Wolf            "bps": 0,
6447c61a4a3SKevin Wolf            "bps_rd": 0,
6457c61a4a3SKevin Wolf            "cache": {
6467c61a4a3SKevin Wolf                "no-flush": false,
6477c61a4a3SKevin Wolf                "direct": false,
6487c61a4a3SKevin Wolf                "writeback": true
6497c61a4a3SKevin Wolf            },
6502483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.ovl3",
6517c61a4a3SKevin Wolf            "encryption_key_missing": false
6527c61a4a3SKevin Wolf        },
6537c61a4a3SKevin Wolf        {
6547c61a4a3SKevin Wolf            "iops_rd": 0,
6557c61a4a3SKevin Wolf            "detect_zeroes": "off",
6567c61a4a3SKevin Wolf            "image": {
6577c61a4a3SKevin Wolf                "virtual-size": 197120,
6582483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.ovl3",
6597c61a4a3SKevin Wolf                "format": "file",
660b66df843SMax Reitz                "actual-size": SIZE,
6617c61a4a3SKevin Wolf                "dirty-flag": false
6627c61a4a3SKevin Wolf            },
6637c61a4a3SKevin Wolf            "iops_wr": 0,
6647c61a4a3SKevin Wolf            "ro": false,
6657c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
6667c61a4a3SKevin Wolf            "backing_file_depth": 0,
6677c61a4a3SKevin Wolf            "drv": "file",
6687c61a4a3SKevin Wolf            "iops": 0,
6697c61a4a3SKevin Wolf            "bps_wr": 0,
6707c61a4a3SKevin Wolf            "write_threshold": 0,
6717c61a4a3SKevin Wolf            "encrypted": false,
6727c61a4a3SKevin Wolf            "bps": 0,
6737c61a4a3SKevin Wolf            "bps_rd": 0,
6747c61a4a3SKevin Wolf            "cache": {
6757c61a4a3SKevin Wolf                "no-flush": false,
6767c61a4a3SKevin Wolf                "direct": false,
6777c61a4a3SKevin Wolf                "writeback": true
6787c61a4a3SKevin Wolf            },
6792483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.ovl3",
6807c61a4a3SKevin Wolf            "encryption_key_missing": false
6817c61a4a3SKevin Wolf        },
6827c61a4a3SKevin Wolf        {
6837c61a4a3SKevin Wolf            "iops_rd": 0,
6847c61a4a3SKevin Wolf            "detect_zeroes": "off",
6857c61a4a3SKevin Wolf            "image": {
6867c61a4a3SKevin Wolf                "virtual-size": 67108864,
6872483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.base",
6887c61a4a3SKevin Wolf                "cluster-size": 65536,
6892483537eSMax Reitz                "format": "IMGFMT",
690b66df843SMax Reitz                "actual-size": SIZE,
6917c61a4a3SKevin Wolf                "dirty-flag": false
6927c61a4a3SKevin Wolf            },
6937c61a4a3SKevin Wolf            "iops_wr": 0,
6947c61a4a3SKevin Wolf            "ro": true,
6957c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
6967c61a4a3SKevin Wolf            "backing_file_depth": 0,
6972483537eSMax Reitz            "drv": "IMGFMT",
6987c61a4a3SKevin Wolf            "iops": 0,
6997c61a4a3SKevin Wolf            "bps_wr": 0,
7007c61a4a3SKevin Wolf            "write_threshold": 0,
7017c61a4a3SKevin Wolf            "encrypted": false,
7027c61a4a3SKevin Wolf            "bps": 0,
7037c61a4a3SKevin Wolf            "bps_rd": 0,
7047c61a4a3SKevin Wolf            "cache": {
7057c61a4a3SKevin Wolf                "no-flush": false,
7067c61a4a3SKevin Wolf                "direct": false,
7077c61a4a3SKevin Wolf                "writeback": true
7087c61a4a3SKevin Wolf            },
7092483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.base",
7107c61a4a3SKevin Wolf            "encryption_key_missing": false
7117c61a4a3SKevin Wolf        },
7127c61a4a3SKevin Wolf        {
7137c61a4a3SKevin Wolf            "iops_rd": 0,
7147c61a4a3SKevin Wolf            "detect_zeroes": "off",
7157c61a4a3SKevin Wolf            "image": {
7167c61a4a3SKevin Wolf                "virtual-size": 393216,
7172483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT.base",
7187c61a4a3SKevin Wolf                "format": "file",
719b66df843SMax Reitz                "actual-size": SIZE,
7207c61a4a3SKevin Wolf                "dirty-flag": false
7217c61a4a3SKevin Wolf            },
7227c61a4a3SKevin Wolf            "iops_wr": 0,
7237c61a4a3SKevin Wolf            "ro": true,
7247c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
7257c61a4a3SKevin Wolf            "backing_file_depth": 0,
7267c61a4a3SKevin Wolf            "drv": "file",
7277c61a4a3SKevin Wolf            "iops": 0,
7287c61a4a3SKevin Wolf            "bps_wr": 0,
7297c61a4a3SKevin Wolf            "write_threshold": 0,
7307c61a4a3SKevin Wolf            "encrypted": false,
7317c61a4a3SKevin Wolf            "bps": 0,
7327c61a4a3SKevin Wolf            "bps_rd": 0,
7337c61a4a3SKevin Wolf            "cache": {
7347c61a4a3SKevin Wolf                "no-flush": false,
7357c61a4a3SKevin Wolf                "direct": false,
7367c61a4a3SKevin Wolf                "writeback": true
7377c61a4a3SKevin Wolf            },
7382483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT.base",
7397c61a4a3SKevin Wolf            "encryption_key_missing": false
7407c61a4a3SKevin Wolf        },
7417c61a4a3SKevin Wolf        {
7427c61a4a3SKevin Wolf            "iops_rd": 0,
7437c61a4a3SKevin Wolf            "detect_zeroes": "off",
7447c61a4a3SKevin Wolf            "image": {
7457c61a4a3SKevin Wolf                "backing-image": {
7467c61a4a3SKevin Wolf                    "virtual-size": 67108864,
7472483537eSMax Reitz                    "filename": "TEST_DIR/t.IMGFMT.base",
7487c61a4a3SKevin Wolf                    "cluster-size": 65536,
7492483537eSMax Reitz                    "format": "IMGFMT",
750b66df843SMax Reitz                    "actual-size": SIZE,
7517c61a4a3SKevin Wolf                    "dirty-flag": false
7527c61a4a3SKevin Wolf                },
7532483537eSMax Reitz                "backing-filename-format": "IMGFMT",
7547c61a4a3SKevin Wolf                "virtual-size": 67108864,
7552483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT",
7567c61a4a3SKevin Wolf                "cluster-size": 65536,
7572483537eSMax Reitz                "format": "IMGFMT",
758b66df843SMax Reitz                "actual-size": SIZE,
7592483537eSMax Reitz                "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
7602483537eSMax Reitz                "backing-filename": "TEST_DIR/t.IMGFMT.base",
7617c61a4a3SKevin Wolf                "dirty-flag": false
7627c61a4a3SKevin Wolf            },
7637c61a4a3SKevin Wolf            "iops_wr": 0,
7647c61a4a3SKevin Wolf            "ro": false,
7657c61a4a3SKevin Wolf            "node-name": "top",
7667c61a4a3SKevin Wolf            "backing_file_depth": 1,
7672483537eSMax Reitz            "drv": "IMGFMT",
7687c61a4a3SKevin Wolf            "iops": 0,
7697c61a4a3SKevin Wolf            "bps_wr": 0,
7707c61a4a3SKevin Wolf            "write_threshold": 0,
7712483537eSMax Reitz            "backing_file": "TEST_DIR/t.IMGFMT.base",
7727c61a4a3SKevin Wolf            "encrypted": false,
7737c61a4a3SKevin Wolf            "bps": 0,
7747c61a4a3SKevin Wolf            "bps_rd": 0,
7757c61a4a3SKevin Wolf            "cache": {
7767c61a4a3SKevin Wolf                "no-flush": false,
7777c61a4a3SKevin Wolf                "direct": false,
7787c61a4a3SKevin Wolf                "writeback": true
7797c61a4a3SKevin Wolf            },
7802483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT",
7817c61a4a3SKevin Wolf            "encryption_key_missing": false
7827c61a4a3SKevin Wolf        },
7837c61a4a3SKevin Wolf        {
7847c61a4a3SKevin Wolf            "iops_rd": 0,
7857c61a4a3SKevin Wolf            "detect_zeroes": "off",
7867c61a4a3SKevin Wolf            "image": {
7877c61a4a3SKevin Wolf                "virtual-size": 197120,
7882483537eSMax Reitz                "filename": "TEST_DIR/t.IMGFMT",
7897c61a4a3SKevin Wolf                "format": "file",
790b66df843SMax Reitz                "actual-size": SIZE,
7917c61a4a3SKevin Wolf                "dirty-flag": false
7927c61a4a3SKevin Wolf            },
7937c61a4a3SKevin Wolf            "iops_wr": 0,
7947c61a4a3SKevin Wolf            "ro": false,
7957c61a4a3SKevin Wolf            "node-name": "NODE_NAME",
7967c61a4a3SKevin Wolf            "backing_file_depth": 0,
7977c61a4a3SKevin Wolf            "drv": "file",
7987c61a4a3SKevin Wolf            "iops": 0,
7997c61a4a3SKevin Wolf            "bps_wr": 0,
8007c61a4a3SKevin Wolf            "write_threshold": 0,
8017c61a4a3SKevin Wolf            "encrypted": false,
8027c61a4a3SKevin Wolf            "bps": 0,
8037c61a4a3SKevin Wolf            "bps_rd": 0,
8047c61a4a3SKevin Wolf            "cache": {
8057c61a4a3SKevin Wolf                "no-flush": false,
8067c61a4a3SKevin Wolf                "direct": false,
8077c61a4a3SKevin Wolf                "writeback": true
8087c61a4a3SKevin Wolf            },
8092483537eSMax Reitz            "file": "TEST_DIR/t.IMGFMT",
8107c61a4a3SKevin Wolf            "encryption_key_missing": false
8117c61a4a3SKevin Wolf        }
8127c61a4a3SKevin Wolf    ]
8137c61a4a3SKevin Wolf}
814a98b1a1fSEric Blake{ 'execute': 'quit' }
8157c61a4a3SKevin Wolf{
8167c61a4a3SKevin Wolf    "return": {
8177c61a4a3SKevin Wolf    }
8187c61a4a3SKevin Wolf}
8197c61a4a3SKevin Wolf{
8207c61a4a3SKevin Wolf    "timestamp": {
8217c61a4a3SKevin Wolf        "seconds":  TIMESTAMP,
8227c61a4a3SKevin Wolf        "microseconds":  TIMESTAMP
8237c61a4a3SKevin Wolf    },
8247c61a4a3SKevin Wolf    "event": "SHUTDOWN",
8257c61a4a3SKevin Wolf    "data": {
826ecd7a0d5SDominik Csapak        "guest": false,
82792548938SDominik Csapak        "reason": "host-qmp-quit"
8287c61a4a3SKevin Wolf    }
8297c61a4a3SKevin Wolf}
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