Red Hat Bugzilla – Bug 537270
RFE: Automatically shutdown guests on host shutdown
Last modified: 2013-01-10 00:36:12 EST
Description of problem:
Currently libvirt only autostarts guests, it does not autostop guests on shutdown, causing guest corruption on host reboots.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start a guest
2. Reboot the host
3. Start the guest again
Guest complains about unclean shutdown, checks filessytems etc. In worst case guest may even be corrupted.
Cleanly shut down guests before host is shutdown / rebooted.
A suggested init script doing this was posted on the list in July
the script works for me with just a minor patch
Additionally providing the option of saving & restoring the vm state instead of shutting down would be very nice, but making sure running guests are shut down is a good start.
Thanks for the report, this has been discussed several times upstream and we have a bz tracking it
*** This bug has been marked as a duplicate of bug 444273 ***