Bug#743628: Proposing a fix: Saving virtual machines before going to sleep

2014-07-09 Thread C. Wolf
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 for_each_line() { while read -r line; do $1 $line; done

Bug#743628: Proposing a fix: Saving virtual machines before going to sleep

2014-07-09 Thread Michael Tokarev
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