I am working on adding suspend resume functionality to co-Linux. I had
two approaches in mind.
1) Patch the linux kernel with "tuxOnIce" patches .
2) Modify the Windows (linux) kernel driver (linux.sys).
The first approach will make the implementation as guest OS specific .
So portability will be an issue here.
I am going in for second approach. Here I will modify the kernel
driver. The approach is :
Windows kernel driver will receive a message from linux userspace (a
script or something via message queues) to suspend the functionality.
Further in Winows driver , I will call kernel related APIs for suspend
Please , can someone verify whether the apprach is correct..