]>
Commit | Line | Data |
---|---|---|
1 | QA output created by 087 | |
2 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 | |
3 | ||
4 | === Missing ID and node-name === | |
5 | ||
6 | Testing: | |
7 | QMP_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 | ||
16 | Testing: -drive driver=IMGFMT,id=disk,node-name=test-node,file=TEST_DIR/t.IMGFMT | |
17 | QMP_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"} | |
23 | ||
24 | ||
25 | === aio=native without O_DIRECT === | |
26 | ||
27 | Testing: | |
28 | QMP_VERSION | |
29 | {"return": {}} | |
30 | {"error": {"class": "GenericError", "desc": "aio=native requires cache.direct=true"}} | |
31 | {"return": {}} | |
32 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"} | |
33 | ||
34 | ||
35 | === Encrypted image === | |
36 | ||
37 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 encryption=on | |
38 | Testing: -S | |
39 | QMP_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"} | |
44 | ||
45 | Testing: | |
46 | QMP_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"} | |
51 | ||
52 | ||
53 | === Missing driver === | |
54 | ||
55 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 encryption=on | |
56 | Testing: -S | |
57 | QMP_VERSION | |
58 | {"return": {}} | |
59 | {"error": {"class": "GenericError", "desc": "Invalid parameter type for 'driver', expected: string"}} | |
60 | {"return": {}} | |
61 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"} | |
62 | ||
63 | *** done |