On 30/09/2025 06.13, Philippe Mathieu-Daudé wrote:
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_get_address_space(CPU(cpu), 0) returns &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é <[email protected]>
---

Reviewed-by: Thomas Huth <[email protected]>


Reply via email to