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 15:27:23 -0300 [thread overview]
Message-ID: <20100124182723.GE24932@defiant.freesoftware> (raw)
In-Reply-To: <OF348460DE.AE988CD3-ONC22576B5.0060C899-C22576B5.006133A3@il.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]
On Sunday, 24 January 2010 19:41:42 +0200,
Avishay Traeger wrote:
> > But the origin of the question here is probably, can something
> > automatically shut down guests when a machine shutdowns down via the
> > normal mechanism. AFAIK, libvirt does not support this today
> > although there are some scripts floating around the intertubes that
> > can drive this operation through libvirt.
> Does the 'system_powerdown' monitor command initiate an ACPI shutdown?
> If so, I guess you can make an rc.d script that calls it during
> shutdown?
Interesting... I didn't know this command of Qemu Monitor.
Doing a test being connected to one of my guest by serial console, I see
that when executing the command from Qemu Monitor, guest does a normal
shutdown. But for this I believe that acpi package (Debian) must be
installed.
Thanks for the information!
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 --]
next prev parent reply other threads:[~2010-01-24 18:27 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
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 [this message]
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=20100124182723.GE24932@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