You are here

how to suspend a guest on kvm host shutdown

on a kvm host, the default action when the host is shutdown is .. to do nothing. so what the guest see is the power suddenly being removed.the solution is to modify /etc/sysconfig/libvirt-guests and and modify the ON_SHUTDOWN parameter. you got 2 choices suspend or shutdown