Upstream says it won't be fixed until the next major release after
2.0.4. 

Here is a hack fix I've made to at least protect from data loss.


create /usr/lib/pm-utils/sleep.d/00virtualBox and make it executable

put this in the script. I have hardcoded for the only VM I care about,
and you need to run it as the user who runs the virtual machine.

Obviously very ugly, but does the job. 


#!/bin/sh

#. "${PM_FUNCTIONS}"

case "$1" in
        hibernate|suspend)
                #suspend_nm
                sudo -u tim VBoxManage controlvm XP savestate
                ;;
        thaw|resume)
                #resume_nm
                ;;
        *) exit $NA
                ;;
esac







-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to