1. 10 4月, 2019 1 次提交
  2. 14 2月, 2019 1 次提交
  3. 04 2月, 2019 2 次提交
  4. 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
  5. 05 12月, 2018 1 次提交
  6. 24 9月, 2018 2 次提交
  7. 20 9月, 2018 1 次提交
  8. 17 9月, 2018 1 次提交
  9. 21 7月, 2018 1 次提交
  10. 12 1月, 2018 3 次提交
  11. 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
  12. 16 10月, 2017 1 次提交
  13. 13 6月, 2017 1 次提交
  14. 15 12月, 2016 1 次提交
  15. 14 11月, 2016 1 次提交
  16. 26 9月, 2016 1 次提交
  17. 20 9月, 2016 1 次提交
  18. 14 9月, 2016 1 次提交
  19. 07 9月, 2016 1 次提交
  20. 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
  21. 28 7月, 2016 1 次提交
  22. 19 7月, 2016 1 次提交
  23. 29 6月, 2016 1 次提交
  24. 19 5月, 2016 1 次提交
  25. 10 5月, 2016 1 次提交
  26. 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
  27. 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
  28. 18 4月, 2016 1 次提交
  29. 15 4月, 2016 1 次提交
  30. 06 4月, 2016 1 次提交
  31. 11 3月, 2016 2 次提交
  32. 04 3月, 2016 1 次提交
  33. 17 2月, 2016 1 次提交
  34. 21 12月, 2015 1 次提交
    • E
      Revert "admin: Rename virAdmConnect to virAdmDaemon" · 3245e178
      Erik Skultety 提交于
      Commmit df8192aa introduced admin related rename and some minor
      (caused by automated approach, aka sed) and some more severe isues along with
      it. First reason to revert is the inconsistency with libvirt library.
      Although we deal with the daemon directly rather than with a specific
      hypervisor, we still do have a connection. That being said, contributors might
      get under the impression that AdmDaemonNew would spawn/start a new daemon
      (since it's admin API, why not...), or AdmDaemonClose would do the exact
      opposite or they might expect DaemonIsAlive report overall status of the daemon
      which definitely isn't the case.
      The second reason to revert this patch is renaming virt-admin client. The
      client tool does not necessarily have to reflect the names of the API's it's
      using in his internals. An example would be 's/vshAdmConnect/vshAdmDaemon'
      where noone can be certain of what the latter function really does. The former
      is quite expressive about some connection magic it performs, but the latter does
      not say anything, especially when vshAdmReconnect and vshAdmDisconnect were
      left untouched.
      3245e178