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": "'id' and/or 'node-name' need to be specified for the root node"}} 10{"return": {}} 11{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"} 12 13 14=== Duplicate ID === 15 16Testing: 17QMP_VERSION 18{"return": {}} 19{"return": {}} 20{"error": {"class": "GenericError", "desc": "Device with id 'disk' already exists"}} 21{"error": {"class": "GenericError", "desc": "Device name 'test-node' conflicts with an existing node name"}} 22{"error": {"class": "GenericError", "desc": "node-name=disk is conflicting with a device id"}} 23{"error": {"class": "GenericError", "desc": "Duplicate node name"}} 24{"error": {"class": "GenericError", "desc": "Device name 'disk3' conflicts with an existing node name"}} 25{"return": {}} 26{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"} 27 28 29=== aio=native without O_DIRECT === 30 31Testing: 32QMP_VERSION 33{"return": {}} 34{"error": {"class": "GenericError", "desc": "aio=native requires cache.direct=true"}} 35{"return": {}} 36{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"} 37 38 39=== Encrypted image === 40 41Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 encryption=on 42Testing: -S 43QMP_VERSION 44{"return": {}} 45IMGFMT built-in AES encryption is deprecated 46Support for it will be removed in a future release. 47You can use 'qemu-img convert' to switch to an 48unencrypted IMGFMT image, or a LUKS raw image. 49{"error": {"class": "GenericError", "desc": "blockdev-add doesn't support encrypted devices"}} 50{"return": {}} 51{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"} 52 53Testing: 54QMP_VERSION 55{"return": {}} 56IMGFMT built-in AES encryption is deprecated 57Support for it will be removed in a future release. 58You can use 'qemu-img convert' to switch to an 59unencrypted IMGFMT image, or a LUKS raw image. 60{"error": {"class": "GenericError", "desc": "Guest must be stopped for opening of encrypted image"}} 61{"return": {}} 62{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"} 63 64 65=== Missing driver === 66 67Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 encryption=on 68Testing: -S 69QMP_VERSION 70{"return": {}} 71{"error": {"class": "GenericError", "desc": "Invalid parameter type for 'driver', expected: string"}} 72{"return": {}} 73{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"} 74 75*** done 76