[libvirt PATCH v2 40/56] util: switch to use the GLib event loop impl

Pavel Hrdina phrdina at redhat.com
Fri Jan 31 15:02:16 UTC 2020


On Tue, Jan 28, 2020 at 01:11:21PM +0000, Daniel P. Berrangé wrote:
> This sets the GLib event loop as the impl when calling
> virEventRegisterDefaultImpl(). This remains a private
> impl detail of libvirt, so applications must *NOT*
> assume that a call to virEventRegisterDefaultImpl()
> results in a GLib based event loop.
> 
> They should continue to use the libvirt-glib API
> gvir_event_register() if they explicitly want to guarantee
> a GLib event loop.
> 
> This follows the general principal that the libvirt public
> API should not expose the fact that GLib is being used
> internally.
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  src/util/virevent.c | 21 +++------------------
>  1 file changed, 3 insertions(+), 18 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/20200131/34faab7f/attachment-0001.sig>


More information about the libvir-list mailing list