On Mon, Feb 10, 2020 at 01:52:25PM -0600, Eric Blake wrote:
There's also the question of how we would do compostion. For
example, right now, the 'split' plugin basically acts as a compose
operation over the 'file' plugin (you can concatenate more than one
regular file), but more generically, we'd want some way to compose
an arbitrary number of plugins and/or filters, where having a
socketpair to each such composed child lets us handle more than just
files.
Since we allow plugins to have global variables, I suspect composition
is impossible (unless there's some dlopen trick that I'm missing).
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW