On Wed, Feb 05, 2020 at 05:18:54PM +0000, Daniel P. Berrangé wrote:
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.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
src/rpc/virnetclient.c | 222 ++++++++++++++++++++++-------------------
1 file changed, 120 insertions(+), 102 deletions(-)
Reviewed-by: Pavel Hrdina <phrdina(a)redhat.com>