1. 24 6月, 2020 2 次提交
  2. 25 2月, 2020 1 次提交
  3. 04 2月, 2020 1 次提交
  4. 12 11月, 2019 1 次提交
  5. 21 10月, 2019 1 次提交
  6. 15 10月, 2019 2 次提交
  7. 19 9月, 2019 1 次提交
  8. 27 8月, 2019 1 次提交
  9. 07 8月, 2019 1 次提交
  10. 15 7月, 2019 1 次提交
  11. 12 4月, 2019 1 次提交
  12. 10 4月, 2019 3 次提交
  13. 04 2月, 2019 1 次提交
  14. 14 12月, 2018 1 次提交
    • D
      Remove all Author(s): lines from source file headers · 60046283
      Daniel P. Berrangé 提交于
      In many files there are header comments that contain an Author:
      statement, supposedly reflecting who originally wrote the code.
      In a large collaborative project like libvirt, any non-trivial
      file will have been modified by a large number of different
      contributors. IOW, the Author: comments are quickly out of date,
      omitting people who have made significant contribitions.
      
      In some places Author: lines have been added despite the person
      merely being responsible for creating the file by moving existing
      code out of another file. IOW, the Author: lines give an incorrect
      record of authorship.
      
      With this all in mind, the comments are useless as a means to identify
      who to talk to about code in a particular file. Contributors will always
      be better off using 'git log' and 'git blame' if they need to  find the
      author of a particular bit of code.
      
      This commit thus deletes all Author: comments from the source and adds
      a rule to prevent them reappearing.
      
      The Copyright headers are similarly misleading and inaccurate, however,
      we cannot delete these as they have legal meaning, despite being largely
      inaccurate. In addition only the copyright holder is permitted to change
      their respective copyright statement.
      Reviewed-by: NErik Skultety <eskultet@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      60046283
  15. 20 9月, 2018 2 次提交
  16. 13 6月, 2017 1 次提交
  17. 06 12月, 2016 1 次提交
    • M
      util: Introduce virFileRewriteStr · b9b664c5
      Michal Privoznik 提交于
      There are couple of places where we have a string and want to
      save it to a file. Atomically. In all those places we use
      virFileRewrite() but also implement the very same callback which
      takes the string and write it into temp file. This makes no
      sense. Unify the callbacks and move them to one place.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      b9b664c5
  18. 15 4月, 2016 1 次提交
  19. 19 3月, 2016 1 次提交
  20. 09 2月, 2016 2 次提交
  21. 20 1月, 2016 7 次提交
  22. 04 12月, 2014 2 次提交
  23. 03 12月, 2014 2 次提交
    • P
      leaseshelper: Refactor control flow · ca6dbdd0
      Peter Krempa 提交于
      Untangle a few conditions into a case statement and improve reporting of
      invaid commands.
      ca6dbdd0
    • N
      leaseshelper: improvements to support all events · 0f87054b
      Nehal J Wani 提交于
      This patch enables the helper program to detect event(s) triggered when
      there is a change in lease length or expiry and client-id. This
      transfers complete control of leases database to libvirt and obsoletes
      use of the lease database file (<network-name>.leases). That file will
      not be created, read, or written.  This is achieved by adding the option
      --leasefile-ro to dnsmasq and passing a custom env var to leaseshelper,
      which helps us map events related to leases with their corresponding
      network bridges, no matter what the event be.
      
      Also, this requires the addition of a new non-lease entry in our custom
      lease database: "server-duid". It is required to identify a DHCPv6
      server.
      
      Now that dnsmasq doesn't maintain its own leases database, it relies on
      our helper program to tell it about previous leases and server duid.
      Thus, this patch makes our leases program honor an extra action: "init",
      in which it sends the known info in a particular format to dnsmasq
      by printing it to stdout.
      
      The drawback of this change is that upgrade to this new approach does
      not transfer the existing leases for the network if the leaseshelper
      wasn't already used.
      0f87054b
  24. 11 9月, 2014 1 次提交
    • J
      network: Resolve Coverity FORWARD_NULL · d3f0708e
      John Ferlan 提交于
      If the VIR_STRDUP(exptime,...) fails, then we will jump to cleanup,
      no need to check if exptime is set which causes Coverity to issue
      a complaint in the virStrToLong_ll call because there wasn't a check
      for a NULL value while there was one for the reference right after
      the VIR_STRDUP().
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      d3f0708e
  25. 24 7月, 2014 1 次提交
  26. 17 6月, 2014 1 次提交
    • P
      net: leaseshelper: Refactor copying of old entries to avoid double free · 0657ed2a
      Peter Krempa 提交于
      When copying entries from the old lease file into the new array the old
      code would copy the pointer of the json object into the second array
      without removing it from the first. Afterwards when both arrays were
      freed this might lead to a crash due to access of already freed memory.
      
      Refactor the code to use the new array item stealing helper added to the
      json code so that the entry resides just in one array.
      0657ed2a