qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] c95031: tests/qtest: netdev: test stream and


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] c95031: tests/qtest: netdev: test stream and dgram backends
Date: Thu, 02 Feb 2023 05:48:27 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: c95031a19f0d7f418a597243f6f84b031a858997
      
https://github.com/qemu/qemu/commit/c95031a19f0d7f418a597243f6f84b031a858997
  Author: Laurent Vivier <lvivier@redhat.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M tests/qtest/meson.build
    A tests/qtest/netdev-socket.c

  Log Message:
  -----------
  tests/qtest: netdev: test stream and dgram backends

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20230118120405.1876329-1-lvivier@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: e549227408732baf3546a92ed1a7c8743c5db175
      
https://github.com/qemu/qemu/commit/e549227408732baf3546a92ed1a7c8743c5db175
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M tests/qtest/qom-test.c

  Log Message:
  -----------
  tests/qtest/qom-test: Stop spamming the test log

We are still facing the issues that our test logs in the gitlab CI
are too big (and thus cut off). A huge part is still caused by the
qom-test that prints the path and name of each object it looks at
by default. That's too much. Let's be silent by default, and only
print the object path+name when running with V=2 (and the properties
only with V=3 and higher).

Message-Id: <20230118122557.1668860-1-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: a8fe0757e1a3b6d92d7d0a9ddccd902e35fbb045
      
https://github.com/qemu/qemu/commit/a8fe0757e1a3b6d92d7d0a9ddccd902e35fbb045
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M tests/qtest/bios-tables-test.c

  Log Message:
  -----------
  tests/qtest/bios-tables-test: Make the test less verbose by default

We are facing the issues that our test logs in the gitlab CI are
too big (and thus cut off). The bios-tables-test is one of the few
qtests that prints many lines of output by default when running with
V=1, so it contributes to this problem. Almost all other qtests are
silent with V=1 and only print debug messages with V=2 and higher.
Thus let's change the bios-tables-test to behave more like the
other tests and only print the debug messages with V=2 (or higher).

Message-Id: <20230118125132.1694469-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: e803a7f9b1f4d2324b15213593b6e24096e64280
      
https://github.com/qemu/qemu/commit/e803a7f9b1f4d2324b15213593b6e24096e64280
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M docs/about/deprecated.rst
    M docs/about/removed-features.rst
    M hw/misc/sifive_u_otp.c

  Log Message:
  -----------
  hw/misc/sifive_u_otp: Remove the deprecated OTP config with '-drive if=none'

'-drive if=none' is meant for configuring back-end devices only, so this
got marked as deprecated in QEMU 6.2. Users should now only use the new
way with '-drive if=pflash' instead.

Message-Id: <20230112083921.887828-1-thuth@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: ddf0944aa4b0c2d6516478a3e825149918b7a892
      
https://github.com/qemu/qemu/commit/ddf0944aa4b0c2d6516478a3e825149918b7a892
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M configs/targets/nios2-softmmu.mak

  Log Message:
  -----------
  configs/targets/nios2-softmmu: Add TARGET_NEED_FDT=y to the nios2 config

qemu-system-nios2 uses the functions from libfdt in hw/nios2/boot.c,
so this target has to be marked with TARGET_NEED_FDT=y in its config
file.

Message-Id: <20230119125745.2028814-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 769897bd0f4f9c2fe806d94d88aea1be85774342
      
https://github.com/qemu/qemu/commit/769897bd0f4f9c2fe806d94d88aea1be85774342
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis.yml: Use the libfdt from the distro instead of the submodule

No need to compile-test third party submodules over and over again if
we can simply use the pre-build library from the distribution instead.

By also adding --enable-fdt=system to the configure options, we can
also avoid to check out the "dtc" submodule here.

Message-Id: <20230120075330.2076773-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 5b5b0c73c8264647db9f4dcbb2894b685512a139
      
https://github.com/qemu/qemu/commit/5b5b0c73c8264647db9f4dcbb2894b685512a139
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis.yml: Remove the generic addons section

Each job uses its own addons section nowadays, so the generic section
is completely unused and outdated, thus we can remove it now.

Message-Id: <20230119135914.2040853-1-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 2b5e0c9ff8299bbfa1a6b0c9cac385adb733152a
      
https://github.com/qemu/qemu/commit/2b5e0c9ff8299bbfa1a6b0c9cac385adb733152a
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M tests/docker/dockerfiles/debian-riscv64-cross.docker
    M tests/docker/dockerfiles/fedora-i386-cross.docker

  Log Message:
  -----------
  tests/docker/dockerfiles: Add libfdt to the i386 and to the riscv64 container

No need to recompile the dtc submodule here again and again, we can
use the pre-built binary from the distribution instead.
(And this will also help in case we finally get rid of the dtc submodule
in QEMU one day)

Message-Id: <20230124143824.844040-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 6366ca31ef31bb69d30356c736bf902f15c1c792
      
https://github.com/qemu/qemu/commit/6366ca31ef31bb69d30356c736bf902f15c1c792
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M include/qemu/bswap.h

  Log Message:
  -----------
  qemu/bswap: Replace bswapXX() by compiler __builtin_bswap()

Use the compiler built-in function to byte swap values,
as the compiler is clever and will fold constants.

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230111163147.71761-2-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: b1032a23edf9c6af2bdfdf8f542f86221a75676b
      
https://github.com/qemu/qemu/commit/b1032a23edf9c6af2bdfdf8f542f86221a75676b
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M include/qemu/bswap.h

  Log Message:
  -----------
  qemu/bswap: Replace bswapXXs() by compiler __builtin_bswap()

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230111163147.71761-3-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: e76ce15db7ea9542fbb962b12a8ac738b57b73cd
      
https://github.com/qemu/qemu/commit/e76ce15db7ea9542fbb962b12a8ac738b57b73cd
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M include/qemu/bswap.h
    M meson.build

  Log Message:
  -----------
  qemu/bswap: Remove <byteswap.h> dependency

Since commit efc6c070aca ("configure: Add a test for the minimum
compiler version") the minimum compiler version required for GCC
is 4.8, which supports __builtin_bswap().
Drop the <byteswap.h> dependency.

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230111163147.71761-4-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 91fdbf6dfae20c5e409f82f75776f688ae71c6dc
      
https://github.com/qemu/qemu/commit/91fdbf6dfae20c5e409f82f75776f688ae71c6dc
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M include/qemu/bswap.h

  Log Message:
  -----------
  qemu/bswap: Use compiler __builtin_bswap() on Haiku

Since commit efc6c070aca ("configure: Add a test for the minimum
compiler version") the minimum compiler version required for GCC
is 4.8, which supports __builtin_bswap().
Remove the Haiku specific ifdef'ry.

This reverts commit 652a46ebba970017c7a23767dcc983265cdb8eb7
("bswap.h: Include <endian.h> on Haiku for bswap operations").

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230111163147.71761-5-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: a97cfd56d956de0a24cb0d1c86d05e4545eb6fe7
      
https://github.com/qemu/qemu/commit/a97cfd56d956de0a24cb0d1c86d05e4545eb6fe7
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M include/qemu/bswap.h

  Log Message:
  -----------
  qemu/bswap: Use compiler __builtin_bswap() on FreeBSD

Since commit efc6c070aca ("configure: Add a test for the minimum
compiler version") the minimum compiler version required for GCC
is 4.8, which supports __builtin_bswap().
Remove the FreeBSD specific ifdef'ry.

This reverts commit de03c3164accc21311c39327601fcdd95da301f3
("bswap: Fix build on FreeBSD 10.0").

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230111163147.71761-6-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: ec6bf79d7d44059ccba16bf883b700c7d69cebb3
      
https://github.com/qemu/qemu/commit/ec6bf79d7d44059ccba16bf883b700c7d69cebb3
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M include/qemu/bswap.h
    M meson.build

  Log Message:
  -----------
  qemu/bswap: Use compiler __builtin_bswap() on NetBSD

Since commit efc6c070aca ("configure: Add a test for the minimum
compiler version") the minimum compiler version required for GCC
is 4.8, which supports __builtin_bswap().
Remove the NetBSD specific ifdef'ry.

This reverts commit 1360677cfe3ca8f945fa1de77823df21a77e4500
("makes NetBSD use the native bswap functions").

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230111163147.71761-7-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 73741fda6ce7d013f5c8ec83d2665fda03a74a15
      
https://github.com/qemu/qemu/commit/73741fda6ce7d013f5c8ec83d2665fda03a74a15
  Author: Wenchao Wang <wenchao.wang@intel.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Abort HAXM maintenance

Abort the maintenance of Guest CPU Cores (HAXM).

* Clean up the maintainer list of X86 HAXM CPUs
* Remove the web page URL and the mailing list
* Change the status to Orphan

Reviewed-by: Hang Yuan <hang.yuan@intel.com>
Signed-off-by: Wenchao Wang <wenchao.wang@intel.com>
Message-Id: 
<DM6PR11MB40903B55C23D5140E5BEF17687C49@DM6PR11MB4090.namprd11.prod.outlook.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 90c167a1da5e35e3681a9ae5bcddcab707086d9a
      
https://github.com/qemu/qemu/commit/90c167a1da5e35e3681a9ae5bcddcab707086d9a
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M docs/about/deprecated.rst
    M target/i386/hax/hax-all.c

  Log Message:
  -----------
  docs/about/deprecated: Mark HAXM in QEMU as deprecated

The HAXM project has been retired (see https://github.com/intel/haxm#status),
so we should mark the code in QEMU as deprecated (and finally remove it
unless somebody else picks the project up again - which is quite unlikely
since there are now whpx and hvf on these operating systems, too).

Message-Id: <20230126121034.1035138-1-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: c0031d389e7cc16b0223dbf5994627a4b9b44df3
      
https://github.com/qemu/qemu/commit/c0031d389e7cc16b0223dbf5994627a4b9b44df3
  Author: Fabiano Rosas <farosas@suse.de>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M configure

  Log Message:
  -----------
  tests/tcg: Do not build/run TCG tests if TCG is disabled

The tests under tests/tcg depend on the TCG accelerator. Do not build
them if --disable-tcg was given in the configure line.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230120184825.31626-7-farosas@suse.de>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 6c25794fa36fe3fa483c6392c44ae68692aabb3a
      
https://github.com/qemu/qemu/commit/6c25794fa36fe3fa483c6392c44ae68692aabb3a
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M tests/qtest/vnc-display-test.c

  Log Message:
  -----------
  tests/qtest/vnc-display-test: Suppress build warnings on Windows

While this test is skipped on Windows, we still get when building:

  tests/qtest/vnc-display-test.c:22:20: warning: unused function 'on_vnc_error' 
[-Wunused-function]
  static inline void on_vnc_error(VncConnection* self,
                     ^
  tests/qtest/vnc-display-test.c:28:20: warning: unused function 
'on_vnc_auth_failure' [-Wunused-function]
  static inline void on_vnc_auth_failure(VncConnection *self,
                     ^
  2 warnings generated.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230119120514.28778-2-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: fe843ea21889236f41a96590513b042e59032a39
      
https://github.com/qemu/qemu/commit/fe843ea21889236f41a96590513b042e59032a39
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M tests/qtest/vnc-display-test.c

  Log Message:
  -----------
  tests/qtest/vnc-display-test: Use the 'none' machine

If we don't specify any machine, an architecture default
might be picked. But some architectures don't provide any
default, such ARM:

  $ make check-qtest-aarch64
  ...
  19/20 qemu:qtest+qtest-aarch64 / qtest-aarch64/vnc-display-test
  qemu-system-aarch64: No machine specified, and there is no default

Since we don't need any particular machine to run this VNC
test, use the 'none' machine.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230119120514.28778-3-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 2a969c0cbcf575a4c839d60e6ed71bbb9e469fbe
      
https://github.com/qemu/qemu/commit/2a969c0cbcf575a4c839d60e6ed71bbb9e469fbe
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M tests/qtest/vnc-display-test.c

  Log Message:
  -----------
  tests/qtest/vnc-display-test: Disable on Darwin

This test is failing in gtk-vnc on Darwin:

  $ make check-qtest-aarch64
  ...
  19/20 qemu:qtest+qtest-aarch64 / qtest-aarch64/vnc-display-test
  ERROR **: 10:42:35.488: vnc-error: Unsupported auth type 17973672

While QEMU picks the sigaltstack coroutine backend, gtk-vnc uses
the ucontext coroutine backend, which might be broken on Darwin.

Disable this test (current problem being investigated in this thread:
https://lore.kernel.org/qemu-devel/Y8kw6X6keB5l53nl@redhat.com/).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230119120514.28778-4-philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: a4267f00925301e908484050fab559c93bee5a1a
      
https://github.com/qemu/qemu/commit/a4267f00925301e908484050fab559c93bee5a1a
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M tests/qtest/boot-serial-test.c

  Log Message:
  -----------
  tests/qtest/boot-serial-test: Constify tests[] array

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230120082341.59913-2-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: e59a59a457bf135e2acd38df2ca7aca9c93e53d1
      
https://github.com/qemu/qemu/commit/e59a59a457bf135e2acd38df2ca7aca9c93e53d1
  Author: Sebastian Mitterle <smitterl@redhat.com>
  Date:   2023-01-30 (Mon, 30 Jan 2023)

  Changed paths:
    A docs/system/s390x/pcidevices.rst
    M docs/system/target-s390x.rst

  Log Message:
  -----------
  docs/s390x/pcidevices: document pci devices on s390x

Add some documentation about the zpci device and how
to use it with pci devices on s390x.

Used source: Cornelia Huck's blog post
https://people.redhat.com/~cohuck/2018/02/19/notes-on-pci-on-s390x.html

Signed-off-by: Sebastian Mitterle <smitterl@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <20230127123349.55294-1-smitterl@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 637d18090ed2fc8d5edea0c0c584291cb792a086
      
https://github.com/qemu/qemu/commit/637d18090ed2fc8d5edea0c0c584291cb792a086
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2023-01-30 (Mon, 30 Jan 2023)

  Changed paths:
    M audio/audio.c
    M qapi/audio.json

  Log Message:
  -----------
  qapi, audio: add query-audiodev command

Way back in QEMU 4.0, the -audiodev command line option was introduced
for configuring audio backends. This CLI option does not use QemuOpts
so it is not visible for introspection in 'query-command-line-options',
instead using the QAPI Audiodev type.  Unfortunately there is also no
QMP command that uses the Audiodev type, so it is not introspectable
with 'query-qmp-schema' either.

This introduces a 'query-audiodev' command that simply reflects back
the list of configured -audiodev command line options. This alone is
maybe not very useful by itself, but it makes Audiodev introspectable
via 'query-qmp-schema', so that libvirt (and other upper layer tools)
can discover the available audiodevs.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
[thuth: Update for upcoming QEMU v8.0, and use QAPI_LIST_PREPEND]
Message-Id: <20230123083957.20349-2-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 7a92a8573c81162f75d71873be32c65f8aedd07f
      
https://github.com/qemu/qemu/commit/7a92a8573c81162f75d71873be32c65f8aedd07f
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2023-01-30 (Mon, 30 Jan 2023)

  Changed paths:
    M audio/audio.c
    M audio/audio_legacy.c
    M audio/audio_template.h
    M qapi/audio.json

  Log Message:
  -----------
  qapi, audio: Make introspection reflect build configuration more closely

Currently the -audiodev accepts any audiodev type regardless of what is
built in to QEMU. An error only occurs later at runtime when a sound
device tries to use the audio backend.

With this change QEMU will immediately reject -audiodev args that are
not compiled into the binary. The QMP schema will also be introspectable
to identify what is compiled in.

This also helps to avoid compiling code that is not required in the
binary. Note: When building the audiodevs as modules, the patch only
compiles out code for modules that we don't build at all.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
[thuth: Rebase, take sndio and dbus devices into account]
Message-Id: <20230123083957.20349-3-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 7c4f71506f785da0eb4eae98753fe689f4bab351
      
https://github.com/qemu/qemu/commit/7c4f71506f785da0eb4eae98753fe689f4bab351
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-01-31 (Tue, 31 Jan 2023)

  Changed paths:
    M .gitlab-ci.d/buildtest.yml

  Log Message:
  -----------
  gitlab-ci.d/buildtest: Remove ppc-softmmu from the clang-system job

We are also compile-testing ppc64-softmmu with clang in the "tsan-build"
job, and ppc64-softmmu covers pretty much the same code as ppc-softmmu,
so we should not lose much test coverage here by removing ppc-softmmu
from the "clang-system" job.

Message-Id: <20230130104446.1286773-2-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: f2e57851b831922625f9d364d78c11a0258331a6
      
https://github.com/qemu/qemu/commit/f2e57851b831922625f9d364d78c11a0258331a6
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-01-31 (Tue, 31 Jan 2023)

  Changed paths:
    M tests/qtest/display-vga-test.c

  Log Message:
  -----------
  tests/qtest/display-vga-test: Add proper checks if a device is available

display-vga-test currently tries to guess the usable VGA devices
according to the target architecture that is used for the test.
This of course does not work if QEMU has been built with the
"--without-default-devices" configure switch. To fix this, use the
qtest_has_device() function for the decision instead. This way
we can also consolidate most of the test functions into one single
function (that takes a parameter with the device name now), except
for the multihead test that tries to instantiate two devices and
thus is a little bit different.

Message-Id: <20230130104446.1286773-4-thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: e030d08c2fc02743dd37e3d2e6e28fdd739590b9
      
https://github.com/qemu/qemu/commit/e030d08c2fc02743dd37e3d2e6e28fdd739590b9
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-01-31 (Tue, 31 Jan 2023)

  Changed paths:
    M .gitlab-ci.d/buildtest.yml

  Log Message:
  -----------
  gitlab-ci.d/buildtest: Merge the --without-default-* jobs

Let's safe some CI minutes by merging these two jobs. We can now
also drop "--disable-capstone" since the capstone submodule has
been removed a while ago. We should rather test --disable-fdt now
to check a compilation without the "dtc" submodule (for this we
have to drop i386-softmmu from the target list unfortunately).
Additionally, the qtests with s390x and sh4 are not read for
"--without-default-devices" yet, so we can only test mips64 and
avr here now.

Message-Id: <20230130104446.1286773-5-thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 387b2b52558bbb44ad74634415e1ab488d3c62a7
      
https://github.com/qemu/qemu/commit/387b2b52558bbb44ad74634415e1ab488d3c62a7
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2023-02-02 (Thu, 02 Feb 2023)

  Changed paths:
    M .gitlab-ci.d/buildtest.yml
    M .travis.yml
    M MAINTAINERS
    M audio/audio.c
    M audio/audio_legacy.c
    M audio/audio_template.h
    M configs/targets/nios2-softmmu.mak
    M configure
    M docs/about/deprecated.rst
    M docs/about/removed-features.rst
    A docs/system/s390x/pcidevices.rst
    M docs/system/target-s390x.rst
    M hw/misc/sifive_u_otp.c
    M include/qemu/bswap.h
    M meson.build
    M qapi/audio.json
    M target/i386/hax/hax-all.c
    M tests/docker/dockerfiles/debian-riscv64-cross.docker
    M tests/docker/dockerfiles/fedora-i386-cross.docker
    M tests/qtest/boot-serial-test.c
    M tests/qtest/display-vga-test.c
    M tests/qtest/meson.build
    A tests/qtest/netdev-socket.c
    M tests/qtest/qom-test.c
    M tests/qtest/vnc-display-test.c

  Log Message:
  -----------
  Merge tag 'pull-request-2023-01-31' of https://gitlab.com/thuth/qemu into 
staging

* qtest improvements
* Remove the deprecated OTP config of sifive_u
* Add libfdt to some of our CI jobs that were still missing it
* Use __builtin_bswap() everywhere (all compiler versions support it now)
* Deprecate the HAXM accelerator
* Document PCI devices handling on s390x
* Make Audiodev introspectable
* Improve the runtime of some CI jobs

# -----BEGIN PGP SIGNATURE-----
#
# iQJFBAABCAAvFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAmPY59YRHHRodXRoQHJl
# ZGhhdC5jb20ACgkQLtnXdP5wLbXzhxAAmoq2j2sbAf2Vr9tz6Ez2p9oKNYnzUEWb
# NGXdvQMcVFKIdjvSYt5ozLC53OFIzuS74X7oHKbdLvGzez3nMCijZIbzN6vNnvd9
# HNGum4blNwHEfQcY9hr9y30Iurc7CQu6VtwGF+XXdzQZDbPz1Z4AWvtPTLcTbkxa
# PskYJfFvow/oaTHDA/7t+90cxCOixKvQMKXL5ATCtMRGnjlbOAEoPbXUB+yM24mk
# 9qp1L/8h8pvXfeXlFj+KETmu+eE5ETEOQtqc2KhQqqze2+VMKYxSX2H+sNkJBPDP
# En8Mpy+fEdefu8Jcu+M2kMLhf1f3LVf9uARhLZY4/xmOYFg+F3xzwpshnH1bs+Kw
# IzWP84uHjE77jSy/wKvYiCx2hdCDwO0G+zym67D1fPzvjzKzUNprV4OIuRzTWah3
# 6Zli5uuaLrBNjR8SJB1HDmLGKDFgToH9dzfLPtDmW8UPJGkAGcBbPKktLTe5y/4E
# del99NqpTx5SAqMmbSMRPZ/vZ7ITdfB0Av3a0GdO8j7eSPb9BOsoZOVD2/iUzab/
# P0dBuNqMM8fwywVKqcK+0CJ/npWIJvOqqlwSDqhY1A78G/uRuapOqUwsB/LWRFv5
# /1VvHfA2rv4l9o66N5jssS5/D1v5p/UBB6JvlTUvuoJMFTXa9de9XFxYxfkyiaAz
# LJl+Dh+aeWk=
# =uq7y
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 31 Jan 2023 10:05:10 GMT
# gpg:                using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
# gpg:                issuer "thuth@redhat.com"
# gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [full]
# gpg:                 aka "Thomas Huth <thuth@redhat.com>" [full]
# gpg:                 aka "Thomas Huth <huth@tuxfamily.org>" [full]
# gpg:                 aka "Thomas Huth <th.huth@posteo.de>" [unknown]
# Primary key fingerprint: 27B8 8847 EEE0 2501 18F3  EAB9 2ED9 D774 FE70 2DB5

* tag 'pull-request-2023-01-31' of https://gitlab.com/thuth/qemu: (27 commits)
  gitlab-ci.d/buildtest: Merge the --without-default-* jobs
  tests/qtest/display-vga-test: Add proper checks if a device is available
  gitlab-ci.d/buildtest: Remove ppc-softmmu from the clang-system job
  qapi, audio: Make introspection reflect build configuration more closely
  qapi, audio: add query-audiodev command
  docs/s390x/pcidevices: document pci devices on s390x
  tests/qtest/boot-serial-test: Constify tests[] array
  tests/qtest/vnc-display-test: Disable on Darwin
  tests/qtest/vnc-display-test: Use the 'none' machine
  tests/qtest/vnc-display-test: Suppress build warnings on Windows
  tests/tcg: Do not build/run TCG tests if TCG is disabled
  docs/about/deprecated: Mark HAXM in QEMU as deprecated
  MAINTAINERS: Abort HAXM maintenance
  qemu/bswap: Use compiler __builtin_bswap() on NetBSD
  qemu/bswap: Use compiler __builtin_bswap() on FreeBSD
  qemu/bswap: Use compiler __builtin_bswap() on Haiku
  qemu/bswap: Remove <byteswap.h> dependency
  qemu/bswap: Replace bswapXXs() by compiler __builtin_bswap()
  qemu/bswap: Replace bswapXX() by compiler __builtin_bswap()
  tests/docker/dockerfiles: Add libfdt to the i386 and to the riscv64 container
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/deabea6e88f7...387b2b52558b



reply via email to

[Prev in Thread] Current Thread [Next in Thread]