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>
Add debian directory and move the respective files there and add
missing (rules, compat, docs).
Add a Source section to the control.in file and "build" (sed
control.in >control) in the $DEB target as done in most other
packages
Move the qm verifyapi check to the new "test" target, which gets
executed before the dh_auto_install target.
Remove the obsolete vzsyscalls.ph target, vzsyscalls.h is gone for a
while now
Cleanup "clean" target.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>