Re: [Qemu-devel] [PATCH] Delete IOHandlers after potentially running them

2010-11-16 Thread Anthony Liguori
On 11/03/2010 09:29 AM, Stefan Hajnoczi wrote: Since commit 4bed9837309e58d208183f81d8344996744292cf an .fd_read() handler that deletes its IOHandler is exposed to .fd_write() being called on the deleted IOHandler. This patch fixes deletion so that .fd_read() and .fd_write() are never called on

Re: [Qemu-devel] [PATCH] Delete IOHandlers after potentially running them

2010-11-03 Thread Anthony Liguori
On 11/03/2010 09:29 AM, Stefan Hajnoczi wrote: Since commit 4bed9837309e58d208183f81d8344996744292cf an .fd_read() handler that deletes its IOHandler is exposed to .fd_write() being called on the deleted IOHandler. This patch fixes deletion so that .fd_read() and .fd_write() are never called on

Re: [Qemu-devel] [PATCH] Delete IOHandlers after potentially running them

2010-11-03 Thread Anthony Liguori
On 11/03/2010 09:29 AM, Stefan Hajnoczi wrote: Since commit 4bed9837309e58d208183f81d8344996744292cf an .fd_read() handler that deletes its IOHandler is exposed to .fd_write() being called on the deleted IOHandler. This patch fixes deletion so that .fd_read() and .fd_write() are never called on

[Qemu-devel] [PATCH] Delete IOHandlers after potentially running them

2010-11-03 Thread Stefan Hajnoczi
Since commit 4bed9837309e58d208183f81d8344996744292cf an .fd_read() handler that deletes its IOHandler is exposed to .fd_write() being called on the deleted IOHandler. This patch fixes deletion so that .fd_read() and .fd_write() are never called on an IOHandler that is marked for deletion. Signed