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

From
Pankaj Gupta <>
Date
2021-08-04T12:41:10+00:00
ID
Thread
Re: [virtio-dev] [PATCH RESEND] virtio-pmem: PMEM device spec
> > > > +\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).

Fair point. Will remove the paragraph.

Thanks,
Pankaj