1. 03 7月, 2018 1 次提交
  2. 14 5月, 2018 2 次提交
  3. 04 5月, 2018 1 次提交
  4. 12 4月, 2018 3 次提交
  5. 20 3月, 2018 6 次提交
  6. 19 3月, 2018 1 次提交
  7. 16 3月, 2018 4 次提交
  8. 23 2月, 2018 1 次提交
  9. 22 2月, 2018 1 次提交
  10. 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
  11. 19 9月, 2017 1 次提交
    • A
      python: Don't hardcode interpreter path · f34fdd5a
      Andrea Bolognani 提交于
      This is particularly useful on operating systems that don't ship
      Python as part of the base system (eg. FreeBSD) while still working
      just as well as it did before on Linux.
      
      While at it, make it explicit that our scripts are only going to
      work with Python 2, and remove the usage of unbuffered I/O, which
      as far as I can tell has no effect on the output files.
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      f34fdd5a
  12. 04 9月, 2017 1 次提交
  13. 14 8月, 2017 1 次提交
  14. 07 6月, 2017 1 次提交
  15. 18 5月, 2017 1 次提交
  16. 13 4月, 2017 2 次提交
  17. 03 4月, 2017 1 次提交
    • M
      virGetDomain: Set domain ID too · 5683b213
      Michal Privoznik 提交于
      So far our code is full of the following pattern:
      
        dom = virGetDomain(conn, name, uuid)
        if (dom)
            dom->id = 42;
      
      There is no reasong why it couldn't be just:
      
        dom = virGetDomain(conn, name, uuid, id);
      
      After all, client domain representation consists of tuple (name,
      uuid, id).
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      5683b213
  18. 22 11月, 2016 1 次提交
  19. 26 9月, 2016 2 次提交
  20. 23 9月, 2016 1 次提交
  21. 13 7月, 2016 1 次提交
    • T
      esx: Fetch snapshot info directly for filtering · 8ddc56e7
      Tomáš Golembiovský 提交于
      When fetching domains with virConnectListAllDomains() and when filtering
      by snapshot existence is requested the ESX driver first lists all the
      domains and then check one-by-one for snapshot existence. This process
      takes unnecessarily long time.
      
      To significantly improve the time necessary to finish the query we can
      request the snapshot related info directly when querying the list of
      domains from VMware.
      Signed-off-by: NTomáš Golembiovský <tgolembi@redhat.com>
      8ddc56e7
  22. 27 6月, 2016 1 次提交
    • L
      global: consistently use IP rather than Ip in identifiers · 22a6873a
      Laine Stump 提交于
      I'm tired of mistyping this all the time, so let's do it the same all
      the time (similar to how we changed all "Pci" to "PCI" awhile back).
      
      (NB: I've left alone some things in the esx and vbox drivers because
      I'm unable to compile them and they weren't obviously *not* a part of
      some API. I also didn't change a couple of variables named,
      e.g. "somethingIptables", because they were derived from the name of
      the "iptables" command)
      22a6873a
  23. 08 6月, 2016 1 次提交
  24. 07 6月, 2016 1 次提交
  25. 31 5月, 2016 1 次提交
    • M
      esxStorageVolGetXMLDesc: Lookup SCSI lun properly · 99809fd4
      Michal Privoznik 提交于
      So the idea is as follows: firstly we obtain a list of all the
      luns, then iterate over it trying to find the one we want to work
      with and after all the iterations we detect whether we have found
      something. Now, the last check is broken, because it compares a
      value form previous iteration, not the one we've just been
      through.
      
      Then, when computing md5 sum of lun's UUID, we use wrong variable
      again. Well, @hostScsiDisk which is type of esxVI_HostScsiDisk
      extends esxVI_ScsiLun type so they both have the uuid member, but
      it just doesn't feel right to access the data via two different
      variables in one function call.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      99809fd4
  26. 27 5月, 2016 1 次提交
    • D
      esx: do not store escaped password in esxVI_Context. · 3ef5e218
      Dawid Zamirski 提交于
      This patch fixes an issue where screenshot API call was failing when
      the esx/vcenter password contains special characters such as
      apostrophee. The reason for failures was that passwords were escaped
      for XML and stored in esxVI_Context which was then passed to raw CURL
      API calls where the password must be passed in original form to
      authenticate successfully. So this patch addresses this by storing
      original passwords in the esxVI_Context struct and escape only for
      esxVI_Login call.
      3ef5e218
  27. 26 5月, 2016 1 次提交