]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: convert monitor to use the per-VM event loop
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 12 Feb 2020 14:54:19 +0000 (14:54 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 11 Mar 2020 14:44:55 +0000 (14:44 +0000)
commit436a56e37dc02e902a92210683e06d64382f6bcb
tree15f2ba0af1d2b2b7268315ec6f061ada845cbecb
parentba906ab1c0342b98495938f283d1ab7806b72082
qemu: convert monitor to use the per-VM event loop

This converts the QEMU monitor APIs to use the per-VM
event loop, which involves switching from virEvent APIs
to GMainContext / GSource APIs.

A GSocket is used as a convenient way to create a GSource
for a socket, but is not yet used for actual I/O.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_process.c
tests/qemumonitortestutils.c