Re: [libvirt] libvirtd shutdown script patches

2009-01-14 Thread Sir Woody Hackswell
On Wed, Jan 14, 2009 at 5:58 AM, Daniel P. Berrange wrote: > On Tue, Jan 13, 2009 at 03:00:17PM -0500, Sir Woody Hackswell wrote: > > It is desirable to stop things when the machine is shutting down. > > If we put this functionality in the stop() function of the initscript > we cannot make this di

Re: [libvirt] libvirtd shutdown script patches

2009-01-14 Thread Daniel P. Berrange
On Tue, Jan 13, 2009 at 03:00:17PM -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

Re: [libvirt] libvirtd shutdown script patches

2009-01-14 Thread Mark McLoughlin
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 d

[libvirt] libvirtd shutdown script patches

2009-01-13 Thread Sir Woody Hackswell
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 f