Re: [Qemu-devel] [PATCH v2 3/4] io: Don't call close multiple times in QIOChannelFile

2018-01-18 Thread Daniel P. Berrange
On Wed, Nov 01, 2017 at 02:25:25PM +, Ross Lagerwall wrote: > 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 La

Re: [Qemu-devel] [PATCH v2 3/4] io: Don't call close multiple times in QIOChannelFile

2017-11-01 Thread Marc-André Lureau
On Wed, Nov 1, 2017 at 3:25 PM, Ross Lagerwall wrote: > 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

[Qemu-devel] [PATCH v2 3/4] io: Don't call close multiple times in QIOChannelFile

2017-11-01 Thread Ross Lagerwall
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 --- New in v2. io/channel-file.c | 1 + 1 file changed, 1 inser