]> git.proxmox.com Git - mirror_qemu.git/commit
disas: Let disas::read_memory() handler return EIO on error
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 18 May 2020 15:53:04 +0000 (17:53 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Jun 2020 16:10:23 +0000 (12:10 -0400)
commit6766ba506eb62110b8299d25718565a03220d012
treed6b4e7610915b5e2ca975df679b7be7d81b25ebd
parentddfc8b96eec648f35f0f054bd3f0a05df6cd34fb
disas: Let disas::read_memory() handler return EIO on error

Both cpu_memory_rw_debug() and address_space_read() return
an error on failed transaction. Check the returned value,
and return EIO in case of error.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
disas.c