diff options
-rwxr-xr-x | kvmx | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -635,6 +635,11 @@ function kvmx_hibernate { exit 1 fi + if ! kvmx_ssh test -s /swapfile; then + echo "Seems like /swapfile is absent in the guest, aborting" + exit 1 + fi + # Currently 9p driver won't survive a reboot # Umount shared folders #if [ ! -z "$shared_folder" ] && [ ! -z "$shared_folder_mountpoint" ]; then |