[libvirt] [PATCH] Init script for suspending/resuming guests on shutdown/boot

Jiri Denemark jdenemar at redhat.com
Tue May 18 11:27:34 UTC 2010


> just an idea: wouldn't it make sense to add a global configure switch allowing 
> to shut down the vms instead of suspending them?
> 
> E.g. in /etc/sysconfig/libvirtd:
> 
> ON_SHUTDOWN=suspend (this is the default)
> or
> ON_SHUTDOWN=shutdown
> 
> This could be made available through the init script too:
> /etc/init.d/libvirt-guests shutdown

That sounds like a good idea. Not as simple as it sounds but I implemented it
in v2, which I will send later today.

Jirka




More information about the libvir-list mailing list