[PULL 00/21] Statistics, preconfig and cleanup patches for 2022-06-16

Paolo Bonzini posted 21 patches 1 year, 11 months ago
Failed in applying to current master (apply log)
Makefile                  |  12 +-
accel/kvm/kvm-all.c       | 403 ++++++++++++++++++++++++++++++++++++++++++++++
configure                 |  22 +--
hmp-commands-info.hx      |  14 ++
hmp-commands.hx           |  14 ++
hw/pci-host/q35.c         |   3 +-
hw/s390x/virtio-ccw.c     |  12 +-
hw/virtio/virtio-bus.c    |   1 +
hw/virtio/virtio-mmio.c   |  18 +--
hw/virtio/virtio-pci.c    |   1 -
include/monitor/hmp.h     |   1 +
include/monitor/stats.h   |  45 ++++++
include/qemu/cutils.h     |  18 +++
meson.build               |  25 +--
monitor/hmp-cmds.c        | 232 ++++++++++++++++++++++++++
monitor/qmp-cmds.c        | 155 ++++++++++++++++++
qapi/block-core.json      | 117 +++++++++-----
qapi/block-export.json    |  21 ++-
qapi/block.json           |   6 +-
qapi/meson.build          |   1 +
qapi/qapi-schema.json     |   1 +
qapi/stats.json           | 249 ++++++++++++++++++++++++++++
tests/unit/test-cutils.c  |  52 ++++++
tests/vm/Makefile.include |  26 +--
util/cutils.c             |  34 ++--
25 files changed, 1368 insertions(+), 115 deletions(-)
create mode 100644 include/monitor/stats.h
create mode 100644 qapi/stats.json
[PULL 00/21] Statistics, preconfig and cleanup patches for 2022-06-16
Posted by Paolo Bonzini 1 year, 11 months ago
The following changes since commit debd0753663bc89c86f5462a53268f2e3f680f60:

  Merge tag 'pull-testing-next-140622-1' of https://github.com/stsquad/qemu into staging (2022-06-13 21:10:57 -0700)

are available in the Git repository at:

  https://gitlab.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 76ca98b0f85222601bd449252ac71df19e0dab29:

  build: include pc-bios/ part in the ROMS variable (2022-06-15 11:12:32 +0200)

----------------------------------------------------------------
* statistics subsystem
* virtio reset cleanups
* build system cleanups
* fix Cirrus CI

----------------------------------------------------------------
Alexander Bulekov (1):
      build: fix check for -fsanitize-coverage-allowlist

Mark Kanda (3):
      qmp: Support for querying stats
      kvm: Support for querying fd-based stats
      hmp: add basic "info stats" implementation

Paolo Bonzini (16):
      qmp: add filtering of statistics by target vCPU
      cutils: add functions for IEC and SI prefixes
      qmp: add filtering of statistics by provider
      hmp: add filtering of statistics by provider
      qmp: add filtering of statistics by name
      hmp: add filtering of statistics by name
      block: add more commands to preconfig mode
      s390x: simplify virtio_ccw_reset_virtio
      virtio-mmio: stop ioeventfd on legacy reset
      virtio: stop ioeventfd on reset
      virtio-mmio: cleanup reset
      configure: update list of preserved environment variables
      configure: cleanup -fno-pie detection
      tests/vm: allow running tests in an unconfigured source tree
      meson: put cross compiler info in a separate section
      build: include pc-bios/ part in the ROMS variable

Zhenzhong Duan (1):
      q35:Enable TSEG only when G_SMRAME and TSEG_EN both enabled

 Makefile                  |  12 +-
 accel/kvm/kvm-all.c       | 403 ++++++++++++++++++++++++++++++++++++++++++++++
 configure                 |  22 +--
 hmp-commands-info.hx      |  14 ++
 hmp-commands.hx           |  14 ++
 hw/pci-host/q35.c         |   3 +-
 hw/s390x/virtio-ccw.c     |  12 +-
 hw/virtio/virtio-bus.c    |   1 +
 hw/virtio/virtio-mmio.c   |  18 +--
 hw/virtio/virtio-pci.c    |   1 -
 include/monitor/hmp.h     |   1 +
 include/monitor/stats.h   |  45 ++++++
 include/qemu/cutils.h     |  18 +++
 meson.build               |  25 +--
 monitor/hmp-cmds.c        | 232 ++++++++++++++++++++++++++
 monitor/qmp-cmds.c        | 155 ++++++++++++++++++
 qapi/block-core.json      | 117 +++++++++-----
 qapi/block-export.json    |  21 ++-
 qapi/block.json           |   6 +-
 qapi/meson.build          |   1 +
 qapi/qapi-schema.json     |   1 +
 qapi/stats.json           | 249 ++++++++++++++++++++++++++++
 tests/unit/test-cutils.c  |  52 ++++++
 tests/vm/Makefile.include |  26 +--
 util/cutils.c             |  34 ++--
 25 files changed, 1368 insertions(+), 115 deletions(-)
 create mode 100644 include/monitor/stats.h
 create mode 100644 qapi/stats.json
-- 
2.36.1


Re: [PULL 00/21] Statistics, preconfig and cleanup patches for 2022-06-16
Posted by Richard Henderson 1 year, 11 months ago
On 6/16/22 01:31, Paolo Bonzini wrote:
> The following changes since commit debd0753663bc89c86f5462a53268f2e3f680f60:
> 
>    Merge tag 'pull-testing-next-140622-1' of https://github.com/stsquad/qemu into staging (2022-06-13 21:10:57 -0700)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/bonzini/qemu.git tags/for-upstream
> 
> for you to fetch changes up to 76ca98b0f85222601bd449252ac71df19e0dab29:
> 
>    build: include pc-bios/ part in the ROMS variable (2022-06-15 11:12:32 +0200)
> 
> ----------------------------------------------------------------
> * statistics subsystem
> * virtio reset cleanups
> * build system cleanups
> * fix Cirrus CI

Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/7.1 as appropriate.


r~


> 
> ----------------------------------------------------------------
> Alexander Bulekov (1):
>        build: fix check for -fsanitize-coverage-allowlist
> 
> Mark Kanda (3):
>        qmp: Support for querying stats
>        kvm: Support for querying fd-based stats
>        hmp: add basic "info stats" implementation
> 
> Paolo Bonzini (16):
>        qmp: add filtering of statistics by target vCPU
>        cutils: add functions for IEC and SI prefixes
>        qmp: add filtering of statistics by provider
>        hmp: add filtering of statistics by provider
>        qmp: add filtering of statistics by name
>        hmp: add filtering of statistics by name
>        block: add more commands to preconfig mode
>        s390x: simplify virtio_ccw_reset_virtio
>        virtio-mmio: stop ioeventfd on legacy reset
>        virtio: stop ioeventfd on reset
>        virtio-mmio: cleanup reset
>        configure: update list of preserved environment variables
>        configure: cleanup -fno-pie detection
>        tests/vm: allow running tests in an unconfigured source tree
>        meson: put cross compiler info in a separate section
>        build: include pc-bios/ part in the ROMS variable
> 
> Zhenzhong Duan (1):
>        q35:Enable TSEG only when G_SMRAME and TSEG_EN both enabled
> 
>   Makefile                  |  12 +-
>   accel/kvm/kvm-all.c       | 403 ++++++++++++++++++++++++++++++++++++++++++++++
>   configure                 |  22 +--
>   hmp-commands-info.hx      |  14 ++
>   hmp-commands.hx           |  14 ++
>   hw/pci-host/q35.c         |   3 +-
>   hw/s390x/virtio-ccw.c     |  12 +-
>   hw/virtio/virtio-bus.c    |   1 +
>   hw/virtio/virtio-mmio.c   |  18 +--
>   hw/virtio/virtio-pci.c    |   1 -
>   include/monitor/hmp.h     |   1 +
>   include/monitor/stats.h   |  45 ++++++
>   include/qemu/cutils.h     |  18 +++
>   meson.build               |  25 +--
>   monitor/hmp-cmds.c        | 232 ++++++++++++++++++++++++++
>   monitor/qmp-cmds.c        | 155 ++++++++++++++++++
>   qapi/block-core.json      | 117 +++++++++-----
>   qapi/block-export.json    |  21 ++-
>   qapi/block.json           |   6 +-
>   qapi/meson.build          |   1 +
>   qapi/qapi-schema.json     |   1 +
>   qapi/stats.json           | 249 ++++++++++++++++++++++++++++
>   tests/unit/test-cutils.c  |  52 ++++++
>   tests/vm/Makefile.include |  26 +--
>   util/cutils.c             |  34 ++--
>   25 files changed, 1368 insertions(+), 115 deletions(-)
>   create mode 100644 include/monitor/stats.h
>   create mode 100644 qapi/stats.json