Re: [libvirt] libvirtd shutdown script patches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-01-13 at 15:00 -0500, Sir Woody Hackswell wrote:
> Here is a small patch for libvirtd init and sysconfig script.  Before
> killing libvirtd, we virsh shutdown any running domains.  We also have
> a maximum time limit for shutdown (300 sec default), just in case the
> VM will not shut down.
> 
> Any thoughts as to whether this is the right place to put this
> functionality?  Is the shutdown script proper, or since libvirtd
> handles autostarts domains internally, should libvirtd shut down
> active domains upon SIGTERM all by itself?

Funny that this patch precedes Dan's patches to keep stuff alive on
libvirtd shutdown :-)

I think the main concern here is autostart domains - if you have an
autostart domain and you boot up and immediately power down, then you're
not going to even remember you have a domain running.

Cheers,
Mark.

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]