1. 20 5月, 2019 1 次提交
    • H
      qemu: Add entry for balloon stats stat-htlb-pgalloc and stat-htlb-pgfail · a699b19f
      Han Han 提交于
      Qemu added reporting of virtio balloon new statistics stat-htlb-pgalloc and
      stat-htlb-pgfail since qemu-3.0 commit b7b12644297. The value of
      stat-htlb-pgalloc represents the number of successful hugetlb page allocations
      while stat-htlb-pgfail represents the number of failed ones. Add this
      statistics reporting to libvirt.
      
      To enable this feature for vm, guest kenel >= 4.17 is required because
      the exporting hugetlb page allocation for virtio balloon is introduced
      since 6c64fe7f.
      Signed-off-by: NHan Han <hhan@redhat.com>
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      a699b19f
  2. 13 5月, 2019 1 次提交
    • M
      virsh: Don't leak disk targets in cmdDomBlkError · d55be922
      Michal Privoznik 提交于
      The virDomainGetDiskErrors() API copies disk targets into @disks
      array that we allocate. But we forgot to free it:
      
      ==140828== 16 bytes in 4 blocks are definitely lost in loss record 41 of 242
      ==140828==    at 0x4C2F08F: malloc (vg_replace_malloc.c:299)
      ==140828==    by 0x8C406D9: strdup (in /lib64/libc-2.28.so)
      ==140828==    by 0x5377DD3: virStrdup (virstring.c:966)
      ==140828==    by 0x54C112F: testDomainGetDiskErrors (test_driver.c:3068)
      ==140828==    by 0x55C863D: virDomainGetDiskErrors (libvirt-domain.c:10988)
      ==140828==    by 0x15D1FA: cmdDomBlkError (virsh-domain-monitor.c:1215)
      ==140828==    by 0x17F1A8: vshCommandRun (vsh.c:1335)
      ==140828==    by 0x13489E: main (virsh.c:920)
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      d55be922
  3. 10 4月, 2019 1 次提交
  4. 14 2月, 2019 2 次提交
  5. 04 2月, 2019 2 次提交
  6. 03 1月, 2019 1 次提交
  7. 19 11月, 2018 1 次提交
  8. 14 11月, 2018 1 次提交
  9. 24 9月, 2018 4 次提交
  10. 21 9月, 2018 1 次提交
  11. 19 9月, 2018 1 次提交
  12. 24 8月, 2018 1 次提交
  13. 17 7月, 2018 1 次提交
  14. 22 6月, 2018 2 次提交
  15. 19 6月, 2018 1 次提交
  16. 06 6月, 2018 1 次提交
  17. 17 5月, 2018 1 次提交
  18. 10 5月, 2018 2 次提交
  19. 30 3月, 2018 1 次提交
  20. 15 3月, 2018 1 次提交
  21. 12 1月, 2018 2 次提交
    • M
      virsh: Introduce virshDomainInterfaceCompleter · 7e7db4bf
      Michal Privoznik 提交于
      For given domain fetch list of defined interfaces. This can be
      used for commands like domif-getlink and others. If available,
      the interface name is returned (e.g. "vnet0", usually available
      only for running domains), if not the MAC address is returned.
      Moreover, the detach-interface command requires only MAC address
      and therefore we have new flag that forces the completer to
      return just the MAC address.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      7e7db4bf
    • M
      virsh: Introduce virshDomainNameCompleter · ec3403be
      Michal Privoznik 提交于
      Now that we have everything prepared let the fun begin. This
      completer is very simple and returns domain names. Moreover,
      depending on the command it can return just a subset of domains
      (e.g. only running/paused/transient/.. ones).
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      ec3403be
  22. 22 11月, 2017 1 次提交
  23. 04 11月, 2017 1 次提交
  24. 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
  25. 18 10月, 2017 1 次提交
  26. 14 10月, 2017 1 次提交
  27. 02 5月, 2017 1 次提交
  28. 12 4月, 2017 4 次提交
  29. 07 3月, 2017 1 次提交