[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v2 5/5] block: keep AioContext pointer in BlockB
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-block] [PATCH v2 5/5] block: keep AioContext pointer in BlockBackend |
Date: |
Thu, 29 Sep 2016 09:47:53 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
On 29/09/2016 05:05, Fam Zheng wrote:
> > So whether we can move a certain BB from some context to another depends
> > on what the frontend supports, I don't think there is a generic answer
> > we can implement here in the generic BB code. NBD for instance allows
> > any movement; but devices probably only allow movements they have
> > initiated themselves (e.g. dataplane will allow exactly what you
> > describe here with that assertion, and any other device will probably
> > not allow anything but the main loop).
>
> Indeed, you make me think this should be an op blocker (that applies on whole
> graph).
The concept of a BDS or BB's AioContext is going to disappear sooner or
later, take this into account to decide how much effort to put into
fixing this.
Paolo
- Re: [Qemu-block] [PATCH v2 1/5] blockdev-mirror: Sanity check before moving target_bs AioContext, (continued)