Am Tue, 14 May 2019 15:38:55 +0100 schrieb Wei Liu : > > While it is easy for the resume path, doing the same in the suspend path > > needs more changes. libxl__domain_suspend_device_model would need to receive > > the callback and set it if a device model is active. > > What do you mean here? Can't you handle the NONE case just like you do > in the resume function? It means calling libxl__domain_suspend_device_model unconditionally, and let that function decide what to do. Maybe there is no downside to set the callback unconditionally, I will check that. Olaf