hw/elf_ops: Do not ignore write failures when loading ELF
commit5579b524b0d2e4b310157c0b7985d35c24238120
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 18 May 2020 15:53:05 +0000 (18 17:53 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Jun 2020 16:10:23 +0000 (10 12:10 -0400)
tree21f2ffb03f49b785997be6968537d723aedecdee
parent6766ba506eb62110b8299d25718565a03220d012
hw/elf_ops: Do not ignore write failures when loading ELF

Do not ignore the MemTxResult error type returned by
address_space_write().

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/hw/elf_ops.h