hw/pci-host/astro: Avoid aborting on access failure
authorHelge Deller <deller@gmx.de>
Fri, 2 Feb 2024 20:05:56 +0000 (21:05 +0100)
committerHelge Deller <deller@gmx.de>
Sun, 11 Feb 2024 12:20:23 +0000 (13:20 +0100)
commitb7174d9ad3ec3966270eeefa965ffe8f336b86dd
tree7e4adbc428f9c1c851f261fc6e9c567ead89513e
parentdbca083513aeb2ba65fe170f39e535c165abee22
hw/pci-host/astro: Avoid aborting on access failure

Instead of stopping the emulation, report a MEMTX_DECODE_ERROR if the OS
tries to access non-existent registers.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
hw/pci-host/astro.c