OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [virtio-dev] [PATCH RESEND] virtio-pmem: PMEM device spec


On Wed, Aug 04, 2021 at 01:28:39PM +0200, Pankaj Gupta wrote:
> > > +\subsection{Device Initialization}\label{sec:Device Types / PMEM Device / Device Initialization}
> > > +
> > > +Device hotplugs physical memory to guest address space. Persistent memory device
> > > +is emulated with file backed memory at host side.
> >
> > This paragraph can be dropped. The device could be implemented in a
> > number of ways and it's beyond the scope of the specification.
> 
> But spec is for current implementation?  As we have more devices or ways, we
> can amend this.

The spec defines the driver/device interface, not the implementation. By
focussing on the interface rather than implementation, we leave room for
multiple implementations and avoid baking in assumptions about one
particular implementation (e.g. file-backed MAP_SHARED host memory).

Stefan

Attachment: signature.asc
Description: PGP signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]