|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-block] [Qemu-devel] [PATCH 13/16] block: only call aio_poll from iothread |
Date: | Wed, 9 Mar 2016 09:55:13 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
On 09/03/2016 09:30, Fam Zheng wrote: > > - aio_poll(bdrv_get_aio_context(bs), true); > > + if (aio_context_in_iothread(ctx)) { > > + /* This case should not occur at all, except for the > > + * main thread. > > + */ > > Maybe assert ctx == qemu_get_aio_context()? Sure. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |