From: Anthony Liguori <anthony@codemonkey.ws>
To: Avi Kivity <avi@redhat.com>
Cc: dbareiro@gmx.net, kvm@vger.kernel.org
Subject: Re: How to properly turn off guest VM on server shutdown?
Date: Sun, 24 Jan 2010 09:29:08 -0600 [thread overview]
Message-ID: <4B5C6744.8070006@codemonkey.ws> (raw)
In-Reply-To: <4B5C6425.7070000@redhat.com>
On 01/24/2010 09:15 AM, Avi Kivity wrote:
> On 01/24/2010 05:11 PM, Daniel Bareiro wrote:
>> But also it would interest to me to know if this can be done without
>> using libvirt.
>
> Well, it can, but you get to duplicate all the libvirt code that does
> this.
I don't think it can. The original question was whether QEMU could
initiate an ACPI shutdown when it receives a kill signal. It cannot and
it's unclear to me if it's a good thing for us to do.
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.
Regards,
Anthony Liguori
next prev parent reply other threads:[~2010-01-24 15:29 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 [this message]
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=4B5C6744.8070006@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=avi@redhat.com \
--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