Commit 8e60f299 authored by Antoine Millet's avatar Antoine Millet

Workaround a libvirt bug in EventLoop interface

Libvirt doesn't like null handler id or timer id. Start the count to 1.
parent 2796f3e3
......@@ -195,8 +195,8 @@ class EventLoop(object):
"""
self.loop = loop
self.handle_id = count()
self.timer_id = count()
self.handle_id = count(1)
self.timer_id = count(1)
self.handles = dict()
self.timers = dict()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment