]> Git Repo - qemu.git/commit
dump: Propagate errors into qmp_dump_guest_memory()
authorzhanghailiang <[email protected]>
Thu, 9 Oct 2014 06:13:10 +0000 (14:13 +0800)
committerLuiz Capitulino <[email protected]>
Thu, 23 Oct 2014 13:01:29 +0000 (09:01 -0400)
commit37917da2d071ab5273703f5169b0b2fefd40cbb5
tree5b6245cc81c234504e87c6d3cf1572fdaf27a8ea
parent22644cd2c60151a964d9505f4c5f7baf845f20d8
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 <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Luiz Capitulino <[email protected]>
dump.c
This page took 0.024901 seconds and 4 git commands to generate.