]> git.proxmox.com Git - mirror_qemu.git/commit
qemu: add a cleanup callback function to EventNotifier
authorGal Hammer <ghammer@redhat.com>
Sun, 14 Jan 2018 10:06:54 +0000 (12:06 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 18 Jan 2018 19:52:37 +0000 (21:52 +0200)
commitf87d72f5c5bff0837d409a56bd34f439a90119ca
treea82bcc163baf18a766707e5eb7affcae77fa9b36
parent406d2aa2cc0770526081da00780ed2124cff1654
qemu: add a cleanup callback function to EventNotifier

Adding a cleanup callback function to the EventNotifier struct
which allows users to execute event_notifier_cleanup in a
different context.

Signed-off-by: Gal Hammer <ghammer@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/qemu/event_notifier.h
util/event_notifier-posix.c
util/event_notifier-win32.c