]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: monitor: Remove return value from qemuMonitorEmit* functions
authorPeter Krempa <pkrempa@redhat.com>
Tue, 20 Jul 2021 07:35:39 +0000 (09:35 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 23 Jul 2021 08:01:47 +0000 (10:01 +0200)
commit7a1b07925cd7171bc18a27395a3f6d6c14194d54
tree98f9d8c227caf30f54871bd3d17ed1a2268d712c
parenta49e50f84dad13865b7de0623160f5c21213178c
qemu: monitor: Remove return value from qemuMonitorEmit* functions

The callers in the monitor code invoking the callbacks after events are
received don't actually check the return value from the callbacks and
there isn't really anything we could do on failure.

Remove the return value from the intermediary functions so we can later
remove them from the callback prototypes.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h