[libvirt-users] libvirt guests graceful shutdown upon hosts powerdown/reboot

hi everybody by an assumption I expected VM guests to be shut down/off gracefully when the host is being powered down or rebooted, but this does not seem to be the case so I wonder.. Am I missing some libvirt components/packages ? Or my assumption is incorrect and guests have to be shutdown manually? it's all SL 7 and guest are M$ regards P.

On Wed, Oct 22, 2014 at 10:58:39AM +0100, lejeczek wrote:
hi everybody
by an assumption I expected VM guests to be shut down/off gracefully when the host is being powered down or rebooted, but this does not seem to be the case so I wonder.. Am I missing some libvirt components/packages ? Or my assumption is incorrect and guests have to be shutdown manually? it's all SL 7 and guest are M$
The libvirt-guests.service systemd unit file is able to take care of shutting down (or saving) guests at host shutdown. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

should have mentioned, apologies, suspend is the graceful shutdown of the guest I was thinking of. Guest is win2k8, why would it not suspend? On 22/10/14 10:58, lejeczek wrote:
hi everybody
by an assumption I expected VM guests to be shut down/off gracefully when the host is being powered down or rebooted, but this does not seem to be the case so I wonder.. Am I missing some libvirt components/packages ? Or my assumption is incorrect and guests have to be shutdown manually? it's all SL 7 and guest are M$
regards P.
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

seems server versions of windows have to forced, but yet I get - trying powercfg.exe - ".. firmware does not support suspend.." or something similar, which I guess is down to qemu/kernel On 22/10/14 11:45, lejeczek wrote:
should have mentioned, apologies, suspend is the graceful shutdown of the guest I was thinking of. Guest is win2k8, why would it not suspend?
On 22/10/14 10:58, lejeczek wrote:
hi everybody
by an assumption I expected VM guests to be shut down/off gracefully when the host is being powered down or rebooted, but this does not seem to be the case so I wonder.. Am I missing some libvirt components/packages ? Or my assumption is incorrect and guests have to be shutdown manually? it's all SL 7 and guest are M$
regards P.
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
participants (2)
-
Daniel P. Berrange
-
lejeczek