]> git.proxmox.com Git - qemu.git/blobdiff - migration-unix.c
acpi: add dummy write function for acpi timer
[qemu.git] / migration-unix.c
index 64bfa31e3523ab1102b8d2e2dd4e7721b3ffca30..94b7022fc856d3564954120eca9d737155f39eb2 100644 (file)
@@ -35,11 +35,11 @@ static void unix_wait_for_connect(int fd, void *opaque)
 
     if (fd < 0) {
         DPRINTF("migrate connect error\n");
-        s->migration_file = NULL;
+        s->file = NULL;
         migrate_fd_error(s);
     } else {
         DPRINTF("migrate connect success\n");
-        s->migration_file = qemu_fopen_socket(fd, "wb");
+        s->file = qemu_fopen_socket(fd, "wb");
         migrate_fd_connect(s);
     }
 }