qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 17/25] block/raw-win32: implement .bdrv_detac


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v2 17/25] block/raw-win32: implement .bdrv_detach/attach_aio_context()
Date: Thu, 8 May 2014 13:25:32 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]