mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-28 20:45:39 +00:00

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>
14 lines
456 B
Makefile
Executable File
14 lines
456 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# -*- makefile -*-
|
|
# Sample debian/rules that uses debhelper.
|
|
# This file was originally written by Joey Hess and Craig Small.
|
|
# As a special exception, when this file is copied by dh-make into a
|
|
# dh-make output file, you may use that output file without restriction.
|
|
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
%:
|
|
dh $@ --with systemd
|