[pve-devel] [PATCH qemu-server v6 1/3] add qmeventd

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Nov 19 10:02:59 CET 2018


On Sun, Nov 18, 2018 at 04:03:38PM +0100, Thomas Lamprecht wrote:
> On 11/14/18 2:59 PM, Dominik Csapak wrote:
> > 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 at proxmox.com>
> > ---
> > changes from v5:
> > * fix typo
> > * fix function signature
> > * change exit(0) to exit(EXIT_SUCCESS)
> > 
> >  Makefile         |  19 ++-
> >  debian/control   |   2 +
> >  debian/rules     |   2 +-
> >  qmeventd.c       | 429 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >  qmeventd.h       |  55 +++++++
> >  qmeventd.service |  10 ++
> >  6 files changed, 513 insertions(+), 4 deletions(-)
> >  create mode 100644 qmeventd.c
> >  create mode 100644 qmeventd.h
> >  create mode 100644 qmeventd.service
> > 
> > diff --git a/debian/control b/debian/control
> > index 912d7a9..15fb74a 100644
> > --- a/debian/control
> > +++ b/debian/control
> > @@ -3,7 +3,9 @@ Section: admin
> >  Priority: optional
> >  Maintainer: Proxmox Support Team <support at proxmox.com>
> >  Build-Depends: debhelper (>= 7.0.50~),
> > +               docutils,
>                   ^^^^^^^^ 
> 
> I guess this is left over from earlier iterations where you had rst docs directly
> here not in pve-docs? If so, please remove again from the dependency list...

done




More information about the pve-devel mailing list