qemu-file: Don't do IO after shutdown
commita555b8092abc6f1bbe4b64c516679cbd68fcfbd8
authorJuan Quintela <quintela@redhat.com>
Wed, 18 Dec 2019 04:11:31 +0000 (18 05:11 +0100)
committerJuan Quintela <quintela@redhat.com>
Wed, 29 Jan 2020 10:28:59 +0000 (29 11:28 +0100)
tree47a16e7f6db9931267001b5e63dc90ebc91c9233
parent3d4095b222d97393b1c2c6e514951ec7798f1c43
qemu-file: Don't do IO after shutdown

Be sure that we are not doing neither read/write after shutdown of the
QEMUFile.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/qemu-file.c