diff options
-rwxr-xr-x | kvmx | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -499,6 +499,12 @@ function kvmx_suspend { PID="`cat $PIDFILE`" kill -STOP $PID + + SPICEPID="`cat $SPICEFILE`" + + if ps $SPICEPID &> /dev/null; then + kill $SPICEPID + fi } # Check if a guest is running |