qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/9] introduce virtio net dataplane


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH 0/9] introduce virtio net dataplane
Date: Fri, 22 Feb 2013 12:06:49 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Am 21.02.2013 um 18:05 hat Paolo Bonzini geschrieben:
> Il 21/02/2013 17:33, Stefan Hajnoczi ha scritto:
> >  * BlockDriverState <-> AioContext
> > 
> >    It probably makes sense to bind a BlockDriverState to an AioContext
> >    in which its file descriptors and aio activity happens.
> 
> ... and have the full chain of BlockDriverStates (bs->file,
> bs->backing_file and any others as in the vmdk driver) bound to a single
> AioContext.  We will use two BlockDriverStates if the same backing file
> happens to be shared by two disks (BTW, anybody ever checked what kind
> of havoc happens if you commit to such a BDS? :)).

Backing files aren't that interesting indeed, but I think there could be
cases where two BDSes refer to the same parent BDS. For example think of
the read-only qcow2 snapshot BDS that we've been talking about before.

So it would have to be more like one AioContext per connected component
in the BDS graph, if one per BDS doesn't work (why doesn't it?)

Kevin



reply via email to

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