Re: [PATCH v1 17/32] liveupdate: luo_sysfs: add sysfs state monitoring

From: Pasha Tatashin
Date: Wed Jul 23 2025 - 09:54:02 EST


On Thu, Jun 26, 2025 at 12:29 AM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>
> Hi,
>
>
> On 6/25/25 4:18 PM, Pasha Tatashin wrote:
> > diff --git a/Documentation/ABI/testing/sysfs-kernel-liveupdate b/Documentation/ABI/testing/sysfs-kernel-liveupdate
> > new file mode 100644
> > index 000000000000..4cd4a4fe2f93
> > --- /dev/null
> > +++ b/Documentation/ABI/testing/sysfs-kernel-liveupdate
> > @@ -0,0 +1,51 @@
> > +What: /sys/kernel/liveupdate/
> > +Date: May 2025
> > +KernelVersion: 6.16.0
> > +Contact: pasha.tatashin@xxxxxxxxxx
> > +Description: Directory containing interfaces to query the live
> > + update orchestrator. Live update is the ability to reboot the
> > + host kernel (e.g., via kexec, without a full power cycle) while
> > + keeping specifically designated devices operational ("alive")
> > + across the transition. After the new kernel boots, these devices
> > + can be re-attached to their original workloads (e.g., virtual
> > + machines) with their state preserved. This is particularly
> > + useful, for example, for quick hypervisor updates without
> > + terminating running virtual machines.
> > +
> > +
> > +What: /sys/kernel/liveupdate/state
> > +Date: May 2025
> > +KernelVersion: 6.16.0
> > +Contact: pasha.tatashin@xxxxxxxxxx
> > +Description: Read-only file that displays the current state of the live
> > + update orchestrator as a string. Possible values are:
> > +
> > + "normal": No live update operation is in progress. This is
> > + the default operational state.
>
> Just an opinion, but the ':'s after each possible value aren't needed
> and just add noise.

Removed columns, thanks.

Pasha