1. 12 Mar, 2019 1 commit
    • Nir Soffer's avatar
      Fix handling of optional params in blockCopy() · 5d6228d4
      Nir Soffer authored
      Commit 2b4bd07e (Add check for params, nparams being a dictionary)
      changed the way the optional params argument is treated. If
      libvirt.virDomain.blockCopy() is called without specifying params,
      params is None, and the call will fail with:
      
          TypeError: block params must be a dictionary
      
      This is wrong as params is defined as kwarg, breaking existing libvirt
      users like oVirt. Add a check for Py_None, so we accept either a dict or
      None and fail with TypeError with anything else.
      
      Resolves: https://bugzilla.redhat.com/1687114Signed-off-by: 's avatarNir Soffer <nsoffer@redhat.com>
      5d6228d4
  2. 25 Feb, 2019 1 commit
  3. 20 Nov, 2018 5 commits
  4. 28 Jun, 2018 1 commit
  5. 14 Jun, 2018 2 commits
  6. 12 Jun, 2018 2 commits
  7. 01 Jun, 2018 1 commit
  8. 19 Apr, 2018 1 commit
    • Daniel P. Berrangé's avatar
      Fix build with older libvirt versions · c99ed228
      Daniel P. Berrangé authored
      The libvirt python module is supposed to build with historical versions
      of the API back to 0.9.1, which means all constants / methods must be
      wrapped in conditionals. This was accidentally forgotten in:
      
        commit 314b2346
        Author: Edgar Kaziakhmedov <edgar.kaziakhmedov@virtuozzo.com>
        Date:   Wed Feb 7 17:49:30 2018 +0300
      
          Set hints for virPyDictToTypedParams
      
          Predefine hints for all parameters possible to avoid wrong type
          convert.
      
      This broke the build against any libvirt < 2.0.0
      Reviewed-by: 's avatarJán Tomko <jtomko@redhat.com>
      Signed-off-by: 's avatarDaniel P. Berrangé <berrange@redhat.com>
      c99ed228
  9. 19 Feb, 2018 5 commits
  10. 11 Dec, 2017 1 commit
  11. 29 Sep, 2017 1 commit
    • Nir Soffer's avatar
      Unify whitespace around *_ALLOW_THREADS macros · 9a93051c
      Nir Soffer authored
      Most of the code treats libvirt API calls as separate block, keeping one
      blank line before the LIBVIRT_BEGIN_ALLOW_THREAD, and one blank line
      after LIBVIRT_END_ALLOW_THREADS. Unify the whitespace so all calls
      wrapped with these macros are treated as a separate block.
      9a93051c
  12. 27 Sep, 2017 1 commit
  13. 26 Sep, 2017 1 commit
  14. 06 Sep, 2017 2 commits
  15. 26 Aug, 2017 1 commit
  16. 02 Aug, 2017 1 commit
  17. 23 May, 2017 2 commits
  18. 04 Apr, 2017 1 commit
  19. 29 Mar, 2017 1 commit
  20. 18 Jan, 2017 1 commit
  21. 09 Jan, 2017 2 commits
  22. 21 Dec, 2016 1 commit
  23. 11 Nov, 2016 1 commit
  24. 24 Aug, 2016 1 commit
  25. 17 Aug, 2016 1 commit
  26. 02 Aug, 2016 1 commit
  27. 23 Jul, 2016 1 commit