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, "reason": "host-qmp-quit"}} 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, "reason": "host-qmp-quit"}} 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, "reason": "host-qmp-quit"}} 33 34 35=== Encrypted image QCow === 36 37Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 encryption=on encrypt.key-secret=sec0 38Testing: 39QMP_VERSION 40{"return": {}} 41{"return": {}} 42{"error": {"class": "GenericError", "desc": "Use of AES-CBC encrypted IMGFMT images is no longer supported in system emulators"}} 43{"return": {}} 44{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} 45 46 47=== Encrypted image LUKS === 48 49Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 encrypt.format=luks encrypt.key-secret=sec0 50Testing: 51QMP_VERSION 52{"return": {}} 53{"return": {}} 54{"return": {}} 55{"return": {}} 56{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} 57 58 59=== Missing driver === 60 61Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 encryption=on encrypt.key-secret=sec0 62Testing: -S 63QMP_VERSION 64{"return": {}} 65{"error": {"class": "GenericError", "desc": "Parameter 'driver' is missing"}} 66{"return": {}} 67{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} 68 69*** done 70