1. 04 2月, 2020 1 次提交
  2. 07 1月, 2020 1 次提交
  3. 13 11月, 2019 1 次提交
  4. 12 11月, 2019 2 次提交
  5. 07 11月, 2019 1 次提交
  6. 25 10月, 2019 1 次提交
  7. 21 10月, 2019 1 次提交
  8. 15 10月, 2019 4 次提交
  9. 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
  10. 08 11月, 2018 1 次提交
  11. 20 9月, 2018 2 次提交
  12. 30 7月, 2018 1 次提交
  13. 27 7月, 2018 1 次提交
  14. 03 7月, 2018 1 次提交
  15. 17 4月, 2018 1 次提交
  16. 03 4月, 2018 1 次提交
  17. 22 2月, 2018 1 次提交
  18. 03 1月, 2018 1 次提交
    • C
      lxc: set a hostname based on the container name · faec1958
      Cédric Bosdonnat 提交于
      Set a transient hostname on containers. The hostname is computed from
      the container name, only keeping the valid characters [a-zA-Z0-9-] in it.
      This filtering is based on RFC 1123 and allows a digit to start the
      hostname.
      faec1958
  19. 10 10月, 2017 3 次提交
  20. 25 9月, 2017 1 次提交
  21. 11 7月, 2017 3 次提交
  22. 26 5月, 2017 1 次提交
  23. 04 3月, 2017 1 次提交
  24. 03 3月, 2017 1 次提交
    • N
      Fix location of blkid.h in include header · 2d8fbeb8
      Nehal J Wani 提交于
      The build system for libvirt correctly detects the location of blkid
      using PKG_CONFIG_PATH environment variable. The file blkid.pc states
      that the include flags should be: 'Cflags: -I${includedir}/blkid' but
      libvirt searches for blkid.h inside ${includedir}/blkid/blkid, which is
      wrong. Until now, the compilation for libvirt succeeded because of pure
      luck, as it had -I/usr/include as a CFLAG. This issue was faced while
      compiling libvirt on Ubuntu 16.04.2 with bare minimum dev packages and a
      custom compiled blkid kept in a non-standard $prefix.
      Signed-off-by: NNehal J Wani <nehaljw.kkd1@gmail.com>
      2d8fbeb8
  25. 23 2月, 2017 1 次提交
    • D
      Add ATTRIBUTE_FALLTHROUGH for switch cases without break · 5d84f596
      Daniel P. Berrange 提交于
      In GCC 7 there is a new warning triggered when a switch
      case has a conditional statement (eg if ... else...) and
      some of the code paths fallthrough to the next switch
      statement. e.g.
      
      conf/domain_conf.c: In function 'virDomainChrEquals':
      conf/domain_conf.c:14926:12: error: this statement may fall through [-Werror=implicit-fallthrough=]
               if (src->targetTypeAttr != tgt->targetTypeAttr)
                  ^
      conf/domain_conf.c:14928:5: note: here
           case VIR_DOMAIN_CHR_DEVICE_TYPE_CONSOLE:
           ^~~~
      conf/domain_conf.c: In function 'virDomainChrDefFormat':
      conf/domain_conf.c:22143:12: error: this statement may fall through [-Werror=implicit-fallthrough=]
               if (def->targetTypeAttr) {
                  ^
      conf/domain_conf.c:22151:5: note: here
           default:
           ^~~~~~~
      
      GCC introduced a __attribute__((fallthrough)) to let you
      indicate that this is intentionale behaviour rather than
      a bug.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      5d84f596
  26. 12 1月, 2017 2 次提交
  27. 15 12月, 2016 1 次提交
  28. 25 11月, 2016 1 次提交
    • M
      virstring: Unify string list function names · c2a5a4e7
      Michal Privoznik 提交于
      We have couple of functions that operate over NULL terminated
      lits of strings. However, our naming sucks:
      
      virStringJoin
      virStringFreeList
      virStringFreeListCount
      virStringArrayHasString
      virStringGetFirstWithPrefix
      
      We can do better:
      
      virStringListJoin
      virStringListFree
      virStringListFreeCount
      virStringListHasString
      virStringListGetFirstWithPrefix
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      c2a5a4e7
  29. 16 8月, 2016 2 次提交