public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Charles Duffy <Charles_Duffy@messageone.com>
To: kvm@vger.kernel.org
Subject: Re: init scripts for KVM guests UPDATE!
Date: Sun, 19 Jul 2009 00:01:52 -0500	[thread overview]
Message-ID: <h3u9bp$8f3$1@ger.gmane.org> (raw)
In-Reply-To: <4A6113B8.20507@opensoft24.com>

To echo Michael a little here -- posting this on the KVM mailing list 
implies that it shouldn't have dependencies beyond KVM; as such, the 
libvirt mailing list would probably be a better place for these scripts.

That said -- no, there isn't an option within libvirt to save or 
gracefully shut down the guests on daemon (or host) shutdown. This is in 
part because in newer versions, the libvirt daemon can be shut down or 
restarted without also shutting down the guests -- presuming that the 
host is being shut down whenever the guest is terminated would be an 
unfortunate thing from the perspective of some users, so in my opinion a 
separate init script for controlling the guests (similar to what you're 
doing here) is probably the Right Thing.


  parent reply	other threads:[~2009-07-19  5:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-18  0:13 init scripts for KVM guests UPDATE! Saman Behnam
2009-07-18  5:25 ` Michael Tokarev
2009-07-18 16:03   ` Daniel Bareiro
2009-07-19  5:01 ` Charles Duffy [this message]
2009-07-19  9:51 ` Ján ONDREJ (SAL)
2009-07-19  9:53   ` Ján ONDREJ (SAL)

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='h3u9bp$8f3$1@ger.gmane.org' \
    --to=charles_duffy@messageone.com \
    --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