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-unix.c | |
parent | 3f77fc557e3e1cb8aab72ca0ca91aac67d478118 (diff) | |
download | qemu-22f00a4445fac68b10d1cb669836eeb8d32af56d.tar.gz qemu-22f00a4445fac68b10d1cb669836eeb8d32af56d.tar.bz2 qemu-22f00a4445fac68b10d1cb669836eeb8d32af56d.zip |
migration: Rename FdMigrationState MigrationState
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'migration-unix.c')
-rw-r--r-- | migration-unix.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/migration-unix.c b/migration-unix.c index 00a6ed5762..3b9017be49 100644 --- a/migration-unix.c +++ b/migration-unix.c @@ -28,17 +28,17 @@ do { } while (0) #endif -static int unix_errno(FdMigrationState *s) +static int unix_errno(MigrationState *s) { return errno; } -static int unix_write(FdMigrationState *s, const void * buf, size_t size) +static int unix_write(MigrationState *s, const void * buf, size_t size) { return write(s->fd, buf, size); } -static int unix_close(FdMigrationState *s) +static int unix_close(MigrationState *s) { DPRINTF("unix_close\n"); if (s->fd != -1) { @@ -50,7 +50,7 @@ static int unix_close(FdMigrationState *s) static void unix_wait_for_connect(void *opaque) { - FdMigrationState *s = opaque; + MigrationState *s = opaque; int val, ret; socklen_t valsize = sizeof(val); @@ -74,14 +74,14 @@ static void unix_wait_for_connect(void *opaque) } } -FdMigrationState *unix_start_outgoing_migration(Monitor *mon, +MigrationState *unix_start_outgoing_migration(Monitor *mon, const char *path, int64_t bandwidth_limit, int detach, int blk, int inc) { - FdMigrationState *s; + MigrationState *s; struct sockaddr_un addr; int ret; |