search for: device_suspend

Displaying 1 result from an estimated 1 matches for "device_suspend".

Did you mean: __device_suspend
2007 Jan 17
6
Ehancement to domU suspend/resume
...uld invoke driver suspend method of owned physical devices. Before that, one other necessary step is to freeze all processes since some may still hold critical resource. In this case, we need borrow some Linux PM stuff into xen suspend path, something like: Smp_suspend(); freeze_processes(); device_suspend(); device_power_down(); xenbus_suspend(); ... HYPERVISOR_suspend(virt_to_mfn(xen_start_info)); ... xenbus_resume(); device_power_up(); device_resume(); thaw_processes(); smp_resume(); It may be more difficult if we want to support wake-on-LAN when that NIC is assigned to domU, which is...