public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Qmp signal event
@ 2013-11-26 14:17 Jose A. Lopes
  0 siblings, 0 replies; only message in thread
From: Jose A. Lopes @ 2013-11-26 14:17 UTC (permalink / raw)
  To: kvm

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-26 14:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26 14:17 Qmp signal event Jose A. Lopes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox