1. 04 5月, 2018 2 次提交
  2. 23 4月, 2018 2 次提交
  3. 18 4月, 2018 1 次提交
    • M
      virobject: Introduce VIR_CLASS_NEW() macro · 10f94828
      Michal Privoznik 提交于
      So far we are repeating the following lines over and over:
      
        if (!(virSomeObjectClass = virClassNew(virClassForObject(),
                                   "virSomeObject",
                                   sizeof(virSomeObject),
                                   virSomeObjectDispose)))
            return -1;
      
      While this works, it is impossible to do some checking. Firstly,
      the class name (the 2nd argument) doesn't match the name in the
      code in all cases (the 3rd argument). Secondly, the current style
      is needlessly verbose. This commit turns example into following:
      
        if (!(VIR_CLASS_NEW(virSomeObject,
                            virClassForObject)))
            return -1;
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      10f94828
  4. 17 4月, 2018 1 次提交
  5. 12 4月, 2018 6 次提交
  6. 11 4月, 2018 2 次提交
  7. 10 4月, 2018 1 次提交
  8. 07 4月, 2018 1 次提交
  9. 03 4月, 2018 1 次提交
  10. 02 4月, 2018 1 次提交
  11. 23 3月, 2018 1 次提交
  12. 16 3月, 2018 1 次提交
  13. 06 3月, 2018 1 次提交
  14. 26 2月, 2018 1 次提交
  15. 23 2月, 2018 3 次提交
  16. 22 2月, 2018 1 次提交
  17. 09 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. 25 11月, 2017 1 次提交
  20. 09 11月, 2017 1 次提交
  21. 03 11月, 2017 1 次提交
    • A
      Remove backslash alignment attempts · 3e7db8d3
      Andrea Bolognani 提交于
      Right-aligning backslashes when defining macros or using complex
      commands in Makefiles looks cute, but as soon as any changes is
      required to the code you end up with either distractingly broken
      alignment or unnecessarily big diffs where most of the changes
      are just pushing all backslashes a few characters to one side.
      
      Generated using
      
        $ git grep -El '[[:blank:]][[:blank:]]\\$' | \
          grep -E '*\.([chx]|am|mk)$$' | \
          while read f; do \
            sed -Ei 's/[[:blank:]]*[[:blank:]]\\$/ \\/g' "$f"; \
          done
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      3e7db8d3
  22. 19 10月, 2017 2 次提交
  23. 14 10月, 2017 3 次提交
  24. 10 10月, 2017 3 次提交
  25. 05 10月, 2017 1 次提交