Re: [virtio-comment] [PATCH v3 1/3] shared memory: Define shared memory regions

From
Dr. David Alan Gilbert <>
Date
2019-03-07T17:53:54+00:00
ID
20190307175347.GL2811@work-vm
Thread
Re: [virtio-comment] [PATCH v3 1/3] shared memory: Define shared memory regions
* Stefan Hajnoczi () wrote:
> On Mon, Mar 04, 2019 at 01:25:29PM +0000, Dr. David Alan Gilbert (git) wrote:
> > +\subsection{Addressing within regions}\label{sec:Basic Facilities of a Virtio Device / Shared Memory Regions / Addressing within regions }
> > +
> > +Commands sent over the virtqueues may refer to data within the
> > +shared memory regions, for example a command may be used by a
> > +driver to cause a device to add or remove a mapping within
> > +a region.  When referring to data, the addresses will normally be
> > +offsets within a particular region rather than absolute host or
> > +guest addresses.  The \field{shmid} may be explicit or may be
> > +inferred from the command type.
> 
> This sounds like normative statements.  They belong in a driver or
> device normative section.

I think we were trying in a previous version to make it one; but the
problem is it's not really a statement about something a device or
driver must do; it's a statement advising someone writing the spec
for a particular device to make sure it's specified like that.

> Otherwise:
> 
> Reviewed-by: Stefan Hajnoczi <>

Thanks.

Dave


--
Dr. David Alan Gilbert /  / Manchester, UK