Skip to contentSkip to conversation

Qmp signal event

DISCUSSION Jose A. Lopes 1 participant 1 message Nov 26, 2013 KVM

lore
Share & tools
lore
#0 lore 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

Signature · 10 lines
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