On 1/16/26 10:58 AM, Gustavo Romero wrote:
From: Philippe Mathieu-Daudé <[email protected]>

Instead of computing the number of address spaces used for a given
architecture, machine, and CPU configuration, simplify the code by
always allocating the maximum number of CPUAddressSpaces supported
by the architecture.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Gustavo Romero <[email protected]>
---
  hw/core/cpu-common.c             |  1 -
  hw/core/cpu-system.c             |  2 +-
  include/exec/cpu-common.h        |  4 ----
  include/hw/core/cpu.h            |  7 +++++--
  system/cpus.c                    |  1 -
  system/physmem.c                 |  8 ++++----
  target/arm/cpu.c                 | 11 +----------
  target/i386/cpu.c                |  1 +
  target/i386/kvm/kvm-cpu.c        |  1 -
  target/i386/tcg/system/tcg-cpu.c |  1 -
  10 files changed, 12 insertions(+), 25 deletions(-)


Reviewed-by: Pierrick Bouvier <[email protected]>

Reply via email to