1. 21 3月, 2018 1 次提交
  2. 25 9月, 2017 1 次提交
  3. 07 8月, 2017 1 次提交
    • D
      Remove bogus warning about vir$OBJECTGetConnect functions · 10e277a4
      Daniel P. Berrange 提交于
      The API docs for the various vir$OBJECTGetConnect functions
      contain a warning
      
        WARNING: When writing libvirt bindings in other languages, do
        not use this function.  Instead, store the connection and
        the domain object together.
      
      There is no reason why language bindings should not use this
      method, and indeed the Perl, Python, and Go bindings all use
      these methods.
      
      This warning was originally added back in
      
        commit 3edb4bc9
        Author: Daniel Veillard <veillard@redhat.com>
        Date:   Tue Jul 24 15:32:55 2007 +0000
      
          * libvirt.spec.in NEWS docs/* po/*: preparing release 0.3.1
          * src/libvirt.c python/generator.py: some cleanup and warnings
            from Richard W.M. Jones
      
      IIUC, the rational was that these APIs do not need to be
      directly exposed to the non-C language, as the language
      can expose the same concept itself by storing the original
      virConnectPtr object alongside the virDomainPtr.  There's
      no reason to mandate such an approach though - it is valid
      for languages to expose this directly if that suits their
      needs better.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      10e277a4
  4. 09 1月, 2017 1 次提交
  5. 15 10月, 2015 1 次提交
  6. 29 5月, 2015 1 次提交
    • L
      debug: assure NULLSTR() around all %s args in debug at top of public APIs · e983e625
      Laine Stump 提交于
      There are also a couple that were very uninformatively just logging
      the value of the pointer rather than the string itself:
      
      * the "name" arg to virNodeDeviceLookupByName()
      * wwnn and wwpn args to virNodeDeviceLookupSCSIHostByWWN()
      
      All char*'s that make sense should now have their contents logged
      rather than the pointer, and all %s args should now be inside
      NULLSTR().
      e983e625
  7. 02 4月, 2015 1 次提交
  8. 24 10月, 2014 1 次提交