diff options
author | Juan Quintela <quintela@redhat.com> | 2010-05-11 15:56:35 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2011-10-20 13:23:53 +0200 |
commit | 22f00a4445fac68b10d1cb669836eeb8d32af56d (patch) | |
tree | 829f737e1a31962931b61e006aa1eec379329d18 /migration-fd.c | |
parent | 3f77fc557e3e1cb8aab72ca0ca91aac67d478118 (diff) |
migration: Rename FdMigrationState MigrationState
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'migration-fd.c')
-rw-r--r-- | migration-fd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/migration-fd.c b/migration-fd.c index c3c7b0eec1..e78fd4e9e4 100644 --- a/migration-fd.c +++ b/migration-fd.c @@ -30,17 +30,17 @@ do { } while (0) #endif -static int fd_errno(FdMigrationState *s) +static int fd_errno(MigrationState *s) { return errno; } -static int fd_write(FdMigrationState *s, const void * buf, size_t size) +static int fd_write(MigrationState *s, const void * buf, size_t size) { return write(s->fd, buf, size); } -static int fd_close(FdMigrationState *s) +static int fd_close(MigrationState *s) { DPRINTF("fd_close\n"); if (s->fd != -1) { @@ -50,14 +50,14 @@ static int fd_close(FdMigrationState *s) return 0; } -FdMigrationState *fd_start_outgoing_migration(Monitor *mon, +MigrationState *fd_start_outgoing_migration(Monitor *mon, const char *fdname, int64_t bandwidth_limit, int detach, int blk, int inc) { - FdMigrationState *s; + MigrationState *s; s = g_malloc0(sizeof(*s)); |