]> git.proxmox.com Git - mirror_qemu.git/commit - exec.c
exec: Let address_space_read/write_cached() propagate MemTxResult
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 18 May 2020 15:53:02 +0000 (17:53 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Jun 2020 16:10:21 +0000 (12:10 -0400)
commit38df19fad71abe8823f8b416f672be95c2ac8d04
treebcf074420161ff7a017dfbd754aff73ae944659c
parentc535d68755576bfa33be7aef7bd294a601f776e0
exec: Let address_space_read/write_cached() propagate MemTxResult

Both address_space_read_cached_slow() and
address_space_write_cached_slow() return a MemTxResult type.
Do not discard it, return it to the caller.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c
include/exec/memory.h