1. 15 10月, 2019 1 次提交
  2. 10 9月, 2019 1 次提交
    • D
      util: activate directory override when used from library · b1b878c5
      Daniel P. Berrangé 提交于
      The Perl bindings for libvirt use the test driver for unit tests. This
      tries to load the cpu_map/index.xml file, and when run from an
      uninstalled build will fail.
      
      The problem is that virFileActivateDirOverride is called by our various
      binaries like libvirtd, virsh, but is not called when a 3rd party app
      uses libvirt.so
      
      To deal with this we allow the LIBVIRT_DIR_OVERRIDE=1 env variable to be
      set and make virInitialize look for this. The 'run' script will set it,
      so now build using this script to run against an uninstalled tree we
      will correctly resolve files to the source tree.
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      b1b878c5
  3. 10 4月, 2019 1 次提交
  4. 14 2月, 2019 1 次提交
  5. 04 2月, 2019 2 次提交
  6. 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
  7. 05 12月, 2018 1 次提交
  8. 24 9月, 2018 2 次提交
  9. 20 9月, 2018 1 次提交
  10. 17 9月, 2018 1 次提交
  11. 21 7月, 2018 1 次提交
  12. 12 1月, 2018 3 次提交
  13. 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
  14. 16 10月, 2017 1 次提交
  15. 13 6月, 2017 1 次提交
  16. 15 12月, 2016 1 次提交
  17. 14 11月, 2016 1 次提交
  18. 26 9月, 2016 1 次提交
  19. 20 9月, 2016 1 次提交
  20. 14 9月, 2016 1 次提交
  21. 07 9月, 2016 1 次提交
  22. 10 8月, 2016 1 次提交
    • E
      virt-admin: Fix the error when an invalid URI has been provided · 4914494e
      Erik Skultety 提交于
      After commit 9d479dd1 fiddled with the cmdConnect's output which used to be a
      bit more verbose prior to the mentioned commit, the program flow would result
      in a quite confusing error if an invalid URI has been provided:
      
          error: Failed to connect to the admin server
          Connected to the admin server
          error: <some error>
      
      The problem is that the commit mentioned above relied on the fact that
      connect routine always succeeds which is not true.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      4914494e
  23. 28 7月, 2016 1 次提交
  24. 19 7月, 2016 1 次提交
  25. 29 6月, 2016 1 次提交
  26. 19 5月, 2016 1 次提交
  27. 10 5月, 2016 1 次提交
  28. 03 5月, 2016 2 次提交
    • E
      virt-admin: Introduce command client-info · 9662315d
      Erik Skultety 提交于
      Wire-up the client identity getter into virt-admin tool. This patch adjusts
      man-page accordingly.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      9662315d
    • E
      virt-admin: Introduce srv-clients-list command · de770391
      Erik Skultety 提交于
      Wire-up the public client listing API. Along with this change, a private time
      simple conversion method to interpret client's timestamp obtained from server
      has been added as well. Format used to for time output is as follows:
      YYYY-mm-DD HH:MM:SS+ZZZZ.
      
      Although libvirt exposes methods time-related methods through virtime.h
      internally, it utilizes millisecond precision which we don't need in this case,
      especially when connection timestamps use precision to seconds only.
      This is just a convenience int to string conversion method.
      
      To reflect the new API, man page has been adjusted accordingly.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      de770391
  29. 02 5月, 2016 1 次提交
    • M
      tools: Fix connect command · 0c56d943
      Martin Kletzander 提交于
      The man page says: "(Re)-Connect to the hypervisor. When the shell is
      first started, this is automatically run with the URI parameter
      requested by the "-c" option on the command line."  However, if you run:
      
        virsh -c 'test://default' 'connect; uri'
      
      the output will not be 'test://default'.  That's because the 'connect'
      command does not care about any virsh-only related settings and if it is
      run without parameters, it connects with @uri == NULL.  Not only that
      doesn't comply to what the man page describes, but it also doesn't make
      sense.  It also means you aren't able to reconnect to whatever you are
      connected currently.
      
      So let's fix that in both virsh and virt-admin add a test case for it.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      0c56d943
  30. 18 4月, 2016 1 次提交
  31. 15 4月, 2016 1 次提交
  32. 06 4月, 2016 1 次提交
  33. 11 3月, 2016 2 次提交
  34. 04 3月, 2016 1 次提交