[virt-tools-list] shutdown / save guest state on host shutdown / reboot?

Richard W.M. Jones rjones at redhat.com
Tue Nov 2 12:34:42 UTC 2010


On Tue, Nov 02, 2010 at 01:11:17PM +0100, Tomasz Chmielewski wrote:
> Is it possible to shutdown or save guest state automatically on host
> shutdown / reboot?
> 
> Right now, I see KVM processes are simply killed when the host is
> rebooted or halted, which leaves the guests in the inconsistent
> state.

On Fedora 14, guests are saved and restored across reboots.  This is
done by the /etc/init.d/libvirt-guests, so if you grab the libvirt RPM
for F14 you can take a look at this script.

To be honest I find it a pain because it makes host reboots take
forever, and I have changed the /etc/sysconfig/libvirt-guests default
to shut them down and *not* restart them on the other side :-)

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the virt-tools-list mailing list