qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 3b4a02: MAINTAINERS: Update Roman Bolshakov e


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] 3b4a02: MAINTAINERS: Update Roman Bolshakov email address
Date: Thu, 29 Jun 2023 04:14:16 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 3b4a0253e6feed3951e7506d63acd4094be7b7b3
      
https://github.com/qemu/qemu/commit/3b4a0253e6feed3951e7506d63acd4094be7b7b3
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M .mailmap
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Update Roman Bolshakov email address

r.bolshakov@yadro.com is bouncing: Update Roman's email address
using one found somewhere on the Internet; this way he can Ack-by.

(Reorder Taylor's line to keep the section sorted alphabetically).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Roman Bolshakov <rbolshakov@ddn.com>
Message-Id: <20230624174121.11508-2-philmd@linaro.org>


  Commit: 098bfc01df5ba4c1cb62803b173b2101ae39b0f2
      
https://github.com/qemu/qemu/commit/098bfc01df5ba4c1cb62803b173b2101ae39b0f2
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M docs/devel/testing.rst

  Log Message:
  -----------
  docs/devel/testing: Update the 'Docker Debugging' section

Since commit 93cc0506f6 ("tests/docker: Use Fedora containers
for MinGW cross-builds in the gitlab-CI") the MinGW toolchain
is packaged inside the fedora-win[32/64]-cross images.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230624142211.8888-2-philmd@linaro.org>


  Commit: 641b841722836cd08d39701f6e4932543afcf41a
      
https://github.com/qemu/qemu/commit/641b841722836cd08d39701f6e4932543afcf41a
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M meson.build
    M target/i386/whpx/whpx-all.c
    M target/i386/whpx/whpx-internal.h

  Log Message:
  -----------
  accel: Re-enable WHPX cross-build on case sensitive filesystems

Since MinGW commit 395dcfdea ("rename hyper-v headers and def
files to lower case") [*], WinHvPlatform.h and WinHvEmulation.h
got respectively renamed as winhvplatform.h / winhvemulation.h.

The mingw64-headers package included in the Fedora version we
use for CI does include this commit; and meson fails to detect
these present-but-renamed headers while cross-building (on
case-sensitive filesystems).

Use the renamed header in order to detect and successfully
cross-build with the WHPX accelerator.

Note, on Windows hosts, the libraries are still named as
WinHvPlatform.dll and WinHvEmulation.dll, so we don't bother
renaming the definitions used by load_whp_dispatch_fns() in
target/i386/whpx/whpx-all.c.

[*] https://sourceforge.net/p/mingw-w64/mingw-w64/ci/395dcfdea

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230624142211.8888-3-philmd@linaro.org>


  Commit: 6970030177ae846327af435ad0e3f6e1045a0c86
      
https://github.com/qemu/qemu/commit/6970030177ae846327af435ad0e3f6e1045a0c86
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M include/sysemu/hax.h
    M include/sysemu/kvm.h
    M include/sysemu/nvmm.h
    M include/sysemu/tcg.h
    M include/sysemu/whpx.h
    M include/sysemu/xen.h

  Log Message:
  -----------
  accel: Document generic accelerator headers

These headers are meant to be include by any file to check
the availability of accelerators, thus are not accelerator
specific.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230624174121.11508-3-philmd@linaro.org>


  Commit: af03d22a0a2aec52f8e6959e8bc5e318ecc72e6c
      
https://github.com/qemu/qemu/commit/af03d22a0a2aec52f8e6959e8bc5e318ecc72e6c
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M accel/tcg/tcg-accel-ops-mttcg.c
    M accel/tcg/tcg-accel-ops-rr.c
    M target/i386/whpx/whpx-accel-ops.c

  Log Message:
  -----------
  accel: Remove unused hThread variable on TCG/WHPX

On Windows hosts, cpu->hThread is assigned but never accessed:
remove it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230624174121.11508-4-philmd@linaro.org>


  Commit: 43477340c38c7980d4f4d5bfedf1bd0146ccb577
      
https://github.com/qemu/qemu/commit/43477340c38c7980d4f4d5bfedf1bd0146ccb577
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M target/i386/hax/hax-all.c

  Log Message:
  -----------
  accel: Fix a leak on Windows HAX

hThread is only used on the error path in hax_kick_vcpu_thread().

Fixes: b0cb0a66d6 ("Plumb the HAXM-based hardware acceleration support")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230624174121.11508-5-philmd@linaro.org>


  Commit: 83d0f7f95cc88bbf31ba000d1d2f05e8563f9d97
      
https://github.com/qemu/qemu/commit/83d0f7f95cc88bbf31ba000d1d2f05e8563f9d97
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M target/i386/hax/hax-accel-ops.c
    M target/i386/hax/hax-all.c

  Log Message:
  -----------
  accel: Destroy HAX vCPU threads once done

When the vCPU thread finished its processing, destroy
it and signal its destruction to generic vCPU management
layer.

Add a sanity check for the vCPU accelerator context.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230624174121.11508-6-philmd@linaro.org>


  Commit: 6ecd2cd0dcfa733bdad7e97ee913ff44fc7681aa
      
https://github.com/qemu/qemu/commit/6ecd2cd0dcfa733bdad7e97ee913ff44fc7681aa
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M include/hw/core/cpu.h
    M target/i386/hax/hax-accel-ops.c
    M target/i386/hax/hax-all.c
    M target/i386/nvmm/nvmm-all.c
    M target/i386/whpx/whpx-all.c

  Log Message:
  -----------
  accel: Rename 'hax_vcpu' as 'accel' in CPUState

All accelerators will share a single opaque context
in CPUState. Start by renaming 'hax_vcpu' as 'accel'.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230624174121.11508-7-philmd@linaro.org>


  Commit: f861b3f39063619b2d169cbacf455a00c22a1584
      
https://github.com/qemu/qemu/commit/f861b3f39063619b2d169cbacf455a00c22a1584
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M include/hw/core/cpu.h
    M include/qemu/typedefs.h
    M target/i386/hax/hax-all.c
    M target/i386/hax/hax-i386.h
    M target/i386/hax/hax-posix.c
    M target/i386/hax/hax-windows.c
    M target/i386/nvmm/nvmm-all.c
    M target/i386/whpx/whpx-all.c

  Log Message:
  -----------
  accel: Rename HAX 'struct hax_vcpu_state' -> AccelCPUState

We want all accelerators to share the same opaque pointer in
CPUState. Start with the HAX context, renaming its forward
declarated structure 'hax_vcpu_state' as 'AccelCPUState'.
Document the CPUState field. Directly use the typedef.

Remove the amusing but now unnecessary casts in NVMM / WHPX.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230624174121.11508-8-philmd@linaro.org>


  Commit: 642ce52d8ea9e1f80aa6013ad55bb66e51f1c76e
      
https://github.com/qemu/qemu/commit/642ce52d8ea9e1f80aa6013ad55bb66e51f1c76e
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M include/hw/core/cpu.h
    M target/i386/hax/hax-accel-ops.c
    M target/i386/hax/hax-all.c
    M target/i386/hax/hax-i386.h
    M target/i386/hax/hax-windows.c

  Log Message:
  -----------
  accel: Move HAX hThread to accelerator context

hThread variable is only used by the HAX accelerator,
so move it to the accelerator specific context.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230624174121.11508-9-philmd@linaro.org>


  Commit: 8c12c76df2373b61764c2cacb4a6c505f874fa5f
      
https://github.com/qemu/qemu/commit/8c12c76df2373b61764c2cacb4a6c505f874fa5f
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M target/i386/nvmm/nvmm-all.c

  Log Message:
  -----------
  accel: Remove NVMM unreachable error path

g_malloc0() can not fail. Remove the unreachable error path.

https://developer-old.gnome.org/glib/stable/glib-Memory-Allocation.html#glib-Memory-Allocation.description

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230624174121.11508-10-philmd@linaro.org>


  Commit: c5beb26a2f5a641a3c4ef9556f48ae05ea86e30d
      
https://github.com/qemu/qemu/commit/c5beb26a2f5a641a3c4ef9556f48ae05ea86e30d
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M target/i386/nvmm/nvmm-all.c

  Log Message:
  -----------
  accel: Rename NVMM 'struct qemu_vcpu' -> AccelCPUState

We want all accelerators to share the same opaque pointer in
CPUState. Rename NVMM 'qemu_vcpu' as 'AccelCPUState'; directly
use the typedef, remove unnecessary casts.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230624174121.11508-11-philmd@linaro.org>


  Commit: 2f642b1c2cfa32a1d5af6cbe66c16b5d1c5fd69c
      
https://github.com/qemu/qemu/commit/2f642b1c2cfa32a1d5af6cbe66c16b5d1c5fd69c
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M target/i386/nvmm/nvmm-all.c

  Log Message:
  -----------
  accel: Inline NVMM get_qemu_vcpu()

No need for this helper to access the CPUState::accel field.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230624174121.11508-12-philmd@linaro.org>


  Commit: 50830fea89ceefefd455d2489c4f8914df2d68ca
      
https://github.com/qemu/qemu/commit/50830fea89ceefefd455d2489c4f8914df2d68ca
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M target/i386/whpx/whpx-all.c

  Log Message:
  -----------
  accel: Remove WHPX unreachable error path

g_new0() can not fail. Remove the unreachable error path.

https://developer-old.gnome.org/glib/stable/glib-Memory-Allocation.html#glib-Memory-Allocation.description

Reported-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230624174121.11508-13-philmd@linaro.org>


  Commit: b4f879a4ed039f73f61ee9ae7142abd84cdc0f27
      
https://github.com/qemu/qemu/commit/b4f879a4ed039f73f61ee9ae7142abd84cdc0f27
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M target/i386/whpx/whpx-all.c

  Log Message:
  -----------
  accel: Rename WHPX 'struct whpx_vcpu' -> AccelCPUState

We want all accelerators to share the same opaque pointer in
CPUState. Rename WHPX 'whpx_vcpu' as 'AccelCPUState'; use
the typedef.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230624174121.11508-14-philmd@linaro.org>


  Commit: 441f2449111b276df7fad81dcaa2f3f93ac7cce8
      
https://github.com/qemu/qemu/commit/441f2449111b276df7fad81dcaa2f3f93ac7cce8
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M target/i386/whpx/whpx-all.c

  Log Message:
  -----------
  accel: Inline WHPX get_whpx_vcpu()

No need for this helper to access the CPUState::accel field.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230624174121.11508-15-philmd@linaro.org>


  Commit: a7159244285058c049ad53a42b3dc7b24809faaa
      
https://github.com/qemu/qemu/commit/a7159244285058c049ad53a42b3dc7b24809faaa
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M target/i386/hvf/x86hvf.c
    M target/i386/hvf/x86hvf.h

  Log Message:
  -----------
  accel: Rename 'cpu_state' -> 'cs'

Most of the codebase uses 'CPUState *cpu' or 'CPUState *cs'.
While 'cpu_state' is kind of explicit, it makes the code
harder to review. Simply rename as 'cs'.

Acked-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230624174121.11508-16-philmd@linaro.org>


  Commit: 3b295bcb3289afec09508786032f4ba5d657a934
      
https://github.com/qemu/qemu/commit/3b295bcb3289afec09508786032f4ba5d657a934
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M accel/hvf/hvf-accel-ops.c
    M include/hw/core/cpu.h
    M include/sysemu/hvf_int.h
    M target/arm/hvf/hvf.c
    M target/i386/hvf/hvf.c
    M target/i386/hvf/vmx.h
    M target/i386/hvf/x86.c
    M target/i386/hvf/x86_descr.c
    M target/i386/hvf/x86_emu.c
    M target/i386/hvf/x86_mmu.c
    M target/i386/hvf/x86_task.c
    M target/i386/hvf/x86hvf.c

  Log Message:
  -----------
  accel: Rename HVF 'struct hvf_vcpu_state' -> AccelCPUState

We want all accelerators to share the same opaque pointer in
CPUState.

Rename the 'hvf_vcpu_state' structure as 'AccelCPUState'.

Use the generic 'accel' field of CPUState instead of 'hvf'.

Replace g_malloc0() by g_new0() for readability.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230624174121.11508-17-philmd@linaro.org>


  Commit: 217a190eece1a13297b7b075bce50226e5e78048
      
https://github.com/qemu/qemu/commit/217a190eece1a13297b7b075bce50226e5e78048
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M include/sysemu/kvm.h

  Log Message:
  -----------
  accel/kvm: Re-include "exec/memattrs.h" header

Commit 1e05888ab5 ("sysemu/kvm: Remove unused headers") was
a bit overzealous while cleaning "sysemu/kvm.h" headers:
kvm_arch_post_run() returns a MemTxAttrs type, so depends on
"exec/memattrs.h" for its definition.

Fixes: 1e05888ab5 ("sysemu/kvm: Remove unused headers")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230619074153.44268-5-philmd@linaro.org>


  Commit: dec68f7042aba11ae706842a9616587ce3685685
      
https://github.com/qemu/qemu/commit/dec68f7042aba11ae706842a9616587ce3685685
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M accel/stubs/kvm-stub.c

  Log Message:
  -----------
  accel/kvm: Declare kvm_direct_msi_allowed in stubs

Avoid when calling kvm_direct_msi_enabled() from
arm_gicv3_its_common.c the next commit:

  Undefined symbols for architecture arm64:
    "_kvm_direct_msi_allowed", referenced from:
        _its_class_name in hw_intc_arm_gicv3_its_common.c.o
  ld: symbol(s) not found for architecture arm64

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230405160454.97436-3-philmd@linaro.org>


  Commit: 0c40daf03810ed56535c40f6debdcc62ce4c5e6d
      
https://github.com/qemu/qemu/commit/0c40daf03810ed56535c40f6debdcc62ce4c5e6d
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M hw/arm/sbsa-ref.c
    M hw/arm/virt-acpi-build.c
    M hw/arm/virt.c
    M hw/intc/arm_gic_common.c
    M hw/intc/arm_gicv3_common.c
    M hw/intc/arm_gicv3_its_common.c
    M include/hw/intc/arm_gic.h
    M include/hw/intc/arm_gicv3_common.h
    M include/hw/intc/arm_gicv3_its_common.h
    M target/arm/kvm_arm.h

  Log Message:
  -----------
  hw/intc/arm_gic: Un-inline GIC*/ITS class_name() helpers

"kvm_arm.h" contains external and internal prototype declarations.
Files under the hw/ directory should only access the KVM external
API.

In order to avoid machine / device models to include "kvm_arm.h"
simply to get the QOM GIC/ITS class name, un-inline each class
name getter to the proper device model file.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230405160454.97436-4-philmd@linaro.org>


  Commit: 674e44c99a204c2796c99cf8be65dea487718975
      
https://github.com/qemu/qemu/commit/674e44c99a204c2796c99cf8be65dea487718975
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M hw/intc/arm_gic_common.c

  Log Message:
  -----------
  hw/intc/arm_gic: Rename 'first_cpu' argument

"hw/core/cpu.h" defines 'first_cpu' as QTAILQ_FIRST_RCU(&cpus).

arm_gic_common_reset_irq_state() calls its second argument
'first_cpu', producing a build failure when "hw/core/cpu.h"
is included:

  hw/intc/arm_gic_common.c:238:68: warning: omitting the parameter name in a 
function definition is a C2x extension [-Wc2x-extensions]
    static inline void arm_gic_common_reset_irq_state(GICState *s, int 
first_cpu,
                                                                       ^
  include/hw/core/cpu.h:451:26: note: expanded from macro 'first_cpu'
    #define first_cpu        QTAILQ_FIRST_RCU(&cpus)
                             ^

KISS, rename the function argument.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230405160454.97436-5-philmd@linaro.org>


  Commit: 94522562f68043c0420795c9b4ec8f1d6b40e2fc
      
https://github.com/qemu/qemu/commit/94522562f68043c0420795c9b4ec8f1d6b40e2fc
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M hw/arm/sbsa-ref.c

  Log Message:
  -----------
  hw/arm/sbsa-ref: Include missing 'sysemu/kvm.h' header

"sysemu/kvm.h" is indirectly pulled in. Explicit its
inclusion to avoid when refactoring include/:

  hw/arm/sbsa-ref.c:693:9: error: implicit declaration of function 
'kvm_enabled' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    if (kvm_enabled()) {
        ^

Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230405160454.97436-6-philmd@linaro.org>


  Commit: cf43b5b69c0f4acee52e3648b88f4a0bf3de770b
      
https://github.com/qemu/qemu/commit/cf43b5b69c0f4acee52e3648b88f4a0bf3de770b
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M target/arm/cpu.h

  Log Message:
  -----------
  target/arm: Restrict KVM-specific fields from ArchCPU

These fields shouldn't be accessed when KVM is not available.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230405160454.97436-8-philmd@linaro.org>


  Commit: 0573997713eb0a37ab98b545794e18b868b471ea
      
https://github.com/qemu/qemu/commit/0573997713eb0a37ab98b545794e18b868b471ea
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M hw/ppc/e500.c
    M hw/ppc/ppce500_spin.c
    M target/ppc/cpu.h
    M target/ppc/mmu_common.c

  Log Message:
  -----------
  target/ppc: Restrict KVM-specific fields from ArchCPU

The 'kvm_sw_tlb' and 'tlb_dirty' fields introduced in commit
93dd5e852c ("kvm: ppc: booke206: use MMU API") are specific
to KVM and shouldn't be accessed when it is not available.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20230624192645.13680-1-philmd@linaro.org>


  Commit: 9638cbde6c4f433b157672c0fdee783c10be45fe
      
https://github.com/qemu/qemu/commit/9638cbde6c4f433b157672c0fdee783c10be45fe
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M target/riscv/cpu.c
    M target/riscv/cpu.h
    M target/riscv/machine.c

  Log Message:
  -----------
  target/riscv: Restrict KVM-specific fields from ArchCPU

These fields shouldn't be accessed when KVM is not available.

Restrict the KVM timer migration state. Rename the KVM timer
post_load() handler accordingly, because cpu_post_load() is
too generic.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-Id: <20230626232007.8933-3-philmd@linaro.org>


  Commit: db5a06b3a21239ffa9424f89f98ee9afa14e955b
      
https://github.com/qemu/qemu/commit/db5a06b3a21239ffa9424f89f98ee9afa14e955b
  Author: Zhao Liu <zhao1.liu@intel.com>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M target/i386/whpx/whpx-all.c

  Log Message:
  -----------
  target/i386/WHPX: Fix error message when fail to set ProcessorCount

003f230e37d7 ("machine: Tweak the order of topology members in struct
CpuTopology") changes the meaning of MachineState.smp.cores from "the
number of cores in one package" to "the number of cores in one die"
and doesn't fix other uses of MachineState.smp.cores. And because of
the introduction of cluster, now smp.cores just means "the number of
cores in one cluster". This clearly does not fit the semantics here.

And before this error message, WHvSetPartitionProperty() is called to
set prop.ProcessorCount.

So the error message should show the prop.ProcessorCount other than
"cores per cluster" or "cores per package".

Cc: Sunil Muthuswamy <sunilmut@microsoft.com>
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230529124331.412822-1-zhao1.liu@linux.intel.com>
[PMD: Use '%u' format for ProcessorCount]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 5369a36c4fe5a70e8831059bcd2a2eef834aae21
      
https://github.com/qemu/qemu/commit/5369a36c4fe5a70e8831059bcd2a2eef834aae21
  Author: Isaku Yamahata <isaku.yamahata@intel.com>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M accel/hvf/hvf-accel-ops.c
    M accel/kvm/kvm-all.c
    M hw/arm/xen_arm.c
    M hw/i386/xen/xen-hvm.c
    M hw/xen/xen-hvm-common.c
    M hw/xen/xen_pt.c
    M include/exec/memory.h
    M target/i386/hax/hax-mem.c
    M target/i386/nvmm/nvmm-all.c
    M target/i386/whpx/whpx-all.c

  Log Message:
  -----------
  exec/memory: Add symbolic value for memory listener priority for accel

Add MEMORY_LISTNER_PRIORITY_ACCEL for the symbolic value for the memory
listener to replace the hard-coded value 10 for accel.

No functional change intended.

Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: 
<feebe423becc6e2aa375f59f6abce9a85bc15abb.1687279702.git.isaku.yamahata@intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 8be0461d37705ae0a0c4e76b3ce5e4b558d51aba
      
https://github.com/qemu/qemu/commit/8be0461d37705ae0a0c4e76b3ce5e4b558d51aba
  Author: Isaku Yamahata <isaku.yamahata@intel.com>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M accel/kvm/kvm-all.c
    M hw/remote/proxy-memory-listener.c
    M hw/virtio/vhost.c
    M include/exec/memory.h

  Log Message:
  -----------
  exec/memory: Add symbol for memory listener priority for device backend

Add MEMORY_LISTENER_PRIORITY_DEV_BACKEND for the symbolic value
for memory listener to replace the hard-coded value 10 for the
device backend.

No functional change intended.

Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: 
<8314d91688030d7004e96958f12e2c83fb889245.1687279702.git.isaku.yamahata@intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 14a868c626e99eea063ecbf6ef86002f6a314f0a
      
https://github.com/qemu/qemu/commit/14a868c626e99eea063ecbf6ef86002f6a314f0a
  Author: Isaku Yamahata <isaku.yamahata@intel.com>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M accel/kvm/kvm-all.c
    M include/exec/memory.h
    M target/arm/kvm.c

  Log Message:
  -----------
  exec/memory: Add symbol for the min value of memory listener priority

Add MEMORY_LISTNER_PRIORITY_MIN for the symbolic value for the min value of
the memory listener instead of the hard-coded magic value 0.  Add explicit
initialization.

No functional change intended.

Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: 
<29f88477fe82eb774bcfcae7f65ea21995f865f2.1687279702.git.isaku.yamahata@intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 017b2e7363629302da8ea5274e828bc8a8908a73
      
https://github.com/qemu/qemu/commit/017b2e7363629302da8ea5274e828bc8a8908a73
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

  Changed paths:
    M .mailmap
    M MAINTAINERS
    M accel/hvf/hvf-accel-ops.c
    M accel/kvm/kvm-all.c
    M accel/stubs/kvm-stub.c
    M accel/tcg/tcg-accel-ops-mttcg.c
    M accel/tcg/tcg-accel-ops-rr.c
    M docs/devel/testing.rst
    M hw/arm/sbsa-ref.c
    M hw/arm/virt-acpi-build.c
    M hw/arm/virt.c
    M hw/arm/xen_arm.c
    M hw/i386/xen/xen-hvm.c
    M hw/intc/arm_gic_common.c
    M hw/intc/arm_gicv3_common.c
    M hw/intc/arm_gicv3_its_common.c
    M hw/ppc/e500.c
    M hw/ppc/ppce500_spin.c
    M hw/remote/proxy-memory-listener.c
    M hw/virtio/vhost.c
    M hw/xen/xen-hvm-common.c
    M hw/xen/xen_pt.c
    M include/exec/memory.h
    M include/hw/core/cpu.h
    M include/hw/intc/arm_gic.h
    M include/hw/intc/arm_gicv3_common.h
    M include/hw/intc/arm_gicv3_its_common.h
    M include/qemu/typedefs.h
    M include/sysemu/hax.h
    M include/sysemu/hvf_int.h
    M include/sysemu/kvm.h
    M include/sysemu/nvmm.h
    M include/sysemu/tcg.h
    M include/sysemu/whpx.h
    M include/sysemu/xen.h
    M meson.build
    M target/arm/cpu.h
    M target/arm/hvf/hvf.c
    M target/arm/kvm.c
    M target/arm/kvm_arm.h
    M target/i386/hax/hax-accel-ops.c
    M target/i386/hax/hax-all.c
    M target/i386/hax/hax-i386.h
    M target/i386/hax/hax-mem.c
    M target/i386/hax/hax-posix.c
    M target/i386/hax/hax-windows.c
    M target/i386/hvf/hvf.c
    M target/i386/hvf/vmx.h
    M target/i386/hvf/x86.c
    M target/i386/hvf/x86_descr.c
    M target/i386/hvf/x86_emu.c
    M target/i386/hvf/x86_mmu.c
    M target/i386/hvf/x86_task.c
    M target/i386/hvf/x86hvf.c
    M target/i386/hvf/x86hvf.h
    M target/i386/nvmm/nvmm-all.c
    M target/i386/whpx/whpx-accel-ops.c
    M target/i386/whpx/whpx-all.c
    M target/i386/whpx/whpx-internal.h
    M target/ppc/cpu.h
    M target/ppc/mmu_common.c
    M target/riscv/cpu.c
    M target/riscv/cpu.h
    M target/riscv/machine.c

  Log Message:
  -----------
  Merge tag 'accel-20230628' of https://github.com/philmd/qemu into staging

Accelerators patches

- MAINTAINERS: Update Roman Bolshakov email address
- HAX: Fix a memory leak
- HAX/NVMM/WHPX/HVF: Rename per-accel state as AccelCPUState
- KVM: Restrict specific fields from ArchCPU
- WHPX: Re-enable cross-build gitlab-ci job on case sensitive filesystems
- WHPX: Fix error message when setting ProcessorCount fails
- exec/memory: Add definitions for memory listener priorities

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmScVtkACgkQ4+MsLN6t
# wN7p8A//RXuX9gLFT35zx+5axocU3/XBbCsQWSvzzkYoXxmC/TLxvivO66NPGMc0
# C76b1FJUoLS/u9SyJUeIeYkL0rjkzARUKcRpiJXM21WM6ou8Nkz0kuI4ouowt+4K
# i/4chTjxlN5/4PKlHHcX9ZUJ9acVj01zO1BCuj/bVsxO6WMT1kjL+kplVxxFR3aW
# tlbYtUT3v4xmp94FfE2Q9lR25z4usrGnmz2rchaadlVc43kmsNcQRx+EoUdi148n
# lkViRR90sacYPX586s2yxhPpUdtrXjJmEdX0X00urdPqljkRxekHtyTqG4CRZi+K
# hG5NztK7p37GNNXZroL0gpHyr9IX6hZ3o8rmN3IiCOGU6BgQBRUhvvG2sblwcJ1A
# SSiBK4RWtgyIGWt4U6PgVj8IAu55JuqT5xR2r34fH/zccxXlp/B13vadGs7TUK15
# oHDUT4GnKL2R29lVFTl95BzsxwaMtbB9w01CLJk8va2T/97eqtFgvJyuVC9vZb0N
# 41u2RkinaQZ+hbq9TP1G21zpG0eyucEMIQ6loUd7+G3KJFjFfB4JzE2VDm0Y/OVy
# 77cEEQ67wts29fMNSqqPIQCMttDrNj7JqMMknGBQS2iHPgF+B3KjwIjnRaMBt73I
# CKPITOJPmb+kvIUsK3KlONdicEG57cBxFBTZW5+P9pJXF5izrAY=
# =b9hj
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 28 Jun 2023 05:50:49 PM CEST
# gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" 
[full]

* tag 'accel-20230628' of https://github.com/philmd/qemu: (30 commits)
  exec/memory: Add symbol for the min value of memory listener priority
  exec/memory: Add symbol for memory listener priority for device backend
  exec/memory: Add symbolic value for memory listener priority for accel
  target/i386/WHPX: Fix error message when fail to set ProcessorCount
  target/riscv: Restrict KVM-specific fields from ArchCPU
  target/ppc: Restrict KVM-specific fields from ArchCPU
  target/arm: Restrict KVM-specific fields from ArchCPU
  hw/arm/sbsa-ref: Include missing 'sysemu/kvm.h' header
  hw/intc/arm_gic: Rename 'first_cpu' argument
  hw/intc/arm_gic: Un-inline GIC*/ITS class_name() helpers
  accel/kvm: Declare kvm_direct_msi_allowed in stubs
  accel/kvm: Re-include "exec/memattrs.h" header
  accel: Rename HVF 'struct hvf_vcpu_state' -> AccelCPUState
  accel: Rename 'cpu_state' -> 'cs'
  accel: Inline WHPX get_whpx_vcpu()
  accel: Rename WHPX 'struct whpx_vcpu' -> AccelCPUState
  accel: Remove WHPX unreachable error path
  accel: Inline NVMM get_qemu_vcpu()
  accel: Rename NVMM 'struct qemu_vcpu' -> AccelCPUState
  accel: Remove NVMM unreachable error path
  ...

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Compare: https://github.com/qemu/qemu/compare/0eb8f90edebc...017b2e736362



reply via email to

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