From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] add acpi powerbutton support Date: Mon, 21 Jan 2008 12:47:51 +0200 Message-ID: <47947857.4020004@qumranet.com> References: <20080103181415.GB1077@bogon.ms20.nix> <477D50FE.4040104@qumranet.com> <20080104183158.GA14002@bogon.ms20.nix> <47809A8F.5090803@qumranet.com> <20080107115916.GA24050@bogon.ms20.nix> <20080107120223.GB24050@bogon.ms20.nix> <47821EC8.4020308@qumranet.com> <20080108080928.GA9823@bogon.ms20.nix> <479219D6.1000707@web.de> <20080120115617.GA31618@bogon.ms20.nix> <47946D4A.5000808@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Guido Guenther To: Jan Kiszka Return-path: In-Reply-To: <47946D4A.5000808-kv7WeFo6aLtBDgjK7y7TUQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Jan Kiszka wrote: > Hi Guido, > > [posting via gmane sucks, just re-enabled mail delivery in this account...] > > Much appreciated. > Guido Guenther wrote: > >> Hi Jan, >> On Sat, Jan 19, 2008 at 04:40:06PM +0100, Jan Kiszka wrote: >> >>> What about additionally listening on signals? If you run qemu from the >>> console, you can then just press ctrl-c to shut the guest down (instead >>> >> Catching ctrl-c sounds like a good idea but "ctrl-c, ctrl-c" should >> probably kill qemu then, since the machine might have no acpid running - >> in that case hitting ctrl-c would have no effect. >> > > Good idea. > I'm worried about the 30+ second shutdown latency. Is there precedent for SIGTERM or SIGINT requiring this long to take effect? Maybe we should suspend the VM instead (using qemu suspend, not guest suspend). -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/