2014-03-06 22:52:14 +08:00
|
|
|
QA output created by 087
|
2014-12-09 15:38:03 +08:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
|
2014-03-06 22:52:14 +08:00
|
|
|
|
2015-10-19 23:53:09 +08:00
|
|
|
=== Missing ID and node-name ===
|
2014-03-06 22:52:14 +08:00
|
|
|
|
|
|
|
Testing:
|
|
|
|
QMP_VERSION
|
|
|
|
{"return": {}}
|
2015-10-19 23:53:09 +08:00
|
|
|
{"error": {"class": "GenericError", "desc": "'id' and/or 'node-name' need to be specified for the root node"}}
|
2014-03-06 22:52:14 +08:00
|
|
|
{"return": {}}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"}
|
2014-04-17 19:27:05 +08:00
|
|
|
|
|
|
|
|
|
|
|
=== Duplicate ID ===
|
|
|
|
|
|
|
|
Testing:
|
|
|
|
QMP_VERSION
|
|
|
|
{"return": {}}
|
|
|
|
{"return": {}}
|
|
|
|
{"error": {"class": "GenericError", "desc": "Device with id 'disk' already exists"}}
|
2014-09-13 03:26:24 +08:00
|
|
|
{"error": {"class": "GenericError", "desc": "Device name 'test-node' conflicts with an existing node name"}}
|
2015-02-06 02:58:14 +08:00
|
|
|
{"error": {"class": "GenericError", "desc": "node-name=disk is conflicting with a device id"}}
|
|
|
|
{"error": {"class": "GenericError", "desc": "Duplicate node name"}}
|
2016-03-17 02:54:38 +08:00
|
|
|
{"error": {"class": "GenericError", "desc": "Device name 'disk3' conflicts with an existing node name"}}
|
2014-04-17 19:27:05 +08:00
|
|
|
{"return": {}}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"}
|
2014-03-06 22:52:14 +08:00
|
|
|
|
|
|
|
|
|
|
|
=== aio=native without O_DIRECT ===
|
|
|
|
|
|
|
|
Testing:
|
|
|
|
QMP_VERSION
|
|
|
|
{"return": {}}
|
|
|
|
{"error": {"class": "GenericError", "desc": "aio=native requires cache.direct=true"}}
|
|
|
|
{"return": {}}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"}
|
|
|
|
|
|
|
|
|
|
|
|
=== Encrypted image ===
|
|
|
|
|
2014-12-09 15:38:03 +08:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 encryption=on
|
2014-03-14 16:22:48 +08:00
|
|
|
Testing: -S
|
2014-03-06 22:52:14 +08:00
|
|
|
QMP_VERSION
|
|
|
|
{"return": {}}
|
2016-03-21 22:11:48 +08:00
|
|
|
IMGFMT built-in AES encryption is deprecated
|
|
|
|
Support for it will be removed in a future release.
|
|
|
|
You can use 'qemu-img convert' to switch to an
|
|
|
|
unencrypted IMGFMT image, or a LUKS raw image.
|
2014-03-06 22:52:14 +08:00
|
|
|
{"error": {"class": "GenericError", "desc": "blockdev-add doesn't support encrypted devices"}}
|
|
|
|
{"return": {}}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"}
|
|
|
|
|
2014-03-14 16:22:48 +08:00
|
|
|
Testing:
|
|
|
|
QMP_VERSION
|
|
|
|
{"return": {}}
|
2016-03-21 22:11:48 +08:00
|
|
|
IMGFMT built-in AES encryption is deprecated
|
|
|
|
Support for it will be removed in a future release.
|
|
|
|
You can use 'qemu-img convert' to switch to an
|
|
|
|
unencrypted IMGFMT image, or a LUKS raw image.
|
2015-02-06 02:58:14 +08:00
|
|
|
{"error": {"class": "GenericError", "desc": "Guest must be stopped for opening of encrypted image"}}
|
2014-03-14 16:22:48 +08:00
|
|
|
{"return": {}}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"}
|
|
|
|
|
2014-09-19 04:36:43 +08:00
|
|
|
|
|
|
|
=== Missing driver ===
|
|
|
|
|
2014-12-09 15:38:03 +08:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 encryption=on
|
2014-09-19 04:36:43 +08:00
|
|
|
Testing: -S
|
|
|
|
QMP_VERSION
|
|
|
|
{"return": {}}
|
|
|
|
{"error": {"class": "GenericError", "desc": "Invalid parameter type for 'driver', expected: string"}}
|
|
|
|
{"return": {}}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"}
|
|
|
|
|
2014-03-06 22:52:14 +08:00
|
|
|
*** done
|