[PULL 00/21] Tests, docs, s390x and misc patches

Thomas Huth posted 21 patches 11 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230515130233.418183-1-thuth@redhat.com
Maintainers: Ed Maste <emaste@freebsd.org>, Li-Wen Hsu <lwhsu@freebsd.org>, "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Yanan Wang <wangyanan55@huawei.com>, Jason Wang <jasowang@redhat.com>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Alistair Francis <alistair@alistair23.me>, Peter Maydell <peter.maydell@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Eric Farman <farman@linux.ibm.com>, Richard Henderson <richard.henderson@linaro.org>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>, Paolo Bonzini <pbonzini@redhat.com>, John Snow <jsnow@redhat.com>, Cleber Rosa <crosa@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Juan Quintela <quintela@redhat.com>, Peter Xu <peterx@redhat.com>, Leonardo Bras <leobras@redhat.com>, Zhang Chen <chen.zhang@intel.com>, Li Zhijian <lizhijian@fujitsu.com>, Stefan Hajnoczi <stefanha@redhat.com>
There is a newer version of this series
docs/about/deprecated.rst                          |   5 +
docs/about/emulation.rst                           |   2 +-
docs/devel/testing.rst                             |   6 +
include/hw/core/cpu.h                              |   6 +
include/hw/pci/pci_bridge.h                        |   2 +-
include/hw/s390x/pv.h                              |   6 +-
include/qemu/typedefs.h                            |   1 +
include/sysemu/kvm.h                               |   3 -
target/s390x/tcg/insn-data.h.inc                   |   2 +-
cpu.c                                              |   5 +
hw/core/machine-qmp-cmds.c                         |  20 +--
hw/net/xilinx_ethlite.c                            |   2 +-
hw/pci/pci_bridge.c                                |  19 ++-
hw/s390x/pv.c                                      |  10 +-
hw/s390x/s390-virtio-ccw.c                         |   2 +-
os-posix.c                                         |  14 ++
target/s390x/cpu.c                                 |   8 ++
target/s390x/tcg/translate.c                       |  81 ++++++++---
tests/qtest/ahci-test.c                            |  31 ++--
tests/qtest/boot-order-test.c                      |   5 +-
tests/qtest/cdrom-test.c                           |  14 +-
tests/qtest/fdc-test.c                             |  15 +-
tests/qtest/ide-test.c                             |   5 +-
tests/qtest/migration-test.c                       |   5 +-
tests/qtest/netdev-socket.c                        |  39 +++--
tests/qtest/test-filter-mirror.c                   |   5 +-
tests/qtest/test-filter-redirector.c               |   7 +-
tests/qtest/virtio-blk-test.c                      |  24 ++--
tests/tcg/multiarch/system/memory.c                |  67 +++++----
tests/tcg/s390x/console.c                          |  12 ++
tests/tcg/s390x/ex-branch.c                        | 158 +++++++++++++++++++++
util/async-teardown.c                              |  21 +++
.gitlab-ci.d/cirrus/freebsd-13.vars                |   2 +-
.gitlab-ci.d/cirrus/macos-12.vars                  |   2 +-
hw/core/meson.build                                |   5 +-
hw/net/meson.build                                 |   2 +-
qemu-options.hx                                    |  34 +++--
scripts/symlink-install-tree.py                    |   3 +
tests/avocado/virtio-gpu.py                        |   4 +-
tests/docker/dockerfiles/alpine.docker             |   3 +-
tests/docker/dockerfiles/centos8.docker            |   3 +-
tests/docker/dockerfiles/debian-amd64-cross.docker |   3 +-
tests/docker/dockerfiles/debian-amd64.docker       |   3 +-
tests/docker/dockerfiles/debian-arm64-cross.docker |   3 +-
tests/docker/dockerfiles/debian-armel-cross.docker |   3 +-
tests/docker/dockerfiles/debian-armhf-cross.docker |   3 +-
.../dockerfiles/debian-mips64el-cross.docker       |   3 +-
.../docker/dockerfiles/debian-mipsel-cross.docker  |   3 +-
.../docker/dockerfiles/debian-ppc64el-cross.docker |   3 +-
tests/docker/dockerfiles/debian-s390x-cross.docker |   3 +-
tests/docker/dockerfiles/fedora-win32-cross.docker |   3 +-
tests/docker/dockerfiles/fedora-win64-cross.docker |   3 +-
tests/docker/dockerfiles/fedora.docker             |   3 +-
tests/docker/dockerfiles/opensuse-leap.docker      |   3 +-
tests/docker/dockerfiles/ubuntu2004.docker         |   3 +-
tests/docker/dockerfiles/ubuntu2204.docker         |   3 +-
tests/lcitool/libvirt-ci                           |   2 +-
tests/lcitool/projects/qemu.yml                    |   3 +-
tests/tcg/s390x/Makefile.softmmu-target            |  40 ++++--
tests/tcg/s390x/Makefile.target                    |   1 +
tests/tcg/s390x/head64.S                           |  31 ++++
61 files changed, 557 insertions(+), 225 deletions(-)
create mode 100644 tests/tcg/s390x/console.c
create mode 100644 tests/tcg/s390x/ex-branch.c
create mode 100644 tests/tcg/s390x/head64.S
[PULL 00/21] Tests, docs, s390x and misc patches
Posted by Thomas Huth 11 months, 2 weeks ago
 Hi Richard!

The following changes since commit 8844bb8d896595ee1d25d21c770e6e6f29803097:

  Merge tag 'or1k-pull-request-20230513' of https://github.com/stffrdhrn/qemu into staging (2023-05-13 11:23:14 +0100)

are available in the Git repository at:

  https://gitlab.com/thuth/qemu.git tags/pull-request-2023-05-15

for you to fetch changes up to 055eb1d7de455ecb6b2f5f978b2d12529e09f795:

  tests/tcg/s390x: Test EXECUTE of relative branches (2023-05-15 14:50:35 +0200)

----------------------------------------------------------------
* Various small test updates
* Some small doc updates
* Introduce replacement for -async-teardown that shows up in the QAPI
* Make machine-qmp-cmds.c and xilinx_ethlite.c target-independent
* Fix s390x LDER instruction
* Fix s390x EXECUTE instruction with relative branches

----------------------------------------------------------------
Ani Sinha (3):
      tests: libvirt-ci: Update to commit 'c8971e90ac' to pull in mformat and xorriso
      tests/lcitool: Add mtools and xorriso and remove genisoimage as dependencies
      docs/devel: remind developers to run CI container pipeline when updating images

Claudio Imbrenda (2):
      util/async-teardown: wire up query-command-line-options
      s390x/pv: Fix spurious warning with asynchronous teardown

Daniel P. Berrangé (1):
      tests/qtest: replace qmp_discard_response with qtest_qmp_assert_success

Ilya Leoshkevich (5):
      s390x/tcg: Fix LDER instruction format
      tests/tcg/multiarch: Make the system memory test work on big-endian
      tests/tcg/s390x: Enable the multiarch system tests
      target/s390x: Fix EXECUTE of relative branches
      tests/tcg/s390x: Test EXECUTE of relative branches

Jonathan Cameron (1):
      hw/pci-bridge: Fix release ordering by embedding PCIBridgeWindows within PCIBridge

Laurent Vivier (1):
      net: stream: test reconnect option with an unix socket

Lizhi Yang (1):
      docs/about/emulation: fix typo

Mateusz Krawczuk (1):
      Add information how to fix common build error on Windows in symlink-install-tree

Philippe Mathieu-Daudé (1):
      sysemu/kvm: Remove unused headers

Thomas Huth (5):
      tests/avocado/virtio-gpu: Fix the URLs of the test_virtio_vga_virgl test
      hw/core: Use a callback for target specific query-cpus-fast information
      cpu: Introduce a wrapper for being able to use TARGET_NAME in common code
      hw/core: Move machine-qmp-cmds.c into the target independent source set
      hw/net: Move xilinx_ethlite.c to the target-independent source set

 docs/about/deprecated.rst                          |   5 +
 docs/about/emulation.rst                           |   2 +-
 docs/devel/testing.rst                             |   6 +
 include/hw/core/cpu.h                              |   6 +
 include/hw/pci/pci_bridge.h                        |   2 +-
 include/hw/s390x/pv.h                              |   6 +-
 include/qemu/typedefs.h                            |   1 +
 include/sysemu/kvm.h                               |   3 -
 target/s390x/tcg/insn-data.h.inc                   |   2 +-
 cpu.c                                              |   5 +
 hw/core/machine-qmp-cmds.c                         |  20 +--
 hw/net/xilinx_ethlite.c                            |   2 +-
 hw/pci/pci_bridge.c                                |  19 ++-
 hw/s390x/pv.c                                      |  10 +-
 hw/s390x/s390-virtio-ccw.c                         |   2 +-
 os-posix.c                                         |  14 ++
 target/s390x/cpu.c                                 |   8 ++
 target/s390x/tcg/translate.c                       |  81 ++++++++---
 tests/qtest/ahci-test.c                            |  31 ++--
 tests/qtest/boot-order-test.c                      |   5 +-
 tests/qtest/cdrom-test.c                           |  14 +-
 tests/qtest/fdc-test.c                             |  15 +-
 tests/qtest/ide-test.c                             |   5 +-
 tests/qtest/migration-test.c                       |   5 +-
 tests/qtest/netdev-socket.c                        |  39 +++--
 tests/qtest/test-filter-mirror.c                   |   5 +-
 tests/qtest/test-filter-redirector.c               |   7 +-
 tests/qtest/virtio-blk-test.c                      |  24 ++--
 tests/tcg/multiarch/system/memory.c                |  67 +++++----
 tests/tcg/s390x/console.c                          |  12 ++
 tests/tcg/s390x/ex-branch.c                        | 158 +++++++++++++++++++++
 util/async-teardown.c                              |  21 +++
 .gitlab-ci.d/cirrus/freebsd-13.vars                |   2 +-
 .gitlab-ci.d/cirrus/macos-12.vars                  |   2 +-
 hw/core/meson.build                                |   5 +-
 hw/net/meson.build                                 |   2 +-
 qemu-options.hx                                    |  34 +++--
 scripts/symlink-install-tree.py                    |   3 +
 tests/avocado/virtio-gpu.py                        |   4 +-
 tests/docker/dockerfiles/alpine.docker             |   3 +-
 tests/docker/dockerfiles/centos8.docker            |   3 +-
 tests/docker/dockerfiles/debian-amd64-cross.docker |   3 +-
 tests/docker/dockerfiles/debian-amd64.docker       |   3 +-
 tests/docker/dockerfiles/debian-arm64-cross.docker |   3 +-
 tests/docker/dockerfiles/debian-armel-cross.docker |   3 +-
 tests/docker/dockerfiles/debian-armhf-cross.docker |   3 +-
 .../dockerfiles/debian-mips64el-cross.docker       |   3 +-
 .../docker/dockerfiles/debian-mipsel-cross.docker  |   3 +-
 .../docker/dockerfiles/debian-ppc64el-cross.docker |   3 +-
 tests/docker/dockerfiles/debian-s390x-cross.docker |   3 +-
 tests/docker/dockerfiles/fedora-win32-cross.docker |   3 +-
 tests/docker/dockerfiles/fedora-win64-cross.docker |   3 +-
 tests/docker/dockerfiles/fedora.docker             |   3 +-
 tests/docker/dockerfiles/opensuse-leap.docker      |   3 +-
 tests/docker/dockerfiles/ubuntu2004.docker         |   3 +-
 tests/docker/dockerfiles/ubuntu2204.docker         |   3 +-
 tests/lcitool/libvirt-ci                           |   2 +-
 tests/lcitool/projects/qemu.yml                    |   3 +-
 tests/tcg/s390x/Makefile.softmmu-target            |  40 ++++--
 tests/tcg/s390x/Makefile.target                    |   1 +
 tests/tcg/s390x/head64.S                           |  31 ++++
 61 files changed, 557 insertions(+), 225 deletions(-)
 create mode 100644 tests/tcg/s390x/console.c
 create mode 100644 tests/tcg/s390x/ex-branch.c
 create mode 100644 tests/tcg/s390x/head64.S


Re: [PULL 00/21] Tests, docs, s390x and misc patches
Posted by Richard Henderson 11 months, 2 weeks ago
On 5/15/23 06:02, Thomas Huth wrote:
>   Hi Richard!
> 
> The following changes since commit 8844bb8d896595ee1d25d21c770e6e6f29803097:
> 
>    Merge tag 'or1k-pull-request-20230513' ofhttps://github.com/stffrdhrn/qemu  into staging (2023-05-13 11:23:14 +0100)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/thuth/qemu.git  tags/pull-request-2023-05-15
> 
> for you to fetch changes up to 055eb1d7de455ecb6b2f5f978b2d12529e09f795:
> 
>    tests/tcg/s390x: Test EXECUTE of relative branches (2023-05-15 14:50:35 +0200)
> 
> ----------------------------------------------------------------
> * Various small test updates
> * Some small doc updates
> * Introduce replacement for -async-teardown that shows up in the QAPI
> * Make machine-qmp-cmds.c and xilinx_ethlite.c target-independent
> * Fix s390x LDER instruction
> * Fix s390x EXECUTE instruction with relative branches

This needs to be rebased after Juan's migration patches.  Something in the #include 
simplification has caused multiple build errors, e.g.

https://gitlab.com/qemu-project/qemu/-/jobs/4288929197#L2526

../migration/dirtyrate.c: In function ‘record_dirtypages’:
../migration/dirtyrate.c:68:24: error: invalid use of incomplete typedef ‘CPUState’
    68 |         dirty_pages[cpu->cpu_index].start_pages = cpu->dirty_pages;
       |                        ^~


r~

Re: [PULL 00/21] Tests, docs, s390x and misc patches
Posted by Thomas Huth 11 months, 2 weeks ago
On 15/05/2023 22.53, Richard Henderson wrote:
> On 5/15/23 06:02, Thomas Huth wrote:
>>   Hi Richard!
>>
>> The following changes since commit 8844bb8d896595ee1d25d21c770e6e6f29803097:
>>
>>    Merge tag 'or1k-pull-request-20230513' 
>> ofhttps://github.com/stffrdhrn/qemu  into staging (2023-05-13 11:23:14 +0100)
>>
>> are available in the Git repository at:
>>
>>    https://gitlab.com/thuth/qemu.git  tags/pull-request-2023-05-15
>>
>> for you to fetch changes up to 055eb1d7de455ecb6b2f5f978b2d12529e09f795:
>>
>>    tests/tcg/s390x: Test EXECUTE of relative branches (2023-05-15 14:50:35 
>> +0200)
>>
>> ----------------------------------------------------------------
>> * Various small test updates
>> * Some small doc updates
>> * Introduce replacement for -async-teardown that shows up in the QAPI
>> * Make machine-qmp-cmds.c and xilinx_ethlite.c target-independent
>> * Fix s390x LDER instruction
>> * Fix s390x EXECUTE instruction with relative branches
> 
> This needs to be rebased after Juan's migration patches.  Something in the 
> #include simplification has caused multiple build errors, e.g.
> 
> https://gitlab.com/qemu-project/qemu/-/jobs/4288929197#L2526
> 
> ../migration/dirtyrate.c: In function ‘record_dirtypages’:
> ../migration/dirtyrate.c:68:24: error: invalid use of incomplete typedef 
> ‘CPUState’
>     68 |         dirty_pages[cpu->cpu_index].start_pages = cpu->dirty_pages;
>        |                        ^~

OK, should be easy to fix ... I'll send a v2.

  Thomas