From 5421a41b6ee7e15683e47e65d73b3389b4f42953 Mon Sep 17 00:00:00 2001 From: rusty Date: Wed, 26 Feb 2014 03:21:31 +0000 Subject: Feedback: Normative split in Basic Facilities of a Virtio Device / Virtqueues Signed-off-by: Rusty Russell git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@267 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- content.tex | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'content.tex') diff --git a/content.tex b/content.tex index f58a398..1c3867a 100644 --- a/content.tex +++ b/content.tex @@ -214,9 +214,8 @@ Used Ring & 4 & $6 + 4 * $(Queue Size) \\ \hline \end{tabular} -The Alignment column gives the minimum alignment: for each part -of the virtqueue, the physical address of the first byte -MUST be a multiple of the specified alignment value. +The Alignment column gives the minimum alignment for each part +of the virtqueue. The Size column gives the total number of bytes required for each part of the virtqueue. @@ -233,6 +232,10 @@ writes the descriptor index into the available ring. It then notifies the device. When the device has finished a buffer, it writes the descriptor index into the used ring, and sends an interrupt. +\drivernormative{Basic Facilities of a Virtio Device / Virtqueues} +The driver MUST ensure that the physical address of the first byte +of each virtqueue part is a multiple of the specified alignment value +in the above table. \subsection{Legacy Interfaces: A Note on Virtqueue Layout}\label{sec:Basic Facilities of a Virtio Device / Virtqueues / Legacy Interfaces: A Note on Virtqueue Layout} -- cgit v1.2.3