09.07.2014 08:19, C. Wolf writes:
Hi,

I've found a viable solution to this problem.
I've putted following script into /etc/pm/sleep.d:


#!/bin/bash
#
# A script to pause virtual machines before going into suspend

declare -r SAVES_DIRECTORY="/var/lib/libvirt/qemu/save"

This does not save any qemu virtual machines except the ones
which are started by libvirt.  So it is not very useful to
put it into qemu package.

This saves all running virtual machines when going to sleep.
Maybe this solution can find its way into debian? I could write
a python-script that uses the libvirt instead of this shell
script...

You can ping libvirt guys for this.

Thanks,

/mjt


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to