diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2019-03-11 11:58:43 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-03-21 13:24:59 -0400 |
commit | 69daf0635b883b20bd7f62dd25c187e3e8ac8db5 (patch) | |
tree | a9695ca66248c6c613051920c1e82b2e73299c20 /split-ring.tex | |
parent | 0b5288f06affd912f21261fc9f3a200a534fb9a5 (diff) | |
download | virtio-spec-69daf0635b883b20bd7f62dd25c187e3e8ac8db5.tar.gz |
editorial: explain each structure before use
Several structures are listed before they are
introduced in some way. Add a sentence before each one
so they don't appear prior to any prose.
Fixes: https://issues.oasis-open.org/browse/VIRTIO-166
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'split-ring.tex')
-rw-r--r-- | split-ring.tex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/split-ring.tex b/split-ring.tex index 4e373d6..123ac9f 100644 --- a/split-ring.tex +++ b/split-ring.tex @@ -292,6 +292,8 @@ layout is valid. \subsection{The Virtqueue Available Ring}\label{sec:Basic Facilities of a Virtio Device / Virtqueues / The Virtqueue Available Ring} +The available ring has the following layout structure: + \begin{lstlisting} struct virtq_avail { #define VIRTQ_AVAIL_F_NO_INTERRUPT 1 @@ -385,6 +387,8 @@ For example, if \field{used_event} is 0, then a device using \subsection{The Virtqueue Used Ring}\label{sec:Basic Facilities of a Virtio Device / Virtqueues / The Virtqueue Used Ring} +The used ring has the following layout structure: + \begin{lstlisting} struct virtq_used { #define VIRTQ_USED_F_NO_NOTIFY 1 |