[libvirt PATCH v3 3/7] rpc: convert RPC client to use GMainLoop instead of poll

Pavel Hrdina phrdina at redhat.com
Thu Feb 6 14:25:51 UTC 2020


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 at redhat.com>
> ---
>  src/rpc/virnetclient.c | 222 ++++++++++++++++++++++-------------------
>  1 file changed, 120 insertions(+), 102 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200206/2c7db5dd/attachment-0001.sig>


More information about the libvir-list mailing list