2014-03-06 18:52:14 +04:00
|
|
|
QA output created by 087
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
|
2014-03-06 18:52:14 +04:00
|
|
|
|
|
|
|
=== Missing ID ===
|
|
|
|
|
|
|
|
Testing:
|
|
|
|
QMP_VERSION
|
|
|
|
{"return": {}}
|
|
|
|
{"error": {"class": "GenericError", "desc": "Block device needs an ID"}}
|
|
|
|
{"return": {}}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "DEVICE_TRAY_MOVED", "data": {"device": "ide1-cd0", "tray-open": true}}
|
2014-04-17 15:27:05 +04:00
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "DEVICE_TRAY_MOVED", "data": {"device": "floppy0", "tray-open": true}}
|
|
|
|
|
|
|
|
|
|
|
|
=== Duplicate ID ===
|
|
|
|
|
|
|
|
Testing:
|
|
|
|
QMP_VERSION
|
|
|
|
{"return": {}}
|
|
|
|
{"return": {}}
|
|
|
|
{"error": {"class": "GenericError", "desc": "Device with id 'disk' already exists"}}
|
2014-09-12 23:26:24 +04:00
|
|
|
{"error": {"class": "GenericError", "desc": "Device name 'test-node' conflicts with an existing node name"}}
|
2014-04-17 15:40:30 +04:00
|
|
|
{"error": {"class": "GenericError", "desc": "could not open disk image disk2: node-name=disk is conflicting with a device id"}}
|
|
|
|
{"error": {"class": "GenericError", "desc": "could not open disk image disk2: Duplicate node name"}}
|
|
|
|
{"error": {"class": "GenericError", "desc": "could not open disk image disk3: node-name=disk3 is conflicting with a device id"}}
|
2014-04-17 15:27:05 +04:00
|
|
|
{"return": {}}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "DEVICE_TRAY_MOVED", "data": {"device": "ide1-cd0", "tray-open": true}}
|
2014-03-06 18:52:14 +04:00
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "DEVICE_TRAY_MOVED", "data": {"device": "floppy0", "tray-open": true}}
|
|
|
|
|
|
|
|
|
|
|
|
=== 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"}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "DEVICE_TRAY_MOVED", "data": {"device": "ide1-cd0", "tray-open": true}}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "DEVICE_TRAY_MOVED", "data": {"device": "floppy0", "tray-open": true}}
|
|
|
|
|
|
|
|
|
|
|
|
=== Encrypted image ===
|
|
|
|
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 encryption=on
|
2014-03-14 12:22:48 +04:00
|
|
|
Testing: -S
|
2014-03-06 18:52:14 +04:00
|
|
|
QMP_VERSION
|
|
|
|
{"return": {}}
|
|
|
|
{"error": {"class": "GenericError", "desc": "blockdev-add doesn't support encrypted devices"}}
|
|
|
|
{"return": {}}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "DEVICE_TRAY_MOVED", "data": {"device": "ide1-cd0", "tray-open": true}}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "DEVICE_TRAY_MOVED", "data": {"device": "floppy0", "tray-open": true}}
|
|
|
|
|
2014-03-14 12:22:48 +04:00
|
|
|
Testing:
|
|
|
|
QMP_VERSION
|
|
|
|
{"return": {}}
|
|
|
|
{"error": {"class": "GenericError", "desc": "could not open disk image disk: Guest must be stopped for opening of encrypted image"}}
|
|
|
|
{"return": {}}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "DEVICE_TRAY_MOVED", "data": {"device": "ide1-cd0", "tray-open": true}}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "DEVICE_TRAY_MOVED", "data": {"device": "floppy0", "tray-open": true}}
|
|
|
|
|
2014-09-19 00:36:43 +04:00
|
|
|
|
|
|
|
=== Missing driver ===
|
|
|
|
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 encryption=on
|
2014-09-19 00:36:43 +04: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"}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "DEVICE_TRAY_MOVED", "data": {"device": "ide1-cd0", "tray-open": true}}
|
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "DEVICE_TRAY_MOVED", "data": {"device": "floppy0", "tray-open": true}}
|
|
|
|
|
2014-03-06 18:52:14 +04:00
|
|
|
*** done
|