From: "Markus Breitländer" <breitlaender@stud.fh-dortmund.de>
To: kvm@vger.kernel.org
Subject: Re: How to properly turn off guest VM on server shutdown?
Date: Sun, 24 Jan 2010 18:16:07 +0100 [thread overview]
Message-ID: <4B5C8057.4010405@stud.fh-dortmund.de> (raw)
In-Reply-To: <20100124170015.GD24932@defiant.freesoftware>
Hi!
Does anyone have sample scripts for this job?
I know you can send the 'system_powerdown' command to the qemu-monitor,
this CAN work for windows guests as far as i know.
What other commands could be used in shutdown scripts?
Regards,
Markus
Am 24.01.2010 18:00, schrieb Daniel Bareiro:
> Hi, Anthony.
>
> On Sunday, 24 January 2010 09:29:08 -0600,
> Anthony Liguori 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.
>
> Well.. perhaps I'm confused because I did these tests a long time ago.
> But now that you mention it, I believe that I had tried was that,
> through virsh commands, the VM shutdown could be done from the VMHost
> being it always running.
>
> I suppose that scripts that you mention will call to virsh when shutdown
> becomes of the VMHost.
>
> Regards,
> Daniel
next prev parent reply other threads:[~2010-01-24 17:47 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 [this message]
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=4B5C8057.4010405@stud.fh-dortmund.de \
--to=breitlaender@stud.fh-dortmund.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