From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Startup/Shutdown scripts for KVM Machines in Debian (libvirt) Date: Wed, 10 Nov 2010 10:35:40 +0200 Message-ID: <4CDA595C.3030701@redhat.com> References: <201011100901.40451.dusty@qwer.tk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, "libvir-list@redhat.com" To: Hermann Himmelbauer Return-path: Received: from mx1.redhat.com ([209.132.183.28]:2766 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754901Ab0KJIfw (ORCPT ); Wed, 10 Nov 2010 03:35:52 -0500 In-Reply-To: <201011100901.40451.dusty@qwer.tk> Sender: kvm-owner@vger.kernel.org List-ID: On 11/10/2010 10:01 AM, Hermann Himmelbauer wrote: > Hi, > I manage my KVM machines via libvirt and wonder if there are any init.d > scripts for automatically starting up and shutting down virtual machines > during boot/shutdown of the host? > > Writing this for myself seems to be not that simple, as when shutting down, > the system has somehow to wait until all machines are halted (not responding > guests have to be destroyed etc.), and I don't really know how to accomplish > this. > > My host system is Debian Lenny, is there anything available? > Perhaps libvirt offers something I'm unaware of? > I think it does. Copying the libvirt mailing list. -- error compiling committee.c: too many arguments to function