1. 15 Jan, 2019 1 commit
  2. 03 Dec, 2018 1 commit
  3. 26 Nov, 2018 1 commit
  4. 20 Nov, 2018 5 commits
  5. 04 Nov, 2018 1 commit
  6. 01 Nov, 2018 2 commits
    • Philipp Hahn's avatar
      event-test.py: Report ERROR events · 9af6f1a5
      Philipp Hahn authored
      VIR_DOMAIN_EVENT_ID_IO_ERROR and VIR_DOMAIN_EVENT_ID_IO_ERROR_REASON
      callbacks receive the same 'action' parameter, so also translate that
      numeric action to a descriptive text for the first callback.
      Signed-off-by: Philipp Hahn's avatarPhilipp Hahn <hahn@univention.de>
      9af6f1a5
    • Philipp Hahn's avatar
      event-test.py: Fix ERROR event · c8b6e5fc
      Philipp Hahn authored
      ERROR_EVENTS translates the numeric 'action' argument to a description,
      not the 'reason' argument which already contains a descriptive string
      like 'enospc'.
      
      > Traceback (most recent call last):
      >   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 4661, in _dispatchDomainEventIOErrorReasonCallback
      >     reason, opaque)
      >   File "libvirt-python/examples/event-test.py", line 536, in myDomainEventIOErrorReasonCallback
      >     dom.name(), dom.ID(), srcpath, devalias, action, ERROR_EVENTS[reason]))
      >   File "libvirt-python/examples/event-test.py", line 474, in __getitem__
      >     data = self.args[item]
      > TypeError: tuple indices must be integers, not str
      
      Fixes: f5928c67Signed-off-by: Philipp Hahn's avatarPhilipp Hahn <hahn@univention.de>
      c8b6e5fc
  7. 01 Oct, 2018 1 commit
  8. 24 Sep, 2018 23 commits
  9. 03 Sep, 2018 1 commit
  10. 06 Aug, 2018 1 commit
  11. 23 Jul, 2018 3 commits