add qmeventd
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 14 Nov 2018 13:59:56 +0000 (14:59 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 14 Nov 2018 14:29:59 +0000 (15:29 +0100)
commit4c17b2e30d2ba3ffee791a182d8b19bc05b29a65
tree479609d71bdb75eb09140f20cefe1f17afc2b68c
parent3074f37b34f4440ab7d456e75d038881f48b3d91
add qmeventd

this adds a program that can listen to qemu qmp events on a given socket
and if a shutdown event followed by a disconnected socket occurs,
executes qm cleanup with arguments that indicate if the
vm was closed gracefully and whether the guest initiated it

this is useful if we want to cleanup after the qemu process exited,
e.g. tap devices, vgpus, etc.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Makefile
debian/control
debian/rules
qmeventd.c [new file with mode: 0644]
qmeventd.h [new file with mode: 0644]
qmeventd.service [new file with mode: 0644]