From: "Jose A. Lopes" <jabolopes@google.com>
To: kvm@vger.kernel.org
Subject: Qmp signal event
Date: Tue, 26 Nov 2013 15:17:41 +0100 [thread overview]
Message-ID: <20131126141741.GA15008@google.com> (raw)
Hi,
We're connecting to an instance using the Qmp socket and listening on
the events in order to determine whether the shutdown came from inside
the VM or it was issued by the host, for example, by piping
'system_powerdown'.
However, we're unable to distinguish between a host shutdown issued
through Qmp and a TERM signal issued by kill, for example. Is there a
way to determine if KVM received a TERM signal? Is it possible to
send an event, just like the ones used for 'SHUTDOWN' and 'POWERDOWN',
through Qmp?
Cheers,
Jose
--
Jose Antonio Lopes
Ganeti Engineering
Google Germany GmbH
Dienerstr. 12, 80331, München
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores
Steuernummer: 48/725/00206
Umsatzsteueridentifikationsnummer: DE813741370
reply other threads:[~2013-11-26 14:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20131126141741.GA15008@google.com \
--to=jabolopes@google.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