[libvirt PATCH 2/2] util: avoid glib event loop workaround where possible