]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: start/stop an event thread for QEMU monitor/agent tests
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 12 Feb 2020 14:56:29 +0000 (14:56 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 11 Mar 2020 14:44:51 +0000 (14:44 +0000)
commitba906ab1c0342b98495938f283d1ab7806b72082
treef164e12352867656c7cdeb45f4a9a4aec0519a27
parent92890fbfa14581a4f962e2cbd5ace995a344422c
tests: start/stop an event thread for QEMU monitor/agent tests

Tests which are using the QEMU monitor / agent need to have an
event thread running a private GMainContext.

There is already a thread running the main libvirt event loop
but this can't be eliminated yet as it is used for more than
just the monitor client I/O.

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