On Wed, May 07, 2014 at 12:35:40PM +0200, Paolo Bonzini wrote: > >@@ -207,7 +217,6 @@ out_free_state: > > > > void win32_aio_cleanup(QEMUWin32AIOState *aio) > > { > >- qemu_aio_set_event_notifier(&aio->e, NULL); > > Perhaps it would be safer not to leave a dangling pointer in the > AioContext, and detach manually here (or at least add an assertion). > Can be done as a follow-up though.
I will add the assertion.