1. 20 6月, 2019 2 次提交
  2. 12 6月, 2019 4 次提交
  3. 21 5月, 2019 3 次提交
  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. 25 4月, 2019 1 次提交
  6. 16 4月, 2019 1 次提交
  7. 13 4月, 2019 3 次提交
  8. 12 4月, 2019 1 次提交
  9. 10 4月, 2019 1 次提交
  10. 03 4月, 2019 2 次提交
  11. 26 3月, 2019 2 次提交
  12. 15 3月, 2019 1 次提交
  13. 07 3月, 2019 1 次提交
    • V
      qemu: Fix query-cpus-fast target architecture detection · 696239ba
      Viktor Mihajlovski 提交于
      Since qemu 2.13 reports the target architecture in a property called
      'target' additionally to the property 'arch', that has been used in
      qemu 2.12 in the response data of 'query-cpus-fast'.
      Libvirts monitor code prefers the 'target' property over 'arch'.
      
      At least for s390(x), target is reported as 's390x' while arch is 's390'.
      In a later step a comparison is performed against 's390' which fails for
      qemu 2.13 and later.
      
      In consequence the architecture specific data for s390 won't be extracted
      from the returned data, leading to incorrect values being reported by
      virsh domstats --vcpu.
      
      Changing to check explicitly for 's390' and 's390x'.
      Signed-off-by: NViktor Mihajlovski <mihajlov@linux.ibm.com>
      Reviewed-by: NBjoern Walk <bwalk@linux.ibm.com>
      Reviewed-by: NBoris Fiuczynski <fiuczy@linux.ibm.com>
      696239ba
  14. 14 2月, 2019 1 次提交
  15. 04 2月, 2019 2 次提交
  16. 09 1月, 2019 1 次提交
    • Y
      qemu: Process RDMA GID state change event · ed357cef
      Yuval Shaia 提交于
      This event is emitted on the monitor when a GID table in pvrdma device
      is modified and the change needs to be propagate to the backend RDMA
      device's GID table.
      
      The control over the RDMA device's GID table is done by updating the
      device's Ethernet function addresses.
      Usually the first GID entry is determine by the MAC address, the second
      by the first IPv6 address and the third by the IPv4 address. Other
      entries can be added by adding more IP addresses. The opposite is the
      same, i.e. whenever an address is removed, the corresponding GID entry
      is removed.
      
      The process is done by the network and RDMA stacks. Whenever an address
      is added the ib_core driver is notified and calls the device driver's
      add_gid function which in turn update the device.
      
      To support this in pvrdma device we need to hook into the create_bind
      and destroy_bind HW commands triggered by pvrdma driver in guest.
      Whenever a changed is made to the pvrdma device's GID table a special
      QMP messages is sent to be processed by libvirt to update the address of
      the backend Ethernet device.
      Signed-off-by: NYuval Shaia <yuval.shaia@oracle.com>
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      ed357cef
  17. 17 12月, 2018 1 次提交
  18. 14 12月, 2018 1 次提交
    • D
      Remove all Author(s): lines from source file headers · 60046283
      Daniel P. Berrangé 提交于
      In many files there are header comments that contain an Author:
      statement, supposedly reflecting who originally wrote the code.
      In a large collaborative project like libvirt, any non-trivial
      file will have been modified by a large number of different
      contributors. IOW, the Author: comments are quickly out of date,
      omitting people who have made significant contribitions.
      
      In some places Author: lines have been added despite the person
      merely being responsible for creating the file by moving existing
      code out of another file. IOW, the Author: lines give an incorrect
      record of authorship.
      
      With this all in mind, the comments are useless as a means to identify
      who to talk to about code in a particular file. Contributors will always
      be better off using 'git log' and 'git blame' if they need to  find the
      author of a particular bit of code.
      
      This commit thus deletes all Author: comments from the source and adds
      a rule to prevent them reappearing.
      
      The Copyright headers are similarly misleading and inaccurate, however,
      we cannot delete these as they have legal meaning, despite being largely
      inaccurate. In addition only the copyright holder is permitted to change
      their respective copyright statement.
      Reviewed-by: NErik Skultety <eskultet@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      60046283
  19. 05 12月, 2018 1 次提交
  20. 19 11月, 2018 2 次提交
    • J
      qemu: Add monitor functions to set IOThread params · 3083bf18
      John Ferlan 提交于
      Add functions to set the IOThreadInfo param data for the live guest.
      Modify the _qemuMonitorIOThreadInfo to have a flag to indicate when
      a value was set so that we don't set a value unless it was desired
      to be set.
      
      Based on code originally posted by Pavel Hrdina <phrdina@redhat.com>,
      but extracted into a separate patch. Note that qapi expects to receive
      integer parameters rather than unsigned long long or unsigned int's.
      QEMU does save the value in larger signed 64 bit values eventually.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      ACKed-by: NMichal Privoznik <mprivozn@redhat.com>
      3083bf18
    • J
      qemu: Check for and return IOThread polling values if available · d1c1f2c2
      John Ferlan 提交于
      If there are IOThread polling values in the query-iothreads return
      buffer, then fill them in and set a bool indicating their presence.
      This will allow for displaying in a domain stats output eventually.
      
      Note that the QEMU values are managed a bit differently (as int's
      stored in int64_t's) than we will manage them (as unsigned long and
      int values). This is intentional to allow for value validation
      checking when it comes time to provide the values to QEMU.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      ACKed-by: NMichal Privoznik <mprivozn@redhat.com>
      d1c1f2c2
  21. 20 9月, 2018 1 次提交
  22. 17 9月, 2018 1 次提交
  23. 24 8月, 2018 6 次提交