qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 9444e5: iotests: get rid of '..' in path envi


From: Alex Bennée
Subject: [Qemu-commits] [qemu/qemu] 9444e5: iotests: get rid of '..' in path environment output
Date: Wed, 18 Oct 2023 03:21:59 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 9444e5f5a1b160413023165827a0ffd69c091ff7
      
https://github.com/qemu/qemu/commit/9444e5f5a1b160413023165827a0ffd69c091ff7
  Author: John Snow <jsnow@redhat.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M tests/qemu-iotests/testenv.py

  Log Message:
  -----------
  iotests: get rid of '..' in path environment output

Resolve the build_root before we append more items onto it so that the
environment output is more concise with less parent directory confetti
in it.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-ID: <20230621002121.1609612-4-jsnow@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: c624cb32a92b84e7978e512e4d67c4e2b72b0e2b
      
https://github.com/qemu/qemu/commit/c624cb32a92b84e7978e512e4d67c4e2b72b0e2b
  Author: John Snow <jsnow@redhat.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M tests/qemu-iotests/linters.py

  Log Message:
  -----------
  iotests: use the correct python to run linters

Whichever python is used to run iotest 297 should be the one used to
actually run the linters.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-ID: <20230621002121.1609612-5-jsnow@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 4f94781196a5bea7c07f6a6d6c301abf2a069e2b
      
https://github.com/qemu/qemu/commit/4f94781196a5bea7c07f6a6d6c301abf2a069e2b
  Author: Yonggang Luo <luoyonggang@gmail.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M configure

  Log Message:
  -----------
  Revert "configure: Add workaround for ccache and clang"

This reverts commit fd0e60530f10078f488fa3e9591cc7db5732989c.

According to 
https://peter.eisentraut.org/blog/2014/12/01/ccache-and-clang-part-3
it's already fixed in new version of ccache

According to https://ccache.dev/manual/4.8.html#config_run_second_cpp
CCACHE_CPP2 are default to true for new version ccache

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Message-ID: <20231009165113.498-1-luoyonggang@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 83629b14614a7b56358addd96ff85d92eb6f72dc
      
https://github.com/qemu/qemu/commit/83629b14614a7b56358addd96ff85d92eb6f72dc
  Author: Xiaoyao Li <xiaoyao.li@intel.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M target/i386/cpu.c
    M target/i386/kvm/kvm.c

  Log Message:
  -----------
  target/i386/cpu: Fix CPUID_HT exposure

When explicitly booting a multiple vcpus vm with "-cpu +ht", it gets
warning of

  warning: host doesn't support requested feature: CPUID.01H:EDX.ht [bit 28]

Make CPUID_HT as supported unconditionally can resolve the warning.
However it introduces another issue that it also expose CPUID_HT to
guest when "-cpu host/max" with only 1 vcpu. To fix this, need mark
CPUID_HT as the no_autoenable_flags.

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Message-ID: <20231010060539.210258-1-xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 24b34590d07f885a906ebb52fd84aa5e33d4e421
      
https://github.com/qemu/qemu/commit/24b34590d07f885a906ebb52fd84aa5e33d4e421
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M target/i386/svm.h
    M target/i386/tcg/translate.c

  Log Message:
  -----------
  target/i386: check intercept for XSETBV

Note that this intercept is special; it is checked before the #GP
exception.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: a6b75c9f6788db93769f0598a467a23befe30573
      
https://github.com/qemu/qemu/commit/a6b75c9f6788db93769f0598a467a23befe30573
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M tests/vm/netbsd

  Log Message:
  -----------
  tests/vm: netbsd: install dtc

Install dtc as it is now a mandatory external dependency in order to build QEMU.

Co-developed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: d7fd737bf478f37fbd5a140599e022127c9a650d
      
https://github.com/qemu/qemu/commit/d7fd737bf478f37fbd5a140599e022127c9a650d
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M scripts/feature_to_c.py

  Log Message:
  -----------
  scripts: Mark feature_to_c.py as non-executable to fix a build issue

Meson tries to run scripts via the shebang line if they files are
marked as executable. If "python3" is not in the $PATH, or if it
is a version that is too old, then the script execution fails.
We should make sure to run scripts via the python3 interpreter
that is used for Meson itself. For this, the files need to be marked
as non-executable, then meson will use the python3 binary that has
been used to run itself.

Fixes: 956af7daad ("gdbstub: Introduce GDBFeature structure")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231016094917.19044-1-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 2845bab65a145b2bc447e156436ddf45a7e090e1
      
https://github.com/qemu/qemu/commit/2845bab65a145b2bc447e156436ddf45a7e090e1
  Author: Emmanouil Pitsidianakis <manos.pitsidianakis@linaro.org>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M scripts/get_maintainer.pl

  Log Message:
  -----------
  scripts/get_maintainer.pl: don't print parentheses

When called from git-send-email, some results contain unclosed
parentheses from the subsystem title, for example:

    (cc-cmd) Adding cc: qemu-ppc@nongnu.org (open list:PowerNV (Non-Virt...) 
from: 'scripts/get_maintainer.pl --nogit-fallback'
    (cc-cmd) Adding cc: qemu-devel@nongnu.org (open list:All patches CC here) 
from: 'scripts/get_maintainer.pl --nogit-fallback'
    Unmatched () '(open list:PowerNV (Non-Virt...)' '' at 
/usr/lib/git-core/git-send-email line 642.
    error: unable to extract a valid address from: qemu-ppc@nongnu.org (open 
list:PowerNV (Non-Virt...)
    What to do with this address? ([q]uit|[d]rop|[e]dit): d

This commit removes all parentheses from results.

Signed-off-by: Emmanouil Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231013091628.669415-1-manos.pitsidianakis@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: a5e3cb3b90a62a42cd19ad9a20ca25c7df1dc3da
      
https://github.com/qemu/qemu/commit/a5e3cb3b90a62a42cd19ad9a20ca25c7df1dc3da
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M tests/docker/docker.py

  Log Message:
  -----------
  tests/docker: avoid invalid escape in Python string

This is an error in Python 3.12; fix it by using a raw string literal.

Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: e4b6532cc0a5518c0dea15eeca573829df9ec1df
      
https://github.com/qemu/qemu/commit/e4b6532cc0a5518c0dea15eeca573829df9ec1df
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M docs/sphinx/hxtool.py

  Log Message:
  -----------
  docs/sphinx: avoid invalid escape in Python string

This is an error in Python 3.12; fix it by using a raw string literal.

Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: e41c40d101fce79af4d679955eb6e0d31e02c47c
      
https://github.com/qemu/qemu/commit/e41c40d101fce79af4d679955eb6e0d31e02c47c
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M target/hexagon/hex_common.py

  Log Message:
  -----------
  target/hexagon: avoid invalid escape in Python string

This is an error in Python 3.12; fix it by using a raw string literal.

Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 1b5f3f65cc71341a4f9fc9e89bb6985fde703758
      
https://github.com/qemu/qemu/commit/1b5f3f65cc71341a4f9fc9e89bb6985fde703758
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M tests/avocado/virtio_check_params.py

  Log Message:
  -----------
  tests/avocado: avoid invalid escape in Python string

This is an error in Python 3.12; fix it by using a raw string literal.

Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 86a8989d4557a09b68f8b78b6c3fb6ad3f23ca6f
      
https://github.com/qemu/qemu/commit/86a8989d4557a09b68f8b78b6c3fb6ad3f23ca6f
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M tests/vm/basevm.py

  Log Message:
  -----------
  tests/vm: avoid invalid escape in Python string

This is an error in Python 3.12; fix it by using a raw string literal
or by double-escaping the backslash.

Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: e6d8e5e6e366ab4c9ed7d8ed1572f98c6ad6a38e
      
https://github.com/qemu/qemu/commit/e6d8e5e6e366ab4c9ed7d8ed1572f98c6ad6a38e
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M scripts/tracetool/__init__.py
    M scripts/tracetool/format/log_stap.py

  Log Message:
  -----------
  tracetool: avoid invalid escape in Python string

This is an error in Python 3.12; fix it by using a raw string literal.

Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 9bad39c7e86a7fea05b66e7d3425f5874b3bbcfb
      
https://github.com/qemu/qemu/commit/9bad39c7e86a7fea05b66e7d3425f5874b3bbcfb
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M ui/shader/meson.build

  Log Message:
  -----------
  meson: do not build shaders by default

They are not needed when building user-mode emulators.

Reviewed-by: Emmanouil Pitsidianakis <manos.pitsidianakis@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 230f6e06b83474314898f27c0a7b2f0593071875
      
https://github.com/qemu/qemu/commit/230f6e06b83474314898f27c0a7b2f0593071875
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M include/qemu/compiler.h
    M meson.build
    M tests/unit/test-coroutine.c
    M util/qemu-coroutine.c

  Log Message:
  -----------
  meson: do not use set10

Make all items of config-host.h consistent.  To keep the 
--disable-coroutine-pool
code visible to the compiler, mutuate the IS_ENABLED() macro from Linux.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 655e2a778dd701822bbe0bf90dad74c25bb05e49
      
https://github.com/qemu/qemu/commit/655e2a778dd701822bbe0bf90dad74c25bb05e49
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M meson.build
    M meson_options.txt
    M scripts/meson-buildoptions.sh
    M util/cutils.c

  Log Message:
  -----------
  meson, cutils: allow non-relocatable installs

Say QEMU is configured with bindir = "/usr/bin" and a firmware path
that starts with "/usr/share/qemu".  Ever since QEMU 5.2, QEMU's
install has been relocatable: if you move qemu-system-x86_64 from
/usr/bin to /home/username/bin, it will start looking for firmware in
/home/username/share/qemu.  Previously, you would get a non-relocatable
install where the moved QEMU will keep looking for firmware in
/usr/share/qemu.

Windows almost always wants relocatable installs, and in fact that
is why QEMU 5.2 introduced relocatability in the first place.
However, newfangled distribution mechanisms such as AppImage
(https://docs.appimage.org/reference/best-practices.html), and
possibly NixOS, also dislike using at runtime the absolute paths
that were established at build time.

On POSIX systems you almost never care; if you do, your usecase
dictates which one is desirable, so there's no single answer.
Obviously relocatability works fine most of the time, because not many
people have complained about QEMU's switch to relocatable install,
and that's why until now there was no way to disable relocatability.

But a non-relocatable, non-modular binary can help if you want to do
experiments with old firmware and new QEMU or vice versa (because you
can just upgrade/downgrade the firmware package, and use rpm2cpio or
similar to extract the QEMU binaries outside /usr), so allow both.
This patch allows one to build a non-relocatable install using a new
option to configure.  Why?  Because it's not too hard, and because
it helps the user double check the relocatability of their install.

Note that the same code that handles relocation also lets you run QEMU
from the build tree and pick e.g. firmware files from the source tree
transparently.  Therefore that part remains active with this patch,
even if you configure with --disable-relocatable.

Suggested-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Emmanouil Pitsidianakis <manos.pitsidianakis@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: ae22ae651515045ea06eac9abc55dacbfd616bd4
      
https://github.com/qemu/qemu/commit/ae22ae651515045ea06eac9abc55dacbfd616bd4
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: clean up handling of CFI option

Avoid that --enable-cfi --disable-cfi leaves b_lto set to true.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: adfa939e735688dba1098d91e8c71aef6d5ccd6b
      
https://github.com/qemu/qemu/commit/adfa939e735688dba1098d91e8c71aef6d5ccd6b
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/arm/meson.build
    M hw/i386/meson.build
    M hw/xen/meson.build

  Log Message:
  -----------
  hw/xen: cleanup sourcesets

xen_ss is added unconditionally to arm_ss and i386_ss (the only
targets that can have CONFIG_XEN enabled) and its contents are gated by
CONFIG_XEN; xen_specific_ss has no condition for its constituent files
but is gated on CONFIG_XEN when its added to specific_ss.

So xen_ss is a duplicate of xen_specific_ss, though defined in a
different way.  Merge the two by eliminating xen_ss.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 1725253647a7b579f205adb6e9a91e9406fc0ef9
      
https://github.com/qemu/qemu/commit/1725253647a7b579f205adb6e9a91e9406fc0ef9
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/remote/meson.build
    A hw/remote/vfio-user-obj-stub.c
    M stubs/meson.build
    R stubs/vfio-user-obj.c

  Log Message:
  -----------
  hw/remote: move stub vfu_object_set_bus_irq out of stubs/

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 730be6138e5efa949b351e2b649cc9b5d96dce7d
      
https://github.com/qemu/qemu/commit/730be6138e5efa949b351e2b649cc9b5d96dce7d
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M tests/tcg/aarch64/Makefile.target

  Log Message:
  -----------
  tests/tcg/arm: move non-SVE tests out of conditional

test-aes, sha1-vector and sha512-vector need not be conditional on
$(CROSS_CC_HAS_SVE), reorganize the "if"s to move them outside.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: a47dd5c516ed7fff768554ac1ec4cba2145c5ea9
      
https://github.com/qemu/qemu/commit/a47dd5c516ed7fff768554ac1ec4cba2145c5ea9
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M configure
    M meson.build
    M tests/tcg/aarch64/Makefile.target
    M tests/tcg/multiarch/Makefile.target
    M tests/tcg/multiarch/system/Makefile.softmmu-target
    M tests/tcg/s390x/Makefile.target

  Log Message:
  -----------
  configure, tests/tcg: simplify GDB conditionals

Unify HAVE_GDB_BIN (currently in config-host.mak) and
HOST_GDB_SUPPORTS_ARCH into a single GDB variable in
config-target.mak.

Reviewed-by: Emmanouil Pitsidianakis <manos.pitsidianakis@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 39fb3cfc28baac007ea8dafaf7a2c22c44faba19
      
https://github.com/qemu/qemu/commit/39fb3cfc28baac007ea8dafaf7a2c22c44faba19
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M configure
    M scripts/meson-buildoptions.py
    M scripts/meson-buildoptions.sh

  Log Message:
  -----------
  configure: clean up plugin option handling

Keep together all the conditions that lead to disabling plugins, and
remove now-dead code.

Since the option was not in SKIP_OPTIONS, it was present twice in
the help message, both from configure and from meson-buildoptions.sh.
Remove the duplication and take the occasion to document the option as
autodetected, which it is.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 2e938a9a6145be52488af74949d49a60ce8baaad
      
https://github.com/qemu/qemu/commit/2e938a9a6145be52488af74949d49a60ce8baaad
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: clean up PIE option handling

Keep together all the conditions that lead to disabling PIE.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 050b439887edbbd1b07b94111ffdffbc817e97cf
      
https://github.com/qemu/qemu/commit/050b439887edbbd1b07b94111ffdffbc817e97cf
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: remove some dead cruft

print_error is only invoked in one place, and $git is unused.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: c36dd41ba2a8bd8d51f4f7499fbdc02b1bd5c865
      
https://github.com/qemu/qemu/commit/c36dd41ba2a8bd8d51f4f7499fbdc02b1bd5c865
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    A configs/meson/windows.txt
    M configure
    M scripts/meson-buildoptions.py
    M scripts/meson-buildoptions.sh

  Log Message:
  -----------
  configure: move target-specific defaults to an external machine file

Enable Windows-specific defaults with a machine file, so that related
options can be automatically parsed and included in the help message.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 090a188cc1a85b8b5e33ad164c923003935323cc
      
https://github.com/qemu/qemu/commit/090a188cc1a85b8b5e33ad164c923003935323cc
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M configure
    M scripts/meson-buildoptions.py
    M scripts/meson-buildoptions.sh

  Log Message:
  -----------
  configure: move environment-specific defaults to config-meson.cross

Store the -Werror and SMBD defaults in the machine file, which still allows
them to be overridden on the command line and enables automatic parsing
of the related options.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 17599573bf1ff18442e34d6760bbb8d090a30a08
      
https://github.com/qemu/qemu/commit/17599573bf1ff18442e34d6760bbb8d090a30a08
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: unify handling of several Debian cross containers

The Debian and GNU architecture names match very often, even though
there are common cases (32-bit Arm or 64-bit x86) where they do not
and other cases in which the GNU triplet is actually a quadruplet.
But it is still possible to group the common case into a single
case inside probe_target_compiler.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: e20d68aa0b9546655c4017fb7341173bba825958
      
https://github.com/qemu/qemu/commit/e20d68aa0b9546655c4017fb7341173bba825958
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M configure
    M meson_options.txt
    M qga/meson.build
    M scripts/meson-buildoptions.sh

  Log Message:
  -----------
  configure, meson: use command line options to configure qemu-ga

Preserve the functionality of the environment variables, but
allow using the command line instead.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 79fccf7e2bd792e20f2ceab9b5a30d9f47dbf409
      
https://github.com/qemu/qemu/commit/79fccf7e2bd792e20f2ceab9b5a30d9f47dbf409
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M scripts/meson-buildoptions.py

  Log Message:
  -----------
  meson-buildoptions: document the data at the top

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: b4d61d3d816fcde0aa560d16a44f4790d7c8de3f
      
https://github.com/qemu/qemu/commit/b4d61d3d816fcde0aa560d16a44f4790d7c8de3f
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: add a note on why we use config_host for program paths

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 528148980adb78bc368a5254204e2ea98e4f6b6c
      
https://github.com/qemu/qemu/commit/528148980adb78bc368a5254204e2ea98e4f6b6c
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: define "pkg-config" in addition to "pkgconfig"

Meson used to allow both "pkgconfig" and "pkg-config" entries in machine
files; the former was used for dependency lookup and the latter
was used as return value for "find_program('pkg-config')", which is a less
common use-case and one that QEMU does not need.

This inconsistency is going to be fixed by Meson 1.3, which will deprecate
"pkgconfig" in favor of "pkg-config" (the less common one, but it makes
sense because it matches the name of the binary). For backward
compatibility it is still allowed to define both, so do that in the
configure-generated machine file.

Related: https://github.com/mesonbuild/meson/pull/12385
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 8cba58b57865140b16e38b6c5a273db81f827860
      
https://github.com/qemu/qemu/commit/8cba58b57865140b16e38b6c5a273db81f827860
  Author: Eric Auger <eric.auger@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M scripts/update-linux-headers.sh

  Log Message:
  -----------
  scripts/update-linux-headers: Add iommufd.h

Update the script to import iommufd.h

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: f7cbfa71303c2ecf31d240f764516a5fc823cf97
      
https://github.com/qemu/qemu/commit/f7cbfa71303c2ecf31d240f764516a5fc823cf97
  Author: Zhenzhong Duan <zhenzhong.duan@intel.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    A linux-headers/linux/iommufd.h

  Log Message:
  -----------
  linux-headers: Add iommufd.h

Since commit da3c22c74a3c ("linux-headers: Update to Linux v6.6-rc1"),
linux-headers has been updated to v6.6-rc1.

As previous patch added iommufd.h to update-linux-headers.sh,
run the script again against TAG v6.6-rc1 to have iommufd.h included.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: 1e09f52f4d1f1775004c9c64bbef1f498a915758
      
https://github.com/qemu/qemu/commit/1e09f52f4d1f1775004c9c64bbef1f498a915758
  Author: Yi Liu <yi.l.liu@intel.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/vfio/common.c
    A hw/vfio/helpers.c
    M hw/vfio/meson.build
    M include/hw/vfio/vfio-common.h

  Log Message:
  -----------
  vfio/common: Move IOMMU agnostic helpers to a separate file

Move low-level iommu agnostic helpers to a separate helpers.c
file. They relate to regions, interrupts, device/region
capabilities and etc.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: 77c212599d3851ebaaff435013f571f6870a00b1
      
https://github.com/qemu/qemu/commit/77c212599d3851ebaaff435013f571f6870a00b1
  Author: Eric Auger <eric.auger@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/vfio/common.c

  Log Message:
  -----------
  vfio/common: Propagate KVM_SET_DEVICE_ATTR error if any

In the VFIO_SPAPR_TCE_v2_IOMMU container case, when
KVM_SET_DEVICE_ATTR fails, we currently don't propagate the
error as we do on the vfio_spapr_create_window() failure
case. Let's align the code. Take the opportunity to
reword the error message and make it more explicit.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: a33832b1948561bb2606371de0c5e2ef03921d93
      
https://github.com/qemu/qemu/commit/a33832b1948561bb2606371de0c5e2ef03921d93
  Author: Eric Auger <eric.auger@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/vfio/common.c

  Log Message:
  -----------
  vfio/common: Introduce vfio_container_add|del_section_window()

Introduce helper functions that isolate the code used for
VFIO_SPAPR_TCE_v2_IOMMU.

Those helpers hide implementation details beneath the container object
and make the vfio_listener_region_add/del() implementations more
readable. No code change intended.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: 5621c02d5adf3841884bb751ec8cf43d931aaa25
      
https://github.com/qemu/qemu/commit/5621c02d5adf3841884bb751ec8cf43d931aaa25
  Author: Zhenzhong Duan <zhenzhong.duan@intel.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/vfio/common.c
    M include/hw/vfio/vfio-common.h

  Log Message:
  -----------
  vfio/common: Extract out vfio_kvm_device_[add/del]_fd

Introduce two new helpers, vfio_kvm_device_[add/del]_fd
which take as input a file descriptor which can be either a group fd or
a cdev fd. This uses the new KVM_DEV_VFIO_FILE VFIO KVM device group,
which aliases to the legacy KVM_DEV_VFIO_GROUP.

vfio_kvm_device_[add/del]_group then call those new helpers.

Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: 5456b1867d10826e3857fda417b59a669fa5cce9
      
https://github.com/qemu/qemu/commit/5456b1867d10826e3857fda417b59a669fa5cce9
  Author: Eric Auger <eric.auger@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/vfio/common.c
    M hw/vfio/pci.c
    M hw/vfio/trace-events
    M include/hw/vfio/vfio-common.h

  Log Message:
  -----------
  vfio/pci: Introduce vfio_[attach/detach]_device

We want the VFIO devices to be able to use two different
IOMMU backends, the legacy VFIO one and the new iommufd one.

Introduce vfio_[attach/detach]_device which aim at hiding the
underlying IOMMU backend (IOCTLs, datatypes, ...).

Once vfio_attach_device completes, the device is attached
to a security context and its fd can be used. Conversely
When vfio_detach_device completes, the device has been
detached from the security context.

At the moment only the implementation based on the legacy
container/group exists. Let's use it from the vfio-pci device.
Subsequent patches will handle other devices.

We also take benefit of this patch to properly free
vbasedev->name on failure.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: da5ed43299bb5d99ffea819b8a3c3629005ea9fd
      
https://github.com/qemu/qemu/commit/da5ed43299bb5d99ffea819b8a3c3629005ea9fd
  Author: Eric Auger <eric.auger@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/vfio/platform.c
    M hw/vfio/trace-events

  Log Message:
  -----------
  vfio/platform: Use vfio_[attach/detach]_device

Let the vfio-platform device use vfio_attach_device() and
vfio_detach_device(), hence hiding the details of the used
IOMMU backend.

Drop the trace event for vfio-platform as we have similar
one in vfio_attach_device.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: c95d128ee3cf3319c9b40b550eac8df3f86fa410
      
https://github.com/qemu/qemu/commit/c95d128ee3cf3319c9b40b550eac8df3f86fa410
  Author: Eric Auger <eric.auger@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/vfio/ap.c

  Log Message:
  -----------
  vfio/ap: Use vfio_[attach/detach]_device

Let the vfio-ap device use vfio_attach_device() and
vfio_detach_device(), hence hiding the details of the used
IOMMU backend.

We take the opportunity to use g_path_get_basename() which
is prefered, as suggested by
3e015d815b ("use g_path_get_basename instead of basename")

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: e08041ece7392aae895487b97299f33ddc8de131
      
https://github.com/qemu/qemu/commit/e08041ece7392aae895487b97299f33ddc8de131
  Author: Eric Auger <eric.auger@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/vfio/ccw.c
    M hw/vfio/common.c
    M include/hw/vfio/vfio-common.h

  Log Message:
  -----------
  vfio/ccw: Use vfio_[attach/detach]_device

Let the vfio-ccw device use vfio_attach_device() and
vfio_detach_device(), hence hiding the details of the used
IOMMU backend.

Note that the migration reduces the following trace
"vfio: subchannel %s has already been attached" (featuring
cssid.ssid.devid) into "device is already attached"

Also now all the devices have been migrated to use the new
vfio_attach_device/vfio_detach_device API, let's turn the
legacy functions into static functions, local to container.c.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: c8fcb90c968717323a763d2152bc6103ce720b65
      
https://github.com/qemu/qemu/commit/c8fcb90c968717323a763d2152bc6103ce720b65
  Author: Zhenzhong Duan <zhenzhong.duan@intel.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/vfio/common.c

  Log Message:
  -----------
  vfio/common: Move VFIO reset handler registration to a group agnostic function

Move the reset handler registration/unregistration to a place that is not
group specific. vfio_[get/put]_address_space are the best places for that
purpose.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: 7103ef7e765dfdf84ba7042f46d3cc0da682cb89
      
https://github.com/qemu/qemu/commit/7103ef7e765dfdf84ba7042f46d3cc0da682cb89
  Author: Zhenzhong Duan <zhenzhong.duan@intel.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/vfio/common.c
    M include/hw/vfio/vfio-common.h

  Log Message:
  -----------
  vfio/common: Introduce a per container device list

Several functions need to iterate over the VFIO devices attached to
a given container.  This is currently achieved by iterating over the
groups attached to the container and then over the devices in the group.
Let's introduce a per container device list that simplifies this
search.

Per container list is used in below functions:
vfio_devices_all_dirty_tracking
vfio_devices_all_device_dirty_tracking
vfio_devices_all_running_and_mig_active
vfio_devices_dma_logging_stop
vfio_devices_dma_logging_start
vfio_devices_query_dirty_bitmap

This will also ease the migration of IOMMUFD by hiding the group
specificity.

Suggested-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: 0bddd88027679d3c34b7c754a13c7af002adbd99
      
https://github.com/qemu/qemu/commit/0bddd88027679d3c34b7c754a13c7af002adbd99
  Author: Zhenzhong Duan <zhenzhong.duan@intel.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/vfio/common.c
    M include/hw/vfio/vfio-common.h

  Log Message:
  -----------
  vfio/common: Store the parent container in VFIODevice

let's store the parent contaienr within the VFIODevice.
This simplifies the logic in vfio_viommu_preset() and
brings the benefice to hide the group specificity which
is useful for IOMMUFD migration.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: 3d779abafe9fff4fdbbc6c8dd2a6f6f901d98870
      
https://github.com/qemu/qemu/commit/3d779abafe9fff4fdbbc6c8dd2a6f6f901d98870
  Author: Zhenzhong Duan <zhenzhong.duan@intel.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/vfio/common.c
    M include/hw/vfio/vfio-common.h

  Log Message:
  -----------
  vfio/common: Introduce a global VFIODevice list

Some functions iterate over all the VFIODevices. This is currently
achieved by iterating over all groups/devices. Let's
introduce a global list of VFIODevices simplifying that scan.

This will also be useful while migrating to IOMMUFD by hiding the
group specificity.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Suggested-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: 7e63b3113889b531cbb56b09d69cc182608bb78e
      
https://github.com/qemu/qemu/commit/7e63b3113889b531cbb56b09d69cc182608bb78e
  Author: Yi Liu <yi.l.liu@intel.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/vfio/common.c
    A hw/vfio/container.c
    M hw/vfio/meson.build
    M include/hw/vfio/vfio-common.h

  Log Message:
  -----------
  vfio/common: Move legacy VFIO backend code into separate container.c

Move all the code really dependent on the legacy VFIO container/group
into a separate file: container.c. What does remain in common.c is
the code related to VFIOAddressSpace, MemoryListeners, migration and
all other general operations.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: fde4dbb7e61396a38fcc172ab02dbf839b468ebe
      
https://github.com/qemu/qemu/commit/fde4dbb7e61396a38fcc172ab02dbf839b468ebe
  Author: Zhenzhong Duan <zhenzhong.duan@intel.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/vfio/common.c

  Log Message:
  -----------
  vfio/pci: Fix a potential memory leak in vfio_listener_region_add

When there is an failure in vfio_listener_region_add() and the section
belongs to a ram device, there is an inaccurate error report which should
never be related to vfio_dma_map failure. The memory holding err is also
incrementally leaked in each failure.

Fix it by reporting the real error and free it.

Fixes: 567b5b309ab ("vfio/pci: Relax DMA map errors for MMIO regions")
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: 88ceb67a6f9b049e2f0ae3df00862e9d6057a5f0
      
https://github.com/qemu/qemu/commit/88ceb67a6f9b049e2f0ae3df00862e9d6057a5f0
  Author: Zhenzhong Duan <zhenzhong.duan@intel.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/vfio/ap.c

  Log Message:
  -----------
  vfio/ap: Remove pointless apdev variable

No need to double-cast, call VFIO_AP_DEVICE() on DeviceState.

No functional changes.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: 410ee49190f46b4e545acee9cb70717e12d8305b
      
https://github.com/qemu/qemu/commit/410ee49190f46b4e545acee9cb70717e12d8305b
  Author: Zhenzhong Duan <zhenzhong.duan@intel.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M include/hw/s390x/vfio-ccw.h

  Log Message:
  -----------
  vfio/ccw: Remove redundant definition of TYPE_VFIO_CCW

No functional changes.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: c0f527f4cc6659f55279f7d774dd804a1504a401
      
https://github.com/qemu/qemu/commit/c0f527f4cc6659f55279f7d774dd804a1504a401
  Author: Eric Auger <eric.auger@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/vfio/pci.c

  Log Message:
  -----------
  vfio/pci: Remove vfio_detach_device from vfio_realize error path

In vfio_realize, on the error path, we currently call
vfio_detach_device() after a successful vfio_attach_device.
While this looks natural, vfio_instance_finalize also induces
a vfio_detach_device(), and it seems to be the right place
instead as other resources are released there which happen
to be a prerequisite to a successful UNSET_CONTAINER.

So let's rely on the finalize vfio_detach_device call to free
all the relevant resources.

Fixes: a28e06621170 ("vfio/pci: Introduce vfio_[attach/detach]_device")
Reported-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: 303c33e606f629c7467b457a19c53698b114ee0f
      
https://github.com/qemu/qemu/commit/303c33e606f629c7467b457a19c53698b114ee0f
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/display/ramfb.c
    M include/hw/display/ramfb.h

  Log Message:
  -----------
  ramfb: add migration support

Implementing RAMFB migration is quite straightforward. One caveat is to
treat the whole RAMFBCfg as a blob, since that's what is exposed to the
guest directly. This avoid having to fiddle with endianness issues if we
were to migrate fields individually as integers.

The devices using RAMFB will have to include ramfb_vmstate in their
migration description.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: a1e88d2d2b89ad6371036aa07f7e96947786c873
      
https://github.com/qemu/qemu/commit/a1e88d2d2b89ad6371036aa07f7e96947786c873
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/core/machine.c
    M hw/display/ramfb-standalone.c

  Log Message:
  -----------
  ramfb-standalone: add migration support

Add a "ramfb-dev" section whenever "x-migrate" is turned on. Turn it off
by default on machines <= 8.1 for compatibility reasons.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: 8741781157f09a9f79bb652f8a0210d40f814cd0
      
https://github.com/qemu/qemu/commit/8741781157f09a9f79bb652f8a0210d40f814cd0
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/core/machine.c
    M hw/vfio/display.c
    M hw/vfio/pci.c
    M hw/vfio/pci.h
    M stubs/ramfb.c

  Log Message:
  -----------
  hw/vfio: add ramfb migration support

Add a "VFIODisplay" subsection whenever "x-ramfb-migrate" is turned on.

Turn it off by default on machines <= 8.1 for compatibility reasons.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
[ clg:  - checkpatch fixes
        - improved warn_report() in vfio_realize() ]
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: 604b70f6a4d072ddf7f00d3fdb5b977111fdeef1
      
https://github.com/qemu/qemu/commit/604b70f6a4d072ddf7f00d3fdb5b977111fdeef1
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    A configs/meson/windows.txt
    M configure
    M docs/sphinx/hxtool.py
    M hw/arm/meson.build
    M hw/i386/meson.build
    M hw/remote/meson.build
    A hw/remote/vfio-user-obj-stub.c
    M hw/xen/meson.build
    M include/qemu/compiler.h
    M meson.build
    M meson_options.txt
    M qga/meson.build
    M scripts/feature_to_c.py
    M scripts/get_maintainer.pl
    M scripts/meson-buildoptions.py
    M scripts/meson-buildoptions.sh
    M scripts/tracetool/__init__.py
    M scripts/tracetool/format/log_stap.py
    M stubs/meson.build
    R stubs/vfio-user-obj.c
    M target/hexagon/hex_common.py
    M target/i386/cpu.c
    M target/i386/kvm/kvm.c
    M target/i386/svm.h
    M target/i386/tcg/translate.c
    M tests/avocado/virtio_check_params.py
    M tests/docker/docker.py
    M tests/qemu-iotests/linters.py
    M tests/qemu-iotests/testenv.py
    M tests/tcg/aarch64/Makefile.target
    M tests/tcg/multiarch/Makefile.target
    M tests/tcg/multiarch/system/Makefile.softmmu-target
    M tests/tcg/s390x/Makefile.target
    M tests/unit/test-coroutine.c
    M tests/vm/basevm.py
    M tests/vm/netbsd
    M ui/shader/meson.build
    M util/cutils.c
    M util/qemu-coroutine.c

  Log Message:
  -----------
  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging

* build system and Python cleanups
* fix netbsd VM build
* allow non-relocatable installs
* allow using command line options to configure qemu-ga
* target/i386: check intercept for XSETBV
* target/i386: fix CPUID_HT exposure

# -----BEGIN PGP SIGNATURE-----
#
# iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmUvkQQUHHBib256aW5p
# QHJlZGhhdC5jb20ACgkQv/vSX3jHroM3pQgArXCsmnsjlng1chjCvKnIuVmaTYZ5
# aC9pcx7TlyM0+XWtTN0NQhFt71Te+3ioReXIQRvy5O68RNbEkiu8LXfOJhWAHbWk
# vZVtzHQuOZVizeZtUruKlDaw0nZ8bg+NI4aGLs6rs3WphEAM+tiLnZJ0BouiedKS
# e/COB/Hqjok+Ntksbfv5q7XpWjwQB0y2073vM1Mcf0ToOWFLFdL7x0SZ3hxyYlYl
# eoefp/8kbWeUWA7HuoOKmpiLIxmKnY7eXp+UCvdnEhnSce9sCxpn2nzqqLuPItTK
# V3GrJ2//+lrekPHyQvb8IjUMUrPOmzf8GadIE0tkfdHjEP72IsHk0VX81A==
# =rPte
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 18 Oct 2023 04:02:12 EDT
# gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg:                issuer "pbonzini@redhat.com"
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full]
# gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>" [full]
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
#      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83

* tag 'for-upstream' of https://gitlab.com/bonzini/qemu: (32 commits)
  configure: define "pkg-config" in addition to "pkgconfig"
  meson: add a note on why we use config_host for program paths
  meson-buildoptions: document the data at the top
  configure, meson: use command line options to configure qemu-ga
  configure: unify handling of several Debian cross containers
  configure: move environment-specific defaults to config-meson.cross
  configure: move target-specific defaults to an external machine file
  configure: remove some dead cruft
  configure: clean up PIE option handling
  configure: clean up plugin option handling
  configure, tests/tcg: simplify GDB conditionals
  tests/tcg/arm: move non-SVE tests out of conditional
  hw/remote: move stub vfu_object_set_bus_irq out of stubs/
  hw/xen: cleanup sourcesets
  configure: clean up handling of CFI option
  meson, cutils: allow non-relocatable installs
  meson: do not use set10
  meson: do not build shaders by default
  tracetool: avoid invalid escape in Python string
  tests/vm: avoid invalid escape in Python string
  ...

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: deaca3fd30d3a8829160f8d3705d65ad83176800
      
https://github.com/qemu/qemu/commit/deaca3fd30d3a8829160f8d3705d65ad83176800
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M hw/core/machine.c
    M hw/display/ramfb-standalone.c
    M hw/display/ramfb.c
    M hw/vfio/ap.c
    M hw/vfio/ccw.c
    M hw/vfio/common.c
    A hw/vfio/container.c
    M hw/vfio/display.c
    A hw/vfio/helpers.c
    M hw/vfio/meson.build
    M hw/vfio/pci.c
    M hw/vfio/pci.h
    M hw/vfio/platform.c
    M hw/vfio/trace-events
    M include/hw/display/ramfb.h
    M include/hw/s390x/vfio-ccw.h
    M include/hw/vfio/vfio-common.h
    A linux-headers/linux/iommufd.h
    M scripts/update-linux-headers.sh
    M stubs/ramfb.c

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

vfio queue:

* Support for VFIODisplay migration with ramfb
* Preliminary work for IOMMUFD support

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEEoPZlSPBIlev+awtgUaNDx8/77KEFAmUvlEYACgkQUaNDx8/7
# 7KFlaw//X2053de2eTdo38/UMSzi5ACWWn2j1iGQZf/3+J2LcdlixZarZr/2DN56
# 4axmwF6+GKozt5+EnvWtgodDn6U9iyMNaAB3CGBHFHsH8uqKeZd/Ii754q4Rcmy9
# ZufBOPWm9Ff7s2MMFiAZvso75jP2wuwVEe1YPRjeJnsNSNIJ6WZfemh3Sl96yRBb
# r38uqzqetKwl7HziMMWP3yb8v+dU8A9bqI1hf1FZGttfFz3XA+pmjXKA6XxdfiZF
# AAotu5x9w86a08sAlr/qVsZFLR37oQykkXM0D840DafJDyr5fbJiq8cwfOjMw9+D
# w6+udRm5KoBWPsvb/T3dR88GRMO22PChjH9Vjl51TstMNhdTxuKJTKhhSoUFZbXV
# 8CMjwfALk5ggIOyCk1LRd04ed+9qkqgcbw1Guy5pYnyPnY/X6XurxxaxS6Gemgtn
# UvgRYhSjio+LgHLO77IVkWJMooTEPzUTty2Zxa7ldbbE+utPUtsmac9+1m2pnpqk
# 5VQmB074QnsJuvf+7HPU6vYCzQWoXHsH1UY/A0fF7MPedNUAbVYzKrdGPyqEMqHy
# xbilAIaS3oO0pMT6kUpRv5c5vjbwkx94Nf/ii8fQVjWzPfCcaF3yEfaam62jMUku
# stySaRpavKIx2oYLlucBqeKaBGaUofk13gGTQlsFs8pKCOAV7r4=
# =s0fN
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 18 Oct 2023 04:16:06 EDT
# gpg:                using RSA key A0F66548F04895EBFE6B0B6051A343C7CFFBECA1
# gpg: Good signature from "Cédric Le Goater <clg@redhat.com>" [unknown]
# gpg:                 aka "Cédric Le Goater <clg@kaod.org>" [unknown]
# 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-20231018' of https://github.com/legoater/qemu: (22 commits)
  hw/vfio: add ramfb migration support
  ramfb-standalone: add migration support
  ramfb: add migration support
  vfio/pci: Remove vfio_detach_device from vfio_realize error path
  vfio/ccw: Remove redundant definition of TYPE_VFIO_CCW
  vfio/ap: Remove pointless apdev variable
  vfio/pci: Fix a potential memory leak in vfio_listener_region_add
  vfio/common: Move legacy VFIO backend code into separate container.c
  vfio/common: Introduce a global VFIODevice list
  vfio/common: Store the parent container in VFIODevice
  vfio/common: Introduce a per container device list
  vfio/common: Move VFIO reset handler registration to a group agnostic function
  vfio/ccw: Use vfio_[attach/detach]_device
  vfio/ap: Use vfio_[attach/detach]_device
  vfio/platform: Use vfio_[attach/detach]_device
  vfio/pci: Introduce vfio_[attach/detach]_device
  vfio/common: Extract out vfio_kvm_device_[add/del]_fd
  vfio/common: Introduce vfio_container_add|del_section_window()
  vfio/common: Propagate KVM_SET_DEVICE_ATTR error if any
  vfio/common: Move IOMMU agnostic helpers to a separate file
  ...

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


Compare: https://github.com/qemu/qemu/compare/ec6f9f135d5e...deaca3fd30d3



reply via email to

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