diff options
author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2014-10-09 14:13:10 +0800 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-10-23 09:01:29 -0400 |
commit | 37917da2d071ab5273703f5169b0b2fefd40cbb5 (patch) | |
tree | 5b6245cc81c234504e87c6d3cf1572fdaf27a8ea /slirp/mbuf.c | |
parent | 22644cd2c60151a964d9505f4c5f7baf845f20d8 (diff) |
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 'slirp/mbuf.c')
0 files changed, 0 insertions, 0 deletions