aboutsummaryrefslogtreecommitdiff
path: root/migration-fd.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 /migration-fd.c
parent9a3a88956c7f32130ad20011f7c3c161fa5876d8 (diff)
downloadqemu-a9940fc4cba811adfb296fe07b247ee707265f90.zip
qemu-a9940fc4cba811adfb296fe07b247ee707265f90.tar.gz
qemu-a9940fc4cba811adfb296fe07b247ee707265f90.tar.bz2
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 'migration-fd.c')
-rw-r--r--migration-fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration-fd.c b/migration-fd.c
index 50138ed..7335167 100644
--- a/migration-fd.c
+++ b/migration-fd.c
@@ -75,7 +75,7 @@ static int fd_close(MigrationState *s)
int fd_start_outgoing_migration(MigrationState *s, const char *fdname)
{
- s->fd = monitor_get_fd(cur_mon, fdname);
+ s->fd = monitor_get_fd(cur_mon, fdname, NULL);
if (s->fd == -1) {
DPRINTF("fd_migration: invalid file descriptor identifier\n");
goto err_after_get_fd;