aboutsummaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-09-20 16:50:32 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2012-09-26 12:42:19 -0300
commita9940fc4cba811adfb296fe07b247ee707265f90 (patch)
tree2709a9be9e2c135677bda80930d453ca29f9b9cb /dump.c
parent9a3a88956c7f32130ad20011f7c3c161fa5876d8 (diff)
monitor: add Error * argument to monitor_get_fd
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dump.c b/dump.c
index 2bf8d8d994..1a3c7164be 100644
--- a/dump.c
+++ b/dump.c
@@ -836,9 +836,8 @@ void qmp_dump_guest_memory(bool paging, const char *file, bool has_begin,
#if !defined(WIN32)
if (strstart(file, "fd:", &p)) {
- fd = monitor_get_fd(cur_mon, p);
+ fd = monitor_get_fd(cur_mon, p, errp);
if (fd == -1) {
- error_set(errp, QERR_FD_NOT_FOUND, p);
return;
}
}