1. 30 9月, 2019 1 次提交
  2. 27 9月, 2019 1 次提交
    • M
      qemu_monitor: s/size_t/ULL/ in qemuMonitorSave{Virtual,Physical}Memory · 9a293d33
      Michal Privoznik 提交于
      As it turns out, on my 32bit ARM machine size_t is not the same
      size as ULL. However, @length argument for both functions is type
      of size_t but it's treated as ULL - for instance when passed to
      qemuMonitorJSONMakeCommand(). The problem is that because of
      "U:size" the virJSONValueObjectAddVArgs() expects an ULL argument
      but on the stack there are size_t and char * arguments (which
      coincidentally add up to size of ULL). So the created command has
      only two arguments "val" and incorrect "size" and no "path" which
      is required.
      
      I've tried to find other occurrences of this pattern but at the
      rest of places where size_t is used it tracks size of an array so
      that's safe.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      ACKed-by: NPeter Krempa <pkrempa@redhat.com>
      9a293d33
  3. 25 9月, 2019 4 次提交
  4. 20 9月, 2019 4 次提交
  5. 04 9月, 2019 1 次提交
  6. 29 8月, 2019 1 次提交
  7. 23 7月, 2019 1 次提交
  8. 18 7月, 2019 9 次提交
  9. 20 6月, 2019 5 次提交
  10. 12 6月, 2019 4 次提交
  11. 21 5月, 2019 3 次提交
  12. 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
  13. 25 4月, 2019 1 次提交
  14. 16 4月, 2019 1 次提交
  15. 13 4月, 2019 3 次提交