Univention Bugzilla – Bug 31371
UVMM event loop resync/replacement
Last modified: 2023-03-25 06:55:44 CET
Created attachment 5228 [details] Event loop resync UVMM copied the Python event loop implementation from libvirt/examples/domain-events/events-python/event-test.py. That implementation was updated to handle some more error cases. UVMM should update its own copy of that and/or switch to the default event loop implementation now provided by the libvirt-C-library itself. The attached patch does a resync and removes several trailing ';'s in Python code. The change to opaque needs more investigation.
(In reply to Philipp Hahn from comment #0) > UVMM should update its own copy of that and/or switch to the default event > loop > implementation now provided by the libvirt-C-library itself. Bug #33845 and #34020 fixed uvmmd (UCS 3.2 and 3.1 respectively) to use the default event loop from the libvirt c lib. Nothing to do here.
OK: src/univention/uvmm/eventloop.py is gone and replaced by libvirt.virEventRegisterDefaultImpl() and libvirt.virEventRunDefaultImpl().