Re: [PATCH v2 07/22] vfio/pci: Notify PCI subsystem about devices preserved across Live Update

From: Jason Gunthorpe

Date: Fri Mar 13 2026 - 08:27:12 EST


On Thu, Mar 12, 2026 at 08:33:27PM -0400, Pasha Tatashin wrote:

> If there are active sessions (incoming or outgoing) with preserved
> data, how can we safely unregister while they are in-flight? It is a
> rare condition, but since the user can cause it, they need to be
> notified that unloading the module right now is not a good idea.

IMHO blow up the kernel or something in the core code, you can't stop
module unloading once it starts so it is pointless to propogate this

Jason