forked from oasis-tcs/virtio-spec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cl-csprd03.tex
400 lines (263 loc) · 10.8 KB
/
cl-csprd03.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
399 & 27 Jun 2014 & Michael S. Tsirkin & { changelog: fill changelog since draft2
This will make review easier.
} \\
\hline
398 & 27 Jun 2014 & Michael S. Tsirkin & { acknowledgements: add draft 3 reviewers, sort
Add new reviewers and sort by name.
} \\
\hline
397 & 27 Jun 2014 & Michael S. Tsirkin & { add draft2 acknowledgements
List people that provided comments on draft01 in the
acknowledgements section. Might be a nice way to encourage
reviews.
} \\
396 & 26 Jun 2014 & Michael S. Tsirkin & { diff: back to green for added text
using blue does not work well for html
} \\
\hline
393 & 26 Jun 2014 & Michael S. Tsirkin & { makediff: cleanup using begingroup/endgroup
Pawel Moll found a way to work around xetex bugs
without mangling latexdiff output using perl:
- define DIFbegin/DIFFend commands in preample
- pass --config FLOATENV= to latexdiff
Use this in preference to the fixupdiff perl script.
} \\
\hline
391 & 26 Jun 2014 & Michael S. Tsirkin & { more latexdiff hacks
- change link color from green to pinegreen. Looks better to me.
- split footnotes out from their text, so that latexdiff
does not consider them as a unit
- mark field command as safe for latexdiff, otherwise it's not shown in red
- hack adding DIFaddtext within footnotes could not handle
case where latexdiff inserted multiple DIFadd within the
footnote. Instead, detect when footnote is within
DIFaddbegin/DIFdelbegin, add an extra DIFaddbegin/DIFdelbegin
within the footnote.
} \\
\hline
390 & 26 Jun 2014 & Michael S. Tsirkin & { diffpreamble: fix colors for links within diff
} \\
\hline
389 & 26 Jun 2014 & Michael S. Tsirkin & { work around xetex bug
Too many \textbackslash color directives produce corrupted output
and this warning:
WARNING ** Color stack overflow. Just ignore.
Use script to reduce \# of these directives.
} \\
\hline
388 & 26 Jun 2014 & Michael S. Tsirkin & { diffpreamble: remove duplicate text
latexdiff adds some
} \\
\hline
387 & 26 Jun 2014 & Michael S. Tsirkin & { makediffpdf.sh: tool to create marked-up diff
make pdf diff using latexpand and latexdiff-fast
styles are set in diffpreamble.tex
in diff, links are coloured green instead of blue
Must be run within a git-svn clone of the spec repository.
Note: latexdiff has --flatten option, this and options
to select diff style don't seem to work well.
So flatten by script myself, and add our own preamble.
} \\
\hline
386 & 25 Jun 2014 & Michael S. Tsirkin & { pci: minor fomatting tweak
Make table look better. Drop spaces that make
latexdiff stumble.
} \\
\hline
385 & 25 Jun 2014 & Michael S. Tsirkin & { fixup pci: switch from subsystem id to device id
Patch sent to list (and applied by Rusty in
pci: switch from subsystem id to device id
) did not actually implement what commit log said
it implements.
The result is wrong for transitional devices:
Adding 0xfff works for for net+block only;
for transitional pci devices there is no fixed scheme:
\~{}/projects/qemu/include \# grep VIRTIO_ID hw/virtio/*.h
hw/virtio/virtio-balloon.h:\#define VIRTIO_ID_BALLOON 5
hw/virtio/virtio-blk.h:\#define VIRTIO_ID_BLOCK 2
hw/virtio/virtio-net.h:\#define VIRTIO_ID_NET 1
hw/virtio/virtio-rng.h:\#define VIRTIO_ID_RNG 4
hw/virtio/virtio-scsi.h:\#define VIRTIO_ID_SCSI 8
hw/virtio/virtio-serial.h:\#define VIRTIO_ID_CONSOLE 3
\~{}/projects/qemu/include \# grep VIRTIO hw/pci/*.h
hw/pci/pci.h:\#define PCI_DEVICE_ID_VIRTIO_NET 0x1000
hw/pci/pci.h:\#define PCI_DEVICE_ID_VIRTIO_BLOCK 0x1001
hw/pci/pci.h:\#define PCI_DEVICE_ID_VIRTIO_BALLOON 0x1002
hw/pci/pci.h:\#define PCI_DEVICE_ID_VIRTIO_CONSOLE 0x1003
hw/pci/pci.h:\#define PCI_DEVICE_ID_VIRTIO_SCSI 0x1004
hw/pci/pci.h:\#define PCI_DEVICE_ID_VIRTIO_RNG 0x1005
hw/pci/pci.h:\#define PCI_DEVICE_ID_VIRTIO_9P 0x1009
I am guessing TC went by commit log when it approved the change,
so fixing it up directly.
Cc: Andrew Thornton <[email protected]>
Cc: Rusty Russell <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
} \\
\hline
384 & 17 Jun 2014 & & { content.tex: VIRTIO-106: mention possibility of failing TMFs
This completes the review of virtio-scsi based on observations
from Google.
} \\
\hline
383 & 16 Jun 2014 & & { fix erroneous reference to Subsystem Device ID
Subsystem device ID only exists for PCI.
} \\
\hline
382 & 16 Jun 2014 & Rusty Russell & { small virtio-serial fix
nr_ports does not exist in the spec.
} \\
\hline
381 & 09 Jun 2014 & & { virtio-scsi: support well-known logical units
The REPORT LUNS well-known logical unit is useful because it lets you
retrieve information about all targets with a single command. It
also provides an easy way to send a no-op request.
} \\
\hline
380 & 09 Jun 2014 & & { consistent formatting of footnotes
Put the indicator before punctuation, and terminate the footnote with
a period.
} \\
\hline
379 & 09 Jun 2014 & & { virtio-scsi: additional SHOULDification
} \\
\hline
378 & 09 Jun 2014 & & { virtio-scsi: fixes to protection information
pi_bytesin is in the device-readable section. Document lack of residual
field. Use le32 instead of u32.
This matches the new patch series that Nicholas sent for vhost-scsi.
Cc: <[email protected]>
} \\
\hline
377 & 05 Jun 2014 & Rusty Russell & { PCI: remove duplicate paragraph.
I chose the one which used the full nomenclature.
} \\
\hline
376 & 05 Jun 2014 & Rusty Russell & { pci: switch from subsystem id to device id
Switch virtio pci to use standard device id instead of using the
subsystem id.
Unfortunately, there's no system to the way KVM allocated
device IDs to virtio devices, we'll just have to
specify these using a table, and use a new range for
future devices. For existing devices this results in
two possible IDs that all drivers will need to match.
Unfortunate, but the cost is small.
As a nice side effect, this allows us to make non-transitional
devices use IDs 0x40 and up, this reduces even further the
chance that a non transitional device will match legacy drivers.
And, it's probably a good idea to allow drivers to match
specific subsystem IDs if they
want to, so relax requirement for drivers to match all
subsystem/vendor ID configurations, but allow them to do so.
To avoid confusion, say "PCI Device ID" and
"PCI Subsystem ID" everywhere, prefix "PCI"
for other standard registers, for consistency.
VIRTIO-102
Note: issue reporter suggested 0x10XX where XX is the virtio
device ID. This would conflict with legacy devices, which seem
to have used 7 IDs in the range 0x1000 to 0x103f without any
system. Let's use a new range 0x1040 to 0x107f for
non-transitional devices, and add a table documenting the
transitional IDs used by in practice.
(Approved at 2014-06-04 meeting:
\url{https://lists.oasis-open.org/archives/virtio/201406/msg00013.html} )
Cc: Andrew Thornton <[email protected]>
} \\
\hline
375 & 05 Jun 2014 & Rusty Russell & { pci: set ISR bit on config change with MSI-X
config changes are slow path anyway, so we
can as well set ISR bit to help drivers detect changes.
This allows sharing config interrupts which is what
issue reporter seems to ask for.
VIRTIO-104
(Approved at 2014-06-04 meeting:
\url{https://lists.oasis-open.org/archives/virtio/201406/msg00013.html} )
} \\
\hline
374 & 01 Jun 2014 & Michael S. Tsirkin & { NEEDS_RESET: trivial clarification
If device sets NEEDS_RESET before DRIVER_OK, it
can't send notifications to driver.
Make this clear.
} \\
\hline
373 & 22 May 2014 & Rusty Russell & { Fix build of document
Error introduced in "VIRTIO-98: Add DEVICE_NEEDS_RESET":
seems that underscores in labels are verboten:
[133] [134] (./virtio-v1.0-csprd02.aux
! Missing \textbackslash endcsname inserted.
<to be read again>
\textbackslash unhbox
l.45 ...ts: Device Status Field\}\}\{subsection.1\}\{\}\}
} \\
\hline
372 & 22 May 2014 & Rusty Russell & { content.tex: virtio-scsi review (VIRTIO-106)
As prompted by Rusty, add a few more MUST/SHOULD items for both devices
and drivers. Clarify semantics of max_channel/max_id/max_lun, task_attr
and task management functions.
(As per minutes of meeting 2014-05-20:
\url{https://lists.oasis-open.org/archives/virtio/201405/msg00034.html} )
} \\
\hline
371 & 22 May 2014 & Rusty Russell & { content.tex: add support for protection information (VIRTIO-108)
This is a new feature that was suggested by Nicholas Bellinger, who
also provided a prototype implementation for vhost-scsi.
(As per minutes of meeting 2014-05-20:
\url{https://lists.oasis-open.org/archives/virtio/201405/msg00034.html} )
} \\
\hline
370 & 12 May 2014 & Rusty Russell & { VIRTIO-96: Assign device id to virtio input
Assign device id to virtio input
As passed at meeting 2014-05-06:
\url{https://lists.oasis-open.org/archives/virtio/201405/msg00016.html}
} \\
\hline
369 & 12 May 2014 & Rusty Russell & { VIRTIO-52: Make mac field read only.
As passed at meeting 2014-05-06:
\url{https://lists.oasis-open.org/archives/virtio/201405/msg00016.html}
} \\
\hline
368 & 12 May 2014 & Rusty Russell & { VIRTIO-107: Clarify net mac commands.
As passed at meeting 2014-05-06:
\url{https://lists.oasis-open.org/archives/virtio/201405/msg00016.html}
} \\
\hline
367 & 12 May 2014 & Rusty Russell & { VIRTIO-98: Add DEVICE_NEEDS_RESET.
As passed at meeting 2014-05-06:
\url{https://lists.oasis-open.org/archives/virtio/201405/msg00016.html}
} \\
\hline
366 & 12 May 2014 & Rusty Russell & { VIRTIO-87: limit descriptor chain length even with INDIRECT.
As passed at meeting 2014-05-06:
\url{https://lists.oasis-open.org/archives/virtio/201405/msg00016.html}
} \\
\hline
365 & 12 May 2014 & Rusty Russell & { VIRTIO-103: PCI: Note that turning off queue_enable is not supported.
As passed at meeting 2014-05-06:
\url{https://lists.oasis-open.org/archives/virtio/201405/msg00016.html}
} \\
\hline
364 & 12 May 2014 & Rusty Russell & { VIRTIO-103: PCI: require read-after-write on device_status reset.
As passed at meeting 2014-05-06:
\url{https://lists.oasis-open.org/archives/virtio/201405/msg00016.html}
} \\
\hline
363 & 12 May 2014 & Rusty Russell & { VIRTIO-99: Typo fixes.
As passed at meeting 2014-05-06:
\url{https://lists.oasis-open.org/archives/virtio/201405/msg00016.html}
} \\
\hline
362 & 07 May 2014 & Cornelia Huck & { net: fix device conformance sections
For the network device, we had two device normative sections both called
"setting up receive buffers", neither of which was referenced in the
conformance section.
Let's rename the second one to "processing of packets" which seems to
better match the actual contents and reference both of them from the
conformance statement for network devices.
Resolves VIRTIO-97.
Agreed on the 2014/05/06 TC meeting.
} \\
\hline
361 & 07 Apr 2014 & Michael S. Tsirkin & { conformance.tex: fix references to mmio
Both device and driver conformance referred to ccw twice; let's add the
correct mmio references.
} \\
\hline