[PATCH v7 00/11] packed ring layout spec

From
Cornelia Huck <>
Date
2018-01-30T10:12:00+00:00
ID
Thread
[PATCH v7 00/11] packed ring layout spec
On Tue, 23 Jan 2018 02:01:02 +0200
"Michael S. Tsirkin" <> wrote:
> virtqueue operation description is specific to the virtqueue
> format. Move it out to split-ring.tex and update all
> references.
>
> Signed-off-by: Michael S. Tsirkin <>
> ---
>  conformance.tex |
4 +-
>  content.tex
| 171 +++

---------------------------------------------------
>  split-ring.tex  | 175 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-
>  3 files changed, 182 insertions(+), 168 deletions(-)
> diff --git a/split-ring.tex b/split-ring.tex
> index 418f63d..724bb82 100644
> --- a/split-ring.tex
> +++ b/split-ring.tex
> @@ -1,12 +1,13 @@
>  \section{Split Virtqueues}\label{sec:Basic Facilities of a Virtio Device / Split Virtqueues}
> -The split virtqueue format is the original format used by legacy
> -virtio devices.  The split virtqueue format separates the
> +The split virtqueue format is the original format used by devices
> +conforming to the 1.0 version of this standard (and a variant thereof
> +by legacy virtio devices).

Ah, just noticed this hunk. Might make sense to move this to a prior
patch, although it does not matter in the end.

> +The split virtqueue format separates the
>  virtqueue into several parts, where each part is write-able by
>  either the driver or the device, but not both. Multiple
>  locations need to be updated when making a buffer available
>  and when marking it as used.
>
> -

Dito here (should probably go to a prior patch).
>  Each queue has a 16-bit queue size
>  parameter, which sets the number of entries and implies the total size
>  of the queue.

Else:

Reviewed-by: Cornelia Huck <>