On Wed, Jun 01, 2011 at 10:58:46AM +0200, Hilko Bengen wrote:
* Richard W.M. Jones:
> ACK, but once I properly test it I think I'll just make !INSMODSTATIC
> the default and only choice. It doesn't seem like there's any reason
> to call out to an external program when it's so easy to do this way.
In that case, the fork() call could go away, too.
Yes, I removed that, which made your patch 3/4 obsolete too.
And perhaps it would even be possible to mmap() the .ko files into
the
init process instead of reading them into a buffer.
Not really any need ... the files are small.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org