[Lguest] "plug-ins" for devices

Rusty Russell rusty at rustcorp.com.au
Mon Oct 15 16:18:37 EST 2007


On Sunday 14 October 2007 04:03:09 Eric Van Hensbergen wrote:
> I'm rev'ing the 9p lguest patches to match the virtio interfaces.
> These worked by just putting a small bit of code in the launcher to
> "relay" requests to a server running elsewhere.  This works well
> enough, but eventually we were thinking of getting rid of extra copies
> by integrating the server into lguest (via a library or something,
> similar to what lucho did with KVM).
>
> Rusty - I was wondering what your thoughts were on this.  Lguest is
> really nice and simple and cluttering it by linking against an
> external library feels too intrusive.  One of the most beautiful parts
> about lguest is its overall simplicity.  What do you think the best
> way to approach this would be?

Hi Eric,

	This is something I've been pondering, too.  I've wondered if we can come up 
with something sane, such as unknown options automatically loading a shared 
library in /usr/local/lib/lguest/.  Then the fun part is creating the hooks 
for that shared library to grab at the lguest internals.

	This would let people throw around extensions without us having to make the 
core code an infinite ball of hair...

Thoughts?
Rusty.



More information about the Lguest mailing list