1. 07 1月, 2020 37 次提交
  2. 06 1月, 2020 3 次提交
    • A
      ci: Fetch list of available container images dynamically · 3e3cad52
      Andrea Bolognani 提交于
      Any static list of images is destined to become outdated eventually,
      so let's start generating it dynamically instead.
      
      Unfortunately there doesn't seem to be a straightforward way to get
      Podman/Docker to list all repositories under quay.io/libvirt, so we
      have to resort to searching and filtering manually; and since the
      two tools behave slightly differently in that regard, it's more
      sane to have the logic in a separate shell script than it would be
      to keep it inline in the Makefile with all the annoying escaping
      doing so would entail.
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      Reviewed-by: NCole Robinson <crobinso@redhat.com>
      3e3cad52
    • W
      Introduce command 'virsh domstats --memory' for reporting memory BW · 65a63d88
      Wang Huaqiang 提交于
      Introduce an option '--memory' for showing memory related
      information. The memory bandwidth infomatio is listed as:
      
      Domain: 'libvirt-vm'
       memory.bandwidth.monitor.count=4
       memory.bandwidth.monitor.0.name=vcpus_0-4
       memory.bandwidth.monitor.0.vcpus=0-4
       memory.bandwidth.monitor.0.node.count=2
       memory.bandwidth.monitor.0.node.0.id=0
       memory.bandwidth.monitor.0.node.0.bytes.total=10208067584
       memory.bandwidth.monitor.0.node.0.bytes.local=4807114752
       memory.bandwidth.monitor.0.node.1.id=1
       memory.bandwidth.monitor.0.node.1.bytes.total=8693735424
       memory.bandwidth.monitor.0.node.1.bytes.local=5850161152
       memory.bandwidth.monitor.1.name=vcpus_7
       memory.bandwidth.monitor.1.vcpus=7
       memory.bandwidth.monitor.1.node.count=2
       memory.bandwidth.monitor.1.node.0.id=0
       memory.bandwidth.monitor.1.node.0.bytes.total=853811200
       memory.bandwidth.monitor.1.node.0.bytes.local=290701312
       memory.bandwidth.monitor.1.node.1.id=1
       memory.bandwidth.monitor.1.node.1.bytes.total=406044672
       memory.bandwidth.monitor.1.node.1.bytes.local=229425152
      Signed-off-by: NWang Huaqiang <huaqiang.wang@intel.com>
      65a63d88
    • W
      util, resctrl: using 64bit interface instead of 32bit for counters · 5d876f25
      Wang Huaqiang 提交于
      The underlying resctrl monitoring is actually using 64 bit counters,
      not the 32bit one. Correct this by using 64bit data type for reading
      hardware value.
      
      To keep the interface consistent, the result of CPU last level cache
      that occupied by vcpu processors of specific restrl monitor group is
      still reported with a truncated 32bit data type. because, in silicon
      world, CPU cache size will never exceed 4GB.
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      Signed-off-by: NWang Huaqiang <huaqiang.wang@intel.com>
      5d876f25