From 22f00a4445fac68b10d1cb669836eeb8d32af56d Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Tue, 11 May 2010 15:56:35 +0200 Subject: migration: Rename FdMigrationState MigrationState Signed-off-by: Juan Quintela Reviewed-by: Anthony Liguori --- migration-fd.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'migration-fd.c') 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)); -- cgit v1.2.3