public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Bareiro <daniel-listas@gmx.net>
To: kvm@vger.kernel.org
Subject: Re: How to properly turn off guest VM on server shutdown?
Date: Sun, 24 Jan 2010 12:11:40 -0300	[thread overview]
Message-ID: <20100124151140.GC24932@defiant.freesoftware> (raw)
In-Reply-To: <4B5C5A31.7060807@web.de>

[-- Attachment #1: Type: text/plain, Size: 901 bytes --]

On Sunday, 24 January 2010 15:33:21 +0100,
André Weidemann wrote:

> Hi,

Hi, André.

> is there a mechanism inside qemu-kvm that can shutdown the OS inside a  
> VM when the qemu-kvm process receives a kill signal?
> I am running Windows7 Pro inside a VM and I would like kvm to shut the  
> Windows system down before the process is killed.
> I know that VMware can shut down the guest OS when stopping the VMware  
> instance. Is there a similar feature in KVM?

It is an interesting question :-)

I know that this can be done with libvirt. I had tested it with
GNU/Linux and it worked. I don't use Windows, so I cannot help you in
this sense.

But also it would interest to me to know if this can be done without
using libvirt.

Regards,
Daniel
-- 
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2010-01-24 15:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-24 14:33 How to properly turn off guest VM on server shutdown? André Weidemann
2010-01-24 15:11 ` Daniel Bareiro [this message]
2010-01-24 15:15   ` Avi Kivity
2010-01-24 15:29     ` Anthony Liguori
2010-01-24 17:00       ` Daniel Bareiro
2010-01-24 17:16         ` Markus Breitländer
2010-01-26 13:46           ` Glennie Vignarajah
2010-01-26 14:01             ` Markus Breitländer
2010-01-26 15:55               ` Kenni Lund
2010-01-24 17:41       ` Avishay Traeger
2010-01-24 18:27         ` Daniel Bareiro
2010-01-24 18:45           ` Daniel Bareiro
2010-01-24 18:28         ` Jean-Philippe Menil
2010-01-24 20:07           ` Jernej Simončič
2010-01-25 18:46             ` Michael Tokarev
2010-01-25 19:09               ` Jan Kiszka

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=20100124151140.GC24932@defiant.freesoftware \
    --to=daniel-listas@gmx.net \
    --cc=dbareiro@gmx.net \
    --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