Re: [PATCH v2 11/22] docs: liveupdate: Document VFIO device file preservation

From: David Matlack

Date: Mon Mar 16 2026 - 18:35:59 EST


On Mon, Mar 16, 2026 at 2:55 PM Vipin Sharma <vipinsh@xxxxxxxxxx> wrote:
>
> On Thu, Jan 29, 2026 at 09:24:58PM +0000, David Matlack wrote:
> > Add documentation for preserving VFIO device files across a Live Update,
> > as well as some generic file preservation documentation. This
> > documentation will be extended in the future as new types of files are
> > supported and new dependency/ordering requirements are added.
> >
> > Signed-off-by: David Matlack <dmatlack@xxxxxxxxxx>
> > ---
> > Documentation/userspace-api/liveupdate.rst | 144 +++++++++++++++++++++
> > 1 file changed, 144 insertions(+)
> >
> > diff --git a/Documentation/userspace-api/liveupdate.rst b/Documentation/userspace-api/liveupdate.rst
> > index 41c0473e4f16..dbf1e4aeddd7 100644
> > --- a/Documentation/userspace-api/liveupdate.rst
> > +++ b/Documentation/userspace-api/liveupdate.rst
> > @@ -14,6 +14,150 @@ ioctl uAPI
> > ===========
> > .. kernel-doc:: include/uapi/linux/liveupdate.h
> >
> > +File Preservation
> > +=================
>
> Should we use the existing way where documentation is written in code
> files and referenced here? Maybe luo_file.c for this?

Good idea. I will look into that. It would be nice to also have this
documentation in the code.