Paolo Bonzini <pbonz...@redhat.com> writes: > Il 13/03/2013 18:23, Anthony Liguori ha scritto: >> I think the nesting is also a bit strange. > > Nesting's gone since we added coroutines. :)
Okay, I owe AioContext a deeper look then. Regards, Anthony Liguori >>> I would like the dataplane virtio code to >>> grow everything else that needs to be in all dataplane-style devices >>> (for example, things such as setting up the guest<->host notifiers), and >>> the hw/virtio.c API implemented on top of it (or dead altogether). >>> Usage of AioContext is pretty much forced by the block layer. >> >> I don't think that AioContext is the right answer because it makes it >> too easy to shoot yourself in the foot. > > See above, if nesting is the problem it's gone. > > Paolo