(self)
| 33 | self.daemon = True |
| 34 | |
| 35 | def run(self): |
| 36 | while True: |
| 37 | # if this method will fail it raises libvirtError |
| 38 | # we do not catch the exception here so it will show up |
| 39 | # in the logs. Not sure when this call will ever fail |
| 40 | libvirt.virEventRunDefaultImpl() |
| 41 | |
| 42 | |
| 43 | class wvmConnection(object): |