]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: convert RPC client to use GMainLoop instead of poll
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 16 Jan 2020 11:21:44 +0000 (11:21 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 7 Feb 2020 15:03:53 +0000 (15:03 +0000)
commit7d4350bcac251bab2ecf85bd19eb1181db87fd07
treeb13551d47437f5712d4a81e3170dc53855690cd4
parent5de317b8e742699a9de3db2b5ad299d718b2b45e
rpc: convert RPC client to use GMainLoop instead of poll

To eliminate the dependancy on GNULIB's poll impl, we need
to change the RPC client code to use GMainLoop. We don't
really want to use GIOChannel, but it provides the most
convenient way to do socket event watches with Windows
portability. The other alternative would be to use GSocket
but that is a much more complex change affecting libvirt
more broadly.

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/rpc/virnetclient.c