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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to