qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] d822b8: tests/qtest/cdrom-test: Improve the m


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] d822b8: tests/qtest/cdrom-test: Improve the machine detect...
Date: Tue, 17 Sep 2024 06:08:07 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: d822b883d7c5e0bbee4fa5ea1c14546e5ce16019
      
https://github.com/qemu/qemu/commit/d822b883d7c5e0bbee4fa5ea1c14546e5ce16019
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

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

  Log Message:
  -----------
  tests/qtest/cdrom-test: Improve the machine detection in the cdrom test

When configuring QEMU with the --without-default-devices switch, these
tests are currently failing since they assume that the "pc" and "q35"
machines are always available. Add some proper checks to make the test
work without these machines, too.

Message-ID: <20240905191434.694440-3-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 0a8ecb41fd9a9fb67c1cc63a0e1eab3e940c6a35
      
https://github.com/qemu/qemu/commit/0a8ecb41fd9a9fb67c1cc63a0e1eab3e940c6a35
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

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

  Log Message:
  -----------
  tests/qtest/boot-order-test: Make the machine name mandatory in this test

Let's make sure that we always pass a machine name to the test_boot_orders()
function, so we can check whether the machine is available in the binary
and skip the test in case it is not included in the build.

Message-ID: <20240905191434.694440-4-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: d98894d8451f31628906cdbd1a47e8b17dfc2397
      
https://github.com/qemu/qemu/commit/d98894d8451f31628906cdbd1a47e8b17dfc2397
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M tests/qtest/hd-geo-test.c

  Log Message:
  -----------
  tests/qtest/hd-geo-test: Check for availability of "pc" machine before using 
it

In case QEMU has been configured with "--without-default-devices", the
"pc" machine type might be missing in the binary. We should check for
its availability before using it.

Message-ID: <20240905191434.694440-5-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: f69880a0e945ae067dfec63a3d0770179b218c0c
      
https://github.com/qemu/qemu/commit/f69880a0e945ae067dfec63a3d0770179b218c0c
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M tests/qtest/meson.build

  Log Message:
  -----------
  tests/qtest/meson.build: Add more CONFIG switches checks for the x86 tests

When configuring QEMU with "--without-default-devices", currently a lot
of the x86 qtests are failing since they silently assume that a certain
device or the i440fx pc machine is available. Add more checks for CONFIG
switches here to not run those tests in case the corresponding device is
not available.

Message-ID: <20240905191434.694440-6-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 4bb82409d99aab7b4f192b206fbf82a0440e0186
      
https://github.com/qemu/qemu/commit/4bb82409d99aab7b4f192b206fbf82a0440e0186
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M tests/qtest/meson.build

  Log Message:
  -----------
  tests/qtest: Disable numa-test if the default machine is not available

The numa-test needs a default machine in the target binary to work
successfully, so don't try to run this test if the corresponding
machine has not been enabled, e.g. when QEMU has been configured with
"--without-default-devices".

Message-ID: <20240905191434.694440-7-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 4bd683d6f19dfe05a628af5deca2009e2a1783bf
      
https://github.com/qemu/qemu/commit/4bd683d6f19dfe05a628af5deca2009e2a1783bf
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M hw/vfio/trace-events

  Log Message:
  -----------
  hw/vfio/pci.c: Use correct type in trace_vfio_msix_early_setup()

The tracepoint trace_vfio_msix_early_setup() uses "int" for the type
of the table_bar argument, but we use this to print a uint32_t.
Coverity warns that this means that we could end up treating it as a
negative number.

We only use this in printing the value in the tracepoint, so
mishandling it as a negative number would be harmless, but it's
better to use the right type in the tracepoint.  Use uint64_t to
match how we print the table_offset in the vfio_msix_relo()
tracepoint.

Resolves: Coverity CID 1547690
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>


  Commit: e433f208973ffee4ca9159ebc7c8f6ab520358fa
      
https://github.com/qemu/qemu/commit/e433f208973ffee4ca9159ebc7c8f6ab520358fa
  Author: Corvin Köhne <corvin.koehne@gmail.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M hw/vfio/igd.c

  Log Message:
  -----------
  vfio/igd: return an invalid generation for unknown devices

Intel changes it's specification quite often e.g. the location and size
of the BDSM register has change for gen 11 devices and later. This
causes our emulation to fail on those devices. So, it's impossible for
us to use a suitable default value for unknown devices. Instead of
returning a random generation value and hoping that everthing works
fine, we should verify that different devices are working and add them
to our list of known devices.

Signed-off-by: Corvin Köhne <c.koehne@beckhoff.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>


  Commit: abd9dda914eac1fdcf21ce9b3ddd79ebe0172db2
      
https://github.com/qemu/qemu/commit/abd9dda914eac1fdcf21ce9b3ddd79ebe0172db2
  Author: Corvin Köhne <corvin.koehne@gmail.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M hw/vfio/igd.c

  Log Message:
  -----------
  vfio/igd: support legacy mode for all known generations

We're soon going to add support for legacy mode to ElkhartLake and
TigerLake devices. Those are gen 11 and 12 devices. At the moment, all
devices identified by our igd_gen function do support legacy mode. This
won't change when adding our new devices of gen 11 and 12. Therefore, it
makes more sense to accept legacy mode for all known devices instead of
maintaining a long list of known good generations. If we add a new
generation to igd_gen which doesn't support legacy mode for some reason,
it'll be easy to advance the check to reject legacy mode for this
specific generation.

Signed-off-by: Corvin Köhne <c.koehne@beckhoff.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>


  Commit: 7bafcd17672934284d59b82a2e2a876566c3f6f9
      
https://github.com/qemu/qemu/commit/7bafcd17672934284d59b82a2e2a876566c3f6f9
  Author: Corvin Köhne <corvin.koehne@gmail.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M hw/vfio/igd.c

  Log Message:
  -----------
  vfio/igd: use new BDSM register location and size for gen 11 and later

Intel changed the location and size of the BDSM register for gen 11
devices and later. We have to adjust our emulation for these devices to
properly support them.

Signed-off-by: Corvin Köhne <c.koehne@beckhoff.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>


  Commit: 11b5ce95beecfd51d1b17858d23fe9cbb0b5783f
      
https://github.com/qemu/qemu/commit/11b5ce95beecfd51d1b17858d23fe9cbb0b5783f
  Author: Corvin Köhne <corvin.koehne@gmail.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M hw/vfio/igd.c
    M hw/vfio/pci-quirks.c
    M hw/vfio/pci.h

  Log Message:
  -----------
  vfio/igd: add new bar0 quirk to emulate BDSM mirror

The BDSM register is mirrored into MMIO space at least for gen 11 and
later devices. Unfortunately, the Windows driver reads the register
value from MMIO space instead of PCI config space for those devices [1].
Therefore, we either have to keep a 1:1 mapping for the host and guest
address or we have to emulate the MMIO register too. Using the igd in
legacy mode is already hard due to it's many constraints. Keeping a 1:1
mapping may not work in all cases and makes it even harder to use. An
MMIO emulation has to trap the whole MMIO page. This makes accesses to
this page slower compared to using second level address translation.
Nevertheless, it doesn't have any constraints and I haven't noticed any
performance degradation yet making it a better solution.

[1] 
https://github.com/projectacrn/acrn-hypervisor/blob/5c351bee0f6ae46250eefc07f44b4a31e770f3cf/devicemodel/hw/pci/passthrough.c#L650-L653

Signed-off-by: Corvin Köhne <c.koehne@beckhoff.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>


  Commit: 9c86b9fb43cf724c4adcf234dc4c6d20d83ee370
      
https://github.com/qemu/qemu/commit/9c86b9fb43cf724c4adcf234dc4c6d20d83ee370
  Author: Corvin Köhne <corvin.koehne@gmail.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M hw/vfio/igd.c

  Log Message:
  -----------
  vfio/igd: add ID's for ElkhartLake and TigerLake

ElkhartLake and TigerLake devices were tested in legacy mode with Linux
and Windows VMs. Both are working properly. It's likely that other Intel
GPUs of gen 11 and 12 like IceLake device are working too. However,
we're only adding known good devices for now.

Signed-off-by: Corvin Köhne <c.koehne@beckhoff.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>


  Commit: 971ca22f041b8a1e67314a777caf3ce6f2832034
      
https://github.com/qemu/qemu/commit/971ca22f041b8a1e67314a777caf3ce6f2832034
  Author: Corvin Köhne <corvin.koehne@gmail.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M hw/vfio/igd.c

  Log Message:
  -----------
  vfio/igd: don't set stolen memory size to zero

The stolen memory is required for the GOP (EFI) driver and the Windows
driver. While the GOP driver seems to work with any stolen memory size,
the Windows driver will crash if the size doesn't match the size
allocated by the host BIOS. For that reason, it doesn't make sense to
overwrite the stolen memory size. It's true that this wastes some VM
memory. In the worst case, the stolen memory can take up more than a GB.
However, that's uncommon. Additionally, it's likely that a bunch of RAM
is assigned to VMs making use of GPU passthrough.

Signed-off-by: Corvin Köhne <c.koehne@beckhoff.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>


  Commit: 8719224166832ff8230d7dd8599f42bd60e2eb96
      
https://github.com/qemu/qemu/commit/8719224166832ff8230d7dd8599f42bd60e2eb96
  Author: Corvin Köhne <corvin.koehne@gmail.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M hw/vfio/igd.c

  Log Message:
  -----------
  vfio/igd: correctly calculate stolen memory size for gen 9 and later

We have to update the calculation of the stolen memory size because
we've seen devices using values of 0xf0 and above for the graphics mode
select field. The new calculation was taken from the linux kernel [1].

[1] 
https://github.com/torvalds/linux/blob/7c626ce4bae1ac14f60076d00eafe71af30450ba/arch/x86/kernel/early-quirks.c#L455-L460

Signed-off-by: Corvin Köhne <c.koehne@beckhoff.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>


  Commit: 790761c432c06e0b20d0cbf14ecf996c5c8d6842
      
https://github.com/qemu/qemu/commit/790761c432c06e0b20d0cbf14ecf996c5c8d6842
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

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

  Log Message:
  -----------
  .gitlab-ci.d/buildtest: Build most targets in the build-without-defaults job

Now that all the qtests are able to deal with builds that use the
"--without-default-devices" configuration switch, we can add all
targets to the build-without-defaults job. But to avoid burning too
much CI cycles in this job, exclude some targets where we already
have similar test coverage by a related target.

Message-ID: <20240905191434.694440-9-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 8d5ab746b1e6668ffb0378820b25665b385c8573
      
https://github.com/qemu/qemu/commit/8d5ab746b1e6668ffb0378820b25665b385c8573
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

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

  Log Message:
  -----------
  gitlab: fix logic for changing docker tag on stable branches

This fixes:

  commit e28112d00703abd136e2411d23931f4f891c9244
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   Thu Jun 8 17:40:16 2023 +0100

    gitlab: stable staging branches publish containers in a separate tag

Due to a copy+paste mistake, that commit included "QEMU_JOB_SKIPPED"
in the final rule that was meant to be a 'catch all' for staging
branches.

As a result stable branches are still splattering dockers from the
primary development branch.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Tested-by: Michael Tokarev <mjt@tls.msk.ru>
Message-ID: <20240906140958.84755-1-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 74dcb2535ddb459cec3ab0c136924e39856686c3
      
https://github.com/qemu/qemu/commit/74dcb2535ddb459cec3ab0c136924e39856686c3
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M tests/qtest/ipmi-bt-test.c
    M tests/qtest/ipmi-kcs-test.c
    M tests/qtest/rtl8139-test.c

  Log Message:
  -----------
  tests/qtest: replace assert(0) with g_assert_not_reached()

This patch is part of a series that moves towards a consistent use of
g_assert_not_reached() rather than an ad hoc mix of different
assertion mechanisms.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20240912073921.453203-13-pierrick.bouvier@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 6ceefb931fac9d67dd4d8742d406fab63a3c00d1
      
https://github.com/qemu/qemu/commit/6ceefb931fac9d67dd4d8742d406fab63a3c00d1
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M tests/unit/test-xs-node.c

  Log Message:
  -----------
  tests/unit: replace assert(0) with g_assert_not_reached()

This patch is part of a series that moves towards a consistent use of
g_assert_not_reached() rather than an ad hoc mix of different
assertion mechanisms.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20240912073921.453203-14-pierrick.bouvier@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 446ef11261499230e0439b147a874404dfbbe786
      
https://github.com/qemu/qemu/commit/446ef11261499230e0439b147a874404dfbbe786
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M include/hw/s390x/cpu-topology.h

  Log Message:
  -----------
  include/hw/s390x: replace assert(false) with g_assert_not_reached()

This patch is part of a series that moves towards a consistent use of
g_assert_not_reached() rather than an ad hoc mix of different
assertion mechanisms.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Message-ID: <20240912073921.453203-15-pierrick.bouvier@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 317e39f44646b7a8c8b10fbc85932cc7d7a92840
      
https://github.com/qemu/qemu/commit/317e39f44646b7a8c8b10fbc85932cc7d7a92840
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

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

  Log Message:
  -----------
  tests/qtest: replace assert(false) with g_assert_not_reached()

This patch is part of a series that moves towards a consistent use of
g_assert_not_reached() rather than an ad hoc mix of different
assertion mechanisms.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20240912073921.453203-24-pierrick.bouvier@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 70dc9c8ab51c29ddeaaffce715776b4242fe15d3
      
https://github.com/qemu/qemu/commit/70dc9c8ab51c29ddeaaffce715776b4242fe15d3
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M tests/qtest/migration-helpers.c

  Log Message:
  -----------
  tests/qtest: remove break after g_assert_not_reached()

This patch is part of a series that moves towards a consistent use of
g_assert_not_reached() rather than an ad hoc mix of different
assertion mechanisms.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20240912073921.453203-36-pierrick.bouvier@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: a1b47343fe27d5b827e24b02921988fa3c304201
      
https://github.com/qemu/qemu/commit/a1b47343fe27d5b827e24b02921988fa3c304201
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M system/qdev-monitor.c

  Log Message:
  -----------
  system: Sort QEMU_ARCH_VIRTIO_PCI definition

Sort the QEMU_ARCH_VIRTIO_PCI to simplify adding/removing entries.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240705124528.97471-2-philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: eef0a1e3f26df52590a8f40298efb841e241bdf4
      
https://github.com/qemu/qemu/commit/eef0a1e3f26df52590a8f40298efb841e241bdf4
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M system/qdev-monitor.c

  Log Message:
  -----------
  system: Enable the device aliases for or1k, too

Now that we've got a "virt" machine for or1k that supports PCI
too (commit 40fef82c4e "hw/openrisc: Add PCI bus support to virt")
we can also enable the virtio device aliases like we do on other
similar platforms. This will e.g. help to run the iotests with
qemu-system-or1k later.

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


  Commit: c0f86125c38599e5d4b39a0bb9161252623de694
      
https://github.com/qemu/qemu/commit/c0f86125c38599e5d4b39a0bb9161252623de694
  Author: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M docs/devel/testing/fuzzing.rst

  Log Message:
  -----------
  docs/fuzz: fix outdated mention to enable-sanitizers

This options has been removed at cb771ac1f5 (meson: Split
--enable-sanitizers to --enable-{asan, ubsan}, 2024-08-13), so let's
update its last standing mention in the docs.

Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Message-ID: 
<0ecf4e1ab26771009d74a2ce61e7c17ddc586ef7.1726226316.git.quic_mathbern@quicinc.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 0d2a8acf3fba4d0a572d621967652503a346ceaf
      
https://github.com/qemu/qemu/commit/0d2a8acf3fba4d0a572d621967652503a346ceaf
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M tests/functional/meson.build

  Log Message:
  -----------
  tests/functional: Move the mips64el fuloong2e test into the thorough category

Commit d2fce37597c2 added a test that downloads an asset from the
internet, so this test should not be run by default anymore and be
put into the thorough category instead.

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


  Commit: 66659fe76d3577b2cc3aa36d3935e3a2e9558e82
      
https://github.com/qemu/qemu/commit/66659fe76d3577b2cc3aa36d3935e3a2e9558e82
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

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

  Log Message:
  -----------
  .gitlab-ci.d/crossbuilds.yml: Force 'make check' to -j2 for cross-i686-tci

In commit 1374ed49e1453c300 we forced the cross-i686-tci job to -j1 to
see if this helped with test timeouts. It seems to help with that but
on the other hand we now sometimes run into the overall 60 minute
job timeout. Try -j2 instead.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240916134913.2540486-1-peter.maydell@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 89cd6254b80784a1b3f574407192493ef92fe65f
      
https://github.com/qemu/qemu/commit/89cd6254b80784a1b3f574407192493ef92fe65f
  Author: Dmitry Frolov <frolov@swemel.ru>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M hw/block/virtio-blk.c

  Log Message:
  -----------
  hw/block: fix uint32 overflow

The product bs->bl.zone_size * (bs->bl.nr_zones - 1) may overflow
uint32.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Dmitry Frolov <frolov@swemel.ru>
Message-id: 20240917080356.270576-2-frolov@swemel.ru
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: da7de6ef579cdbf516ee2b356eee3980d205f53c
      
https://github.com/qemu/qemu/commit/da7de6ef579cdbf516ee2b356eee3980d205f53c
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M hw/vfio/igd.c
    M hw/vfio/pci-quirks.c
    M hw/vfio/pci.h
    M hw/vfio/trace-events

  Log Message:
  -----------
  Merge tag 'pull-vfio-20240917' of https://github.com/legoater/qemu into 
staging

vfio queue:

* Support for IGDs of gen 11 and later
* Coverity fixes

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEEoPZlSPBIlev+awtgUaNDx8/77KEFAmbpWl0ACgkQUaNDx8/7
# 7KFYJhAAu8Dyf96RUr4ucu/VaSlTi/rk/i5sivD4EXiCOf2qpQtyoo+C8DJmjAZg
# nC+4IpD2vu2C/xaZoQ4o6uQL7c45dOup59jcbKO+6NekF521Y6aq9OvE5v55CAwu
# R38UWI6ZX5qqyU/tA39/s7migIvCtK7VgTzEs2Lpzw8WetCFattvrEiKHt09fNdX
# kSPdFVV6FymOowAekQtI2JACr8C5nm8x9npzyL1SjauvWA70aOU9h1iHoIxHGKFF
# jlotd6v16c0Z260AUP/RDBwf8wqg2MtwBOI3qVGYD20Xd7tRQkLlFp8X5lNw4pHr
# eylqqxW3E4LJ4vSWpi4Jj2tZN5tZl8X927ew79D2gf69R8f1l+5CG/qqynMRbZ0b
# gE1E5UNfEkXYX9PMuf2uenoiahMxh7ZHwzJmtFcTLGyHGudSaUu3S7Yu5a1R0ZDf
# 8OyzE1E1X/8uCABvSgPphtSfYD9kXKiwNJSPrj3PZ1nXgNoA6BDi5sOeTPm0POBA
# IfB10VEXDd61KPFKGQqZ1Qqrvb0LsCTvFTwCHRHBEB/F/ykwTX9dzrTInkTBTiQU
# OyDjKZvR2ACjysuFxvpA2fhhF7KCmCwg7M/YsKyVLKq2r3TdBnDS1DHm7Z5ebNu4
# vgV4fsPCnjaQxOHEHZmh+rxG0E2dOGMiCieY9ooJ6jeomKQ+d60=
# =cIWS
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 17 Sep 2024 11:30:53 BST
# gpg:                using RSA key A0F66548F04895EBFE6B0B6051A343C7CFFBECA1
# gpg: Good signature from "Cédric Le Goater <clg@kaod.org>" [undefined]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: A0F6 6548 F048 95EB FE6B  0B60 51A3 43C7 CFFB ECA1

* tag 'pull-vfio-20240917' of https://github.com/legoater/qemu:
  vfio/igd: correctly calculate stolen memory size for gen 9 and later
  vfio/igd: don't set stolen memory size to zero
  vfio/igd: add ID's for ElkhartLake and TigerLake
  vfio/igd: add new bar0 quirk to emulate BDSM mirror
  vfio/igd: use new BDSM register location and size for gen 11 and later
  vfio/igd: support legacy mode for all known generations
  vfio/igd: return an invalid generation for unknown devices
  hw/vfio/pci.c: Use correct type in trace_vfio_msix_early_setup()

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


  Commit: 9b47188186a7192fa9835ffd9789b5daf218b639
      
https://github.com/qemu/qemu/commit/9b47188186a7192fa9835ffd9789b5daf218b639
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M .gitlab-ci.d/base.yml
    M .gitlab-ci.d/buildtest.yml
    M docs/devel/testing/fuzzing.rst
    M include/hw/s390x/cpu-topology.h
    M system/qdev-monitor.c
    M tests/functional/meson.build
    M tests/qtest/boot-order-test.c
    M tests/qtest/cdrom-test.c
    M tests/qtest/hd-geo-test.c
    M tests/qtest/ipmi-bt-test.c
    M tests/qtest/ipmi-kcs-test.c
    M tests/qtest/meson.build
    M tests/qtest/migration-helpers.c
    M tests/qtest/numa-test.c
    M tests/qtest/rtl8139-test.c
    M tests/unit/test-xs-node.c

  Log Message:
  -----------
  Merge tag 'pull-request-2024-09-17' of https://gitlab.com/thuth/qemu into 
staging

* Make all qtest targets work with "--without-default-devices"
* Replace assert(0) and assert(false) in qtests and s390x code
* Enable the device aliases for or1k
* Some other small test improvements

# -----BEGIN PGP SIGNATURE-----
#
# iQJFBAABCAAvFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAmbpWwwRHHRodXRoQHJl
# ZGhhdC5jb20ACgkQLtnXdP5wLbUj2A//VQwwbbuQa4FO/fu8mX0/iL43IZPLkVvC
# XPesidMwEsaNlfnUGLwjr9/F9sU7NXSkEdBWshU69ER9D4FPvRlZ6xOc0GB2HHEm
# 2zYBaQoMvB/g5/FMkp5/YqPc/FvYMxePTX0syJCUkdf9hbM3YJagUgSKaz/2ZJRu
# +wztsRMSGx9WBeabTWgbAtGlfEqtfSGdfFHbNtoEVmO/K3rvcAHJhPXZpSmdq4CV
# ymwYQ3Ul1Sdz/34TzshhkY9VvYU6n1zuB+kGrjPcQrOdBV/ukJuBiFkHfSZm/2ch
# zTqbdXvkds867vHMo9s3JeVKPa8ZytKn4ycXXgVS5AZtrnEnyHztlVHWbwbHSafF
# rVGXnE3FabzKL4sEKGzOjMegnwdWtpBNwMVKUZIgURqDXAVVR2m+lf2pW/Niz2WR
# m0LNIcg0NPvxPwuq1xLVHc3CLNSCszu4Ao5YRhKimf3hb+FvzHty3dxn+DDg4+Q4
# hHqQRcbWILhYJEwcAVkfaMTtCh/RESiNi0U7Teqvr+aqBsJP8kdCkE5rY7cqzrqn
# aDaompDZ8QG1QA1c3NaxtmNsvTvpm8gBySrqbMizo8UHQd85HDdXFkAZfI4HWKDi
# jhZAEyh1HLeXrgDT/D0WBWQdPLjDZewTvqgqT/A5XbdR1u4XYXcxwMCpIN1iKFoY
# 8qu0hIcsILM=
# =DXEK
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 17 Sep 2024 11:33:48 BST
# 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-2024-09-17' of https://gitlab.com/thuth/qemu:
  .gitlab-ci.d/crossbuilds.yml: Force 'make check' to -j2 for cross-i686-tci
  tests/functional: Move the mips64el fuloong2e test into the thorough category
  docs/fuzz: fix outdated mention to enable-sanitizers
  system: Enable the device aliases for or1k, too
  system: Sort QEMU_ARCH_VIRTIO_PCI definition
  tests/qtest: remove break after g_assert_not_reached()
  tests/qtest: replace assert(false) with g_assert_not_reached()
  include/hw/s390x: replace assert(false) with g_assert_not_reached()
  tests/unit: replace assert(0) with g_assert_not_reached()
  tests/qtest: replace assert(0) with g_assert_not_reached()
  gitlab: fix logic for changing docker tag on stable branches
  .gitlab-ci.d/buildtest: Build most targets in the build-without-defaults job
  tests/qtest: Disable numa-test if the default machine is not available
  tests/qtest/meson.build: Add more CONFIG switches checks for the x86 tests
  tests/qtest/hd-geo-test: Check for availability of "pc" machine before using 
it
  tests/qtest/boot-order-test: Make the machine name mandatory in this test
  tests/qtest/cdrom-test: Improve the machine detection in the cdrom test

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


  Commit: 2b81c046252fbfb375ad30632362fc16e6e22bd5
      
https://github.com/qemu/qemu/commit/2b81c046252fbfb375ad30632362fc16e6e22bd5
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M hw/block/virtio-blk.c

  Log Message:
  -----------
  Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into 
staging

Pull request

An integer overflow fix for the last zone on a zoned block device whose
capacity is not a multiple of the zone size.

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmbpa0sACgkQnKSrs4Gr
# c8hdAwgAgp6AJVXHiPo43GbhdSsKJ2bq8DIPrsqgwAxD3rgxxRVwsWzENQgzF8O9
# qoXPmU0eqPp0zTsKTxNrlIgCpsJ3X4Oeg89u4N1xUOAJtADZGlbucUQEkAgIhWMl
# IFLjtFc7EbhWn57FmQGzANeOJOB+OumfQGeC7wbeAtUCn7g08rXtq+5I5GRKqkkP
# u1FlSassd7fyVnlVc+BT2aKANBITKhJGhYqwndvxXzMIi0L54/bQRrarLoy7oJuG
# 1k8zYLi6giUINNwYMtzn5ooXNnOSoxHKKfwcFT8hGZixwBBnCnYHjNkfs/QyvZQ7
# ZuR9mY6pqp/lg5127UlpOR7d6HADLQ==
# =709Z
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 17 Sep 2024 12:43:07 BST
# gpg:                using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" [full]
# gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>" [full]
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8

* tag 'block-pull-request' of https://gitlab.com/stefanha/qemu:
  hw/block: fix uint32 overflow

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


Compare: https://github.com/qemu/qemu/compare/cff199398fa9...2b81c046252f

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications



reply via email to

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