From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Detecting Guest Shutdown Date: Sun, 23 May 2010 14:40:01 +0300 Message-ID: <4BF91411.6060508@redhat.com> References: <4BF7E1EF.10800@rdsoftware.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "kvm@vger.kernel.org" To: Erik Rull Return-path: Received: from mx1.redhat.com ([209.132.183.28]:60418 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751908Ab0EWLkI (ORCPT ); Sun, 23 May 2010 07:40:08 -0400 In-Reply-To: <4BF7E1EF.10800@rdsoftware.de> Sender: kvm-owner@vger.kernel.org List-ID: On 05/22/2010 04:53 PM, Erik Rull wrote: > Hi all, > > is it possible to detect a guest shutdown? qemu exits on guest shutdown. > > I want to stop a service if my windows guest is shutted down and force > a sync of the disks - because it could be possible that the user > switches off the system afterwards and he has no possiblity to tell > linux to shut down safely, because he only sees the shutted down > screen of windows. Install Windows with ACPI enabled. -- error compiling committee.c: too many arguments to function