diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-09-20 16:50:32 +0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-09-26 12:42:19 -0300 |
commit | a9940fc4cba811adfb296fe07b247ee707265f90 (patch) | |
tree | 2709a9be9e2c135677bda80930d453ca29f9b9cb /dump.c | |
parent | 9a3a88956c7f32130ad20011f7c3c161fa5876d8 (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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; } } |