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

2010-11-09 Thread Stefan Hajnoczi
On Wed, Nov 3, 2010 at 6:39 PM, Juan Quintela wrote: > Anthony Liguori wrote: >> On 11/03/2010 10:12 AM, Juan Quintela wrote: >>> Anthony Liguori  wrote: >>> On 11/03/2010 09:29 AM, Stefan Hajnoczi wrote: > Since commit 4bed9837309e58d208183f81d8344996744292cf an .fd_read() > ha

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

2010-11-03 Thread Juan Quintela
Anthony Liguori wrote: > On 11/03/2010 10:12 AM, Juan Quintela wrote: >> Anthony Liguori wrote: >> >>> 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_wr

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

2010-11-03 Thread Anthony Liguori
On 11/03/2010 10:12 AM, Juan Quintela wrote: Anthony Liguori wrote: 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.

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

2010-11-03 Thread Juan Quintela
Anthony Liguori wrote: > 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(

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

2010-11-03 Thread Stefan Hajnoczi
On Wed, Nov 3, 2010 at 2:39 PM, Juan Quintela wrote: > 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 .f

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

2010-11-03 Thread Juan Quintela
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 an IOHandler t