Add engine relaying libvirt events #46461
What does this PR do?
Libvirt API offers clients to register callbacks for various events.
What issues does this PR fix or reference?
Nothing that is in the issue tracker to my knowledge
Commits signed with GPG?
The text was updated successfully, but these errors were encountered:
I can't change the callback signature: codeclimate would need to be silenced for those functions that have more than 4 arguments.
I don't really know what to do with the docstrings of the callbacks: either pylint is complaining not having them or code climate complains because their are too similar. Honestly, considering how useless those would be, I'ld just let pylint complain.
Codeclimate complains that the file is too long... but is it possible at all to have the code of an engine split into several files? Ideally I would separate the callbacks from the rest of the engine, not sure if that is possible / wanted.