lkl / linux

Linux kernel source tree

Home Page:https://lkl.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can lkl based app run on vm

qsmen opened this issue · comments

Hi,
unikernel (App based on libos) can run on a VM without os. Can the app based on lkl run on vm without os too? if not, I choose to compile the app in its targeted enviroment. i.e, if it runs in linux , i compile it in linux.
I want to use lkl to compile a single address space app.
Thank you.
qsmen

Hi, unikernel (App based on libos) can run on a VM without os. Can the app based on lkl run on vm without os too? if not, I choose to compile the app in its targeted enviroment. i.e, if it runs in linux , i compile it in linux. I want to use lkl to compile a single address space app. Thank you. qsmen

It runs on linux and some other platforms(mainly linux)

Hi, unikernel (App based on libos) can run on a VM without os. Can the app based on lkl run on vm without os too? if not, I choose to compile the app in its targeted enviroment. i.e, if it runs in linux , i compile it in linux. I want to use lkl to compile a single address space app. Thank you. qsmen

It runs on linux and some other platforms(mainly linux)

I see. Thank you.
It is said that "LKL can run in any environment, as long as the environment provides a few basic primitives" in the paper lkl. My questions are:
1).what are the few primitives? just the io syscalls supported by VMM?
2). If so, a VMM already implemented the few primitives, can the lkl-based app run in a VM?
3).and is the linked lkl-based app similar to the concept of unikernel? That is, the app is selfcontained except io syscall.

Hi, unikernel (App based on libos) can run on a VM without os. Can the app based on lkl run on vm without os too? if not, I choose to compile the app in its targeted enviroment. i.e, if it runs in linux , i compile it in linux. I want to use lkl to compile a single address space app. Thank you. qsmen

It runs on linux and some other platforms(mainly linux)

I see. Thank you. It is said that "LKL can run in any environment, as long as the environment provides a few basic primitives" in the paper lkl. My questions are: 1).what are the few primitives? just the io syscalls supported by VMM? 2). If so, a VMM already implemented the few primitives, can the lkl-based app run in a VM? 3).and is the linked lkl-based app similar to the concept of unikernel? That is, the app is selfcontained except io syscall.

I don't know much about 1) and 2). However, lkl is like a unikernel, but nearly all its syscall is selfcontained(However, host syscall can be called indirectly.