On Mon, Oct 13, 2025 at 8:27 PM Mario Limonciello <[email protected]> wrote: > > On 10/13/25 12:58 PM, Rafael J. Wysocki wrote: > > On Mon, Oct 13, 2025 at 7:48 PM Mario Limonciello (AMD) > > <[email protected]> wrote: > >> > >> From: Mario Limonciello <[email protected]> > >> > >> After the hibernation snapshot is created all devices will have > >> their thaw() callback called before the next stage. For the most > >> common scenarios of hibernation this is not necessary because the > >> device will be powered off anyway. > > > > And how exactly is the image going to be saved? > > > > It is only in memory when the "thaw" callbacks are invoked. > > Ah; right. > > I suppose one option would be to thaw "just" the backing device, but > this could turn into a relatively complex mess because it would have > relationships (parent/child or device link) to other devices that need > to thaw too then.
Right and that's exactly why everything is thawed.
