public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Christian Roessner <christian@roessner-net.com>
To: kvm@vger.kernel.org
Subject: How to send ACPI events to kvm guests
Date: Mon, 08 Dec 2008 16:03:43 +0100	[thread overview]
Message-ID: <493D374F.4030604@roessner-net.com> (raw)

Hi,

first of all I am not sure, if this is the right place for my question,
so if not, please speak friendly :-)

I use kvm-72 directly over the command line, because I use vde, which is
not enabled in Ubuntu intrepid & co in package libvirt-bin.

Anything is doing really fine, but I can not find out on how to send
ACPI-events to a guest, i.e. power-button.

The libvirt tool seems to be able to do the trick. So what command does
virsh, whatever invoke to send the event?

A friend and I have spend hours and hours with Google, tried to study
the source-code of kvm and libvirt, but could not find the answer.

I want to write s simple init-script for the kvm instances, so I really
would like a clean solution. A bad hack would be ssh guest "shutdown -h
now", but I would prefer the ACPI version, if possible.

So, I hope, somebody may help me with this question.

Thanks alot. I really like kvm.

Kind regards
Christian

-- 
Roessner Network Solutions (R.N.S.)
Licher Str. 19a, 35394 Gießen
Telefon: +49 641 5879091, Mobil: +49 176 78168371
USt-IdNr.: DE225643613

URL: http://www.roessner-net.com/
PGP: http://www.roessner-net.com/0x6B929997.asc

             reply	other threads:[~2008-12-08 15:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-08 15:03 Christian Roessner [this message]
2008-12-08 15:12 ` How to send ACPI events to kvm guests Daniel P. Berrange
2008-12-08 18:53   ` Christian Roessner

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=493D374F.4030604@roessner-net.com \
    --to=christian@roessner-net.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