News for hackers. Stuff that matters.
Re:Meet LKL: Turn Linux Kernel into a Library by rwmj on Monday February 01, 2016 @01:19PM (#11013868)
I added experimental support for LKL to libguestfs[1]. It's not upstream in libguestfs because LKL isn't upstream in the kernel, but I'm rooting for it because it'll be nice to have a rump kernel based on Linux. It makes it a much easier sell for all the companies currently built around the "Linux ecosystem".

One problem is it appears to require that programs are rewritten, replacing all system calls with lkl_sys_* variants. For some programs this is necessary, because you want to differentiate between (eg) lkl_sys_open (open a file through LKL) and regular open (open a file on the host), but it's also a pain for any significant program.

[1] https://rwmj.wordpress.com/2015/11/07/linux-kernel-library-b...

Re:Meet LKL: Turn Linux Kernel into a Library by ambrice on Monday February 01, 2016 @03:44PM (#11015254)
It might be useful to make an LD_PRELOAD library that does the translation.
Re:Meet LKL: Turn Linux Kernel into a Library by dohqu8Zi on Monday February 01, 2016 @04:41PM (#11015704)
Only in corner cases you want to replace all syscalls to LKL calls. Often you need to call to the host as well. Especially LKL itself needs...
Re:Meet LKL: Turn Linux Kernel into a Library by thehajime on Monday February 01, 2016 @08:20PM (#11017086)
lkl (and rump hijack library) already do the job, though it's not perfect (at least in lkl right now).