]> git.proxmox.com Git - qemu.git/blobdiff - migration-exec.c
qom: aggressively optimize qom casting
[qemu.git] / migration-exec.c
index 1c539de93172235de3a8aecd3a231008bda61625..deab4e378e0c8578c8de461481f18fff0a0aea92 100644 (file)
@@ -35,8 +35,8 @@
 
 void exec_start_outgoing_migration(MigrationState *s, const char *command, Error **errp)
 {
-    s->migration_file = qemu_popen_cmd(command, "w");
-    if (s->migration_file == NULL) {
+    s->file = qemu_popen_cmd(command, "w");
+    if (s->file == NULL) {
         error_setg_errno(errp, errno, "failed to popen the migration target");
         return;
     }