1. 15 10月, 2019 1 次提交
  2. 07 10月, 2019 1 次提交
  3. 27 7月, 2019 1 次提交
    • E
      backup: Implement virsh support for checkpoints · 689beaa4
      Eric Blake 提交于
      Introduce a bunch of new virsh commands for managing checkpoints in
      isolation. More commands are needed for performing incremental
      backups, but these commands were easy to implement by modeling heavily
      after virsh-snapshot.c. There is no need for checkpoint-revert or
      checkpoint-current since those snapshot APIs have no checkpoint
      counterpart.  Similarly, it is not necessary to change which
      checkpoint is current when redefining from XML, since until we
      integrate checkpoints with snapshots, there is only a linear chain
      (and you can deduce the current checkpoint by instead using
      'checkpoint-list --leaves').  Other aspects of checkpoint-list are
      also a bit simpler than the snapshot counterpart, in part because we
      don't have to cater to back-compat to older API.
      
      Upcoming patches will test these interfaces once the test driver
      supports checkpoints.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      689beaa4
  4. 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
  5. 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
  6. 10 4月, 2019 1 次提交
  7. 14 2月, 2019 2 次提交
  8. 04 2月, 2019 2 次提交
  9. 03 1月, 2019 1 次提交
  10. 19 11月, 2018 1 次提交
  11. 14 11月, 2018 1 次提交
  12. 24 9月, 2018 4 次提交
  13. 21 9月, 2018 1 次提交
  14. 19 9月, 2018 1 次提交
  15. 24 8月, 2018 1 次提交
  16. 17 7月, 2018 1 次提交
  17. 22 6月, 2018 2 次提交
  18. 19 6月, 2018 1 次提交
  19. 06 6月, 2018 1 次提交
  20. 17 5月, 2018 1 次提交
  21. 10 5月, 2018 2 次提交
  22. 30 3月, 2018 1 次提交
  23. 15 3月, 2018 1 次提交
  24. 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
  25. 22 11月, 2017 1 次提交
  26. 04 11月, 2017 1 次提交
  27. 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
  28. 18 10月, 2017 1 次提交
  29. 14 10月, 2017 1 次提交
  30. 02 5月, 2017 1 次提交
  31. 12 4月, 2017 2 次提交