1QA output created by 087 2Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 3 4=== Missing ID and node-name === 5 6Testing: 7QMP_VERSION 8{"return": {}} 9{"error": {"class": "GenericError", "desc": "'node-name' must be specified for the root node"}} 10{"return": {}} 11{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}} 12 13 14=== Duplicate ID === 15 16Testing: -drive driver=IMGFMT,id=disk,node-name=test-node,file=TEST_DIR/t.IMGFMT 17QMP_VERSION 18{"return": {}} 19{"error": {"class": "GenericError", "desc": "node-name=disk is conflicting with a device id"}} 20{"error": {"class": "GenericError", "desc": "Duplicate node name"}} 21{"return": {}} 22{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}} 23 24 25=== aio=native without O_DIRECT === 26 27Testing: 28QMP_VERSION 29{"return": {}} 30{"error": {"class": "GenericError", "desc": "aio=native was specified, but it requires cache.direct=on, which was not specified."}} 31{"return": {}} 32{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}} 33 34 35=== Encrypted image === 36 37Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 encryption=on 38Testing: -S 39QMP_VERSION 40{"return": {}} 41{"error": {"class": "GenericError", "desc": "Use of AES-CBC encrypted IMGFMT images is no longer supported in system emulators"}} 42{"return": {}} 43{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}} 44 45Testing: 46QMP_VERSION 47{"return": {}} 48{"error": {"class": "GenericError", "desc": "Use of AES-CBC encrypted IMGFMT images is no longer supported in system emulators"}} 49{"return": {}} 50{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}} 51 52 53=== Missing driver === 54 55Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 encryption=on 56Testing: -S 57QMP_VERSION 58{"return": {}} 59{"error": {"class": "GenericError", "desc": "Parameter 'driver' is missing"}} 60{"return": {}} 61{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}} 62 63*** done 64