commit | 5d39c799c3245244ebb1e89da0177dbc089962b2 | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Mon Nov 30 18:21:19 2009 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Thu Dec 03 10:48:51 2009 -0600 |
tree | f32bb9adbf487d9a2213b4e0f632cd411777ec3a | |
parent | be73cfe2be9a41de4f97e4847b3f12a7d6d61159 [diff] |
migration: Fix use of file after release qemu_fclose frees the passed file structure, but do_migrate_set_speed may access it later on. Fix it by setting file NULL in migrate_fd_cleanup and checking for this. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>