summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/types.py
diff options
context:
space:
mode:
authorRoss Lagerwall2017-11-01 15:25:25 +0100
committerDaniel P. Berrangé2018-02-15 17:54:57 +0100
commita2565df12c59362c061084a0c853dace410cac26 (patch)
tree671ec6dad0f4da0448ff597685887e1d81434055 /scripts/qapi/types.py
parentio: Fix QIOChannelFile when creating and opening read-write (diff)
downloadqemu-a2565df12c59362c061084a0c853dace410cac26.tar.gz
qemu-a2565df12c59362c061084a0c853dace410cac26.tar.xz
qemu-a2565df12c59362c061084a0c853dace410cac26.zip
io: Don't call close multiple times in QIOChannelFile
If the file descriptor underlying QIOChannelFile is closed in the io_close() method, don't close it again in the finalize() method since the file descriptor number may have been reused in the meantime. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'scripts/qapi/types.py')
0 files changed, 0 insertions, 0 deletions