summary refs log tree commit diff stats
path: root/hw/xen/xen-hvm-common.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-09-29 15:43:45 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-10-07 05:03:53 +0200
commit2fd38d9c2944efef3b96fe9047b3c0f4d4e25eb4 (patch)
treed67a165ef0d92661aff070a67a2fa7e8508e98f9 /hw/xen/xen-hvm-common.c
parent0d4e15e8f80e77a5bf22e3620ed990331f05256d (diff)
downloadfocaccia-qemu-2fd38d9c2944efef3b96fe9047b3c0f4d4e25eb4.tar.gz
focaccia-qemu-2fd38d9c2944efef3b96fe9047b3c0f4d4e25eb4.zip
target/s390x/mmu: Replace [cpu_physical_memory -> address_space]_rw()
When cpu_address_space_init() isn't called during vCPU creation,
its single address space is the global &address_space_memory.

As s390x boards don't call cpu_address_space_init(), cpu->as
points to &address_space_memory.

We can then replace cpu_physical_memory_rw() by the semantically
equivalent address_space_rw() call.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20251002084203.63899-9-philmd@linaro.org>
Diffstat (limited to 'hw/xen/xen-hvm-common.c')
0 files changed, 0 insertions, 0 deletions