xref: /openbmc/qemu/tests/qemu-iotests/210.out (revision fbf32752)
1QA output created by 210
2
3=== Successful image creation (defaults) ===
4
5Testing: -object secret,id=keysec0,data=foo
6QMP_VERSION
7{"return": {}}
8{"return": {}}
9{"return": {}}
10{"return": {}}
11{"return": {}}
12{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
13
14image: json:{"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/t.IMGFMT"}, "key-secret": "keysec0"}
15file format: IMGFMT
16virtual size: 128M (134217728 bytes)
17Format specific information:
18    ivgen alg: plain64
19    hash alg: sha256
20    cipher alg: aes-256
21    uuid: 00000000-0000-0000-0000-000000000000
22    cipher mode: xts
23    slots:
24        [0]:
25            active: true
26            iters: 1024
27            key offset: 4096
28            stripes: 4000
29        [1]:
30            active: false
31            key offset: 262144
32        [2]:
33            active: false
34            key offset: 520192
35        [3]:
36            active: false
37            key offset: 778240
38        [4]:
39            active: false
40            key offset: 1036288
41        [5]:
42            active: false
43            key offset: 1294336
44        [6]:
45            active: false
46            key offset: 1552384
47        [7]:
48            active: false
49            key offset: 1810432
50    payload offset: 2068480
51    master key iters: 1024
52
53=== Successful image creation (with non-default options) ===
54
55Testing: -object secret,id=keysec0,data=foo
56QMP_VERSION
57{"return": {}}
58{"return": {}}
59{"return": {}}
60{"return": {}}
61{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
62
63image: json:{"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/t.IMGFMT"}, "key-secret": "keysec0"}
64file format: IMGFMT
65virtual size: 64M (67108864 bytes)
66Format specific information:
67    ivgen alg: plain64
68    hash alg: sha1
69    cipher alg: twofish-128
70    uuid: 00000000-0000-0000-0000-000000000000
71    cipher mode: ctr
72    slots:
73        [0]:
74            active: true
75            iters: 1024
76            key offset: 4096
77            stripes: 4000
78        [1]:
79            active: false
80            key offset: 69632
81        [2]:
82            active: false
83            key offset: 135168
84        [3]:
85            active: false
86            key offset: 200704
87        [4]:
88            active: false
89            key offset: 266240
90        [5]:
91            active: false
92            key offset: 331776
93        [6]:
94            active: false
95            key offset: 397312
96        [7]:
97            active: false
98            key offset: 462848
99    payload offset: 528384
100    master key iters: 1024
101
102=== Invalid BlockdevRef ===
103
104Testing:
105QMP_VERSION
106{"return": {}}
107{"error": {"class": "GenericError", "desc": "Cannot find device=this doesn't exist nor node_name=this doesn't exist"}}
108{"return": {}}
109{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
110
111
112=== Zero size ===
113
114Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=node0 -object secret,id=keysec0,data=foo
115QMP_VERSION
116{"return": {}}
117{"return": {}}
118{"return": {}}
119{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
120
121image: json:{"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/t.IMGFMT"}, "key-secret": "keysec0"}
122file format: IMGFMT
123virtual size: 0 (0 bytes)
124
125=== Invalid sizes ===
126
127Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=node0 -object secret,id=keysec0,data=foo
128QMP_VERSION
129{"return": {}}
130{"error": {"class": "GenericError", "desc": "The requested file size is too large"}}
131{"error": {"class": "GenericError", "desc": "The requested file size is too large"}}
132{"error": {"class": "GenericError", "desc": "The requested file size is too large"}}
133{"return": {}}
134{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
135
136
137=== Resize image with invalid sizes ===
138
139Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=node0 -blockdev driver=IMGFMT,file=node0,key-secret=keysec0,node-name=node1 -object secret,id=keysec0,data=foo
140QMP_VERSION
141{"return": {}}
142{"error": {"class": "GenericError", "desc": "The requested file size is too large"}}
143{"error": {"class": "GenericError", "desc": "Invalid parameter type for 'size', expected: integer"}}
144{"error": {"class": "GenericError", "desc": "Invalid parameter type for 'size', expected: integer"}}
145{"error": {"class": "GenericError", "desc": "Parameter 'size' expects a >0 size"}}
146{"return": {}}
147{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
148
149image: json:{"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/t.IMGFMT"}, "key-secret": "keysec0"}
150file format: IMGFMT
151virtual size: 0 (0 bytes)
152*** done
153