Hi Nikhil, On 9 September 2017 at 12:20, nikhil ap <[email protected]> wrote:
> I'm reading the rump kernel v2 book and I had a question on BMK. > > From page 177, "Since a rump kernel is not a real kernel, we need a real > kernel in our Rumprun software stack to provide functions which rump > kernels do not give us". > > If we are trying to run the rumpkernel on the hardware, we need to use bmk > as shown in one of the video demo but is it required in other cases? > no, they (bmk and xen) are not required for running in (POSIXy) userspace. they are part of the rumprun unikernel which can be used to run your app standalone. > For example, > > If I've statically linked the TCP/IP stack in the rumpkernel to my > application and I'm running it on CentOS as userspace application, is bmk > still required? Since the centos kernel can provide the functions mentioned > above. > > bmk is not required but you'll need to build and link with rumprun posix. fs-utils[1] provides an example of how to do this. There used to be binary packages for the popular distros but those seem to have vanished from OBS. cheers, --krishna [1] - https://github.com/rumpkernel/fs-utils > Will having BMK add another layer of same functionality? > Thanks for the help in advance! > > -- > Regards, > Nikhil > -- Rivers know this: there is no hurry. We shall get there some day. -- Winnie-the-pooh
