[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC for-2.7] block: keep AioContext pointer in BlockBa
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC for-2.7] block: keep AioContext pointer in BlockBackend |
Date: |
Tue, 17 May 2016 13:07:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 |
On 17/05/2016 12:52, Max Reitz wrote:
> A trivial way to do this would be to query the BDS's AIO context in
> blk_get_aio_context() and update the BB's context if they don't match.
> The more correct way would probably be to make bdrv_attach_aio_context()
> update its BB's (or BBs', in the future) AIO context.
That could be another BdrvChild member, couldn't it?
Thanks,
Paolo
signature.asc
Description: OpenPGP digital signature