]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/s390x/sclp: Do not ignore address_space_read/write() errors
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 7 Oct 2025 01:55:08 +0000 (03:55 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 13 Oct 2025 19:13:08 +0000 (21:13 +0200)
commitd39ac36fe298400eac7e9272c950bedca29490c0
tree3c501e4a0d7c195511afdac992883afdff84db16
parentfc08d5f699c53ad46a3d8b8e5159e3ab6a1124ed
hw/s390x/sclp: Do not ignore address_space_read/write() errors

If address_space_read() fails, return PGM_ADDRESSING. In the
unlikely case address_space_write() fails (we already checked
the address is readable), return PGM_PROTECTION.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Jason J. Herne <jjherne@linux.ibm.com>
Message-Id: <20251007015802.24748-1-philmd@linaro.org>
hw/s390x/sclp.c