Commit 37917da2 authored by zhanghailiang's avatar zhanghailiang Committed by Luiz Capitulino

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: default avatarzhanghailiang <>
Reviewed-by: default avatarEric Blake <>
Reviewed-by: default avatarMarkus Armbruster <>
Signed-off-by: default avatarLuiz Capitulino <>
parent 22644cd2
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment