public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Erik Rull <erik.rull@rdsoftware.de>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: Detecting Guest Shutdown
Date: Sun, 23 May 2010 14:40:01 +0300	[thread overview]
Message-ID: <4BF91411.6060508@redhat.com> (raw)
In-Reply-To: <4BF7E1EF.10800@rdsoftware.de>

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


      reply	other threads:[~2010-05-23 11:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-22 13:53 Detecting Guest Shutdown Erik Rull
2010-05-23 11:40 ` Avi Kivity [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BF91411.6060508@redhat.com \
    --to=avi@redhat.com \
    --cc=erik.rull@rdsoftware.de \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox