OASIS Open Mailing List Archives  ·  All Lists  ·  virtio  ·  2014-02

virtio — archive

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]

[PATCH 00/14] VIRTIO-71: conformance clauses for legacy interface


legacy has no generation field. add SHOULD statement to document multi-byte field access rules. Signed-off-by: Michael S. Tsirkin <[email protected]> --- content.tex 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content.tex b/content.tex index 3942350..deee9e4 100644 --- a/content.tex +++ b/content.tex @@ -200,7 +200,11 @@ The correct endian-ness is documented explicitly for each device. Legacy devices did not have a configuration generation field, thus are susceptible to race conditions if configuration is updated. This -effects the block capacity and network mac fields; best practice is to +effects the block field{capacity} (see ef{sec:Device Types / +Block Device / Feature bits / Device configuration layout}) and +network field{mac} (see ef{sec:Device Types / Network Device / +Device configuration layout}) fields; +when using the legacy interface, drivers SHOULD read these fields multiple times until two reads generate a consistent result. -- MST

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]