From: Bernhard Held <bheld@mgpi.de>
To: kvm@vger.kernel.org
Subject: Re: Question about shutting down Guest KVM during HOST OS shutdown
Date: Mon, 23 Nov 2009 13:13:20 +0100 [thread overview]
Message-ID: <hedu90$s71$1@ger.gmane.org> (raw)
In-Reply-To: <1f6793290911230212k1c793c8ala441c716d503d8b@mail.gmail.com>
Hi Arun!
> send_cmd() {
> QEMU_MONITOR_COMMAND=$1
> echo "${QEMU_MONITOR_COMMAND}" | socat - UNIX-CONNECT:${FILE_MONITOR}
> }
>
> which sends the "exit" command to the qemu process via a socket file.
Just send "system_powerdown", and your guest will receive an ACPI shutdown request.
Bernhard
next prev parent reply other threads:[~2009-11-23 12:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-23 10:12 Question about shutting down Guest KVM during HOST OS shutdown Arun Khan
2009-11-23 12:13 ` Bernhard Held [this message]
2009-11-23 14:24 ` Neil Aggarwal
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='hedu90$s71$1@ger.gmane.org' \
--to=bheld@mgpi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.