1. 20 6月, 2019 1 次提交
  2. 19 6月, 2019 1 次提交
  3. 17 6月, 2019 1 次提交
  4. 10 6月, 2019 1 次提交
  5. 06 6月, 2019 3 次提交
  6. 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
  7. 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
  8. 30 4月, 2019 1 次提交
  9. 26 4月, 2019 1 次提交
  10. 16 4月, 2019 1 次提交
  11. 15 4月, 2019 2 次提交
  12. 12 4月, 2019 2 次提交
  13. 11 4月, 2019 1 次提交
  14. 10 4月, 2019 1 次提交
  15. 04 4月, 2019 6 次提交
  16. 03 4月, 2019 12 次提交
  17. 30 3月, 2019 1 次提交
  18. 29 3月, 2019 1 次提交
  19. 27 3月, 2019 1 次提交
  20. 25 3月, 2019 1 次提交
    • E
      virsh: Add 'echo --err' option · 2efb42e9
      Eric Blake 提交于
      Since test:///default resets state on every connection, writing a test
      that covers a sequence of commands must be done from a single
      session. But if the test wants to exercise particular failure modes as
      well as successes, it can be nice to leave witnesses in the stderr
      stream immediately before and after the spot where the expected error
      should be, to ensure the rest of the script is not causing errors.
      
      Do this by adding an --err option.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Acked-by: NMichal Privoznik <mprivozn@redhat.com>
      2efb42e9