summary refs log tree commit diff stats
path: root/hw/core/qdev.c
diff options
context:
space:
mode:
authorzhanghailiang <zhang.zhanghailiang@huawei.com>2014-10-09 14:13:10 +0800
committerLuiz Capitulino <lcapitulino@redhat.com>2014-10-23 09:01:29 -0400
commit37917da2d071ab5273703f5169b0b2fefd40cbb5 (patch)
tree5b6245cc81c234504e87c6d3cf1572fdaf27a8ea /hw/core/qdev.c
parent22644cd2c60151a964d9505f4c5f7baf845f20d8 (diff)
downloadfocaccia-qemu-37917da2d071ab5273703f5169b0b2fefd40cbb5.tar.gz
focaccia-qemu-37917da2d071ab5273703f5169b0b2fefd40cbb5.zip
dump: Propagate errors into qmp_dump_guest_memory()
The code calls dump_error() on error, and even passes it a suitable
message.  However, the message is thrown away, and its callers pass
up only success/failure.  All qmp_dump_guest_memory() can do is set
a generic error.

Propagate the errors properly, so qmp_dump_guest_memory() can return
a more useful error.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hw/core/qdev.c')
0 files changed, 0 insertions, 0 deletions