[osv-dev] Booting Bare Metal

2019-11-25 Thread Matthew Weekley
I am looking to boot the kernel I generated from the build script. How would one recommend doing so using grub? I have noticed that OSv doesn't support multiboot, or so it seems to me. I am not a grub expert by any means so that's why I am asking for some help. I am doing a school research

[osv-dev] Unikernels as highly isolated processes and an idea to implement limited fork/execve in OSv

2019-11-25 Thread Waldek Kozaczuk
Sometimes it might be more useful to think of unikernels as highly isolated processes instead of microVMs with a specialised guest OS. See Nabla processes - https://acmsocc.github.io/2018/slides/socc18-slides-williams.pdf . So given that I wonder if it would make sense/be feasible/applicable to

[osv-dev] Running Linux apps compiled and linked against musl

2019-11-25 Thread Waldek Kozaczuk
I think there are many apps these days built to run on Alpine Linux that uses musl instead of glibc. Given that OSv uses musl and extends it to expose as a subset of glibc, how difficult would it be to expose musl as-is at the same time and thus support musl-built Linux binaries? Is it even

Re: [osv-dev] OSv boots in 3ms on QEMU microvm machine

2019-11-25 Thread Waldek Kozaczuk
First please note that this and other old (5ms) firecracker boot times were recorded when running on my old 2013 MacBook Pro with 4-way 2.3GHz i7 cpu with Ubuntu 19.04 on it. I think it still a decent laptop and the cpus have not gotten that much faster (Moore's law is dead now, right?), but it

Re: [osv-dev] [COMMIT osv master] power down: cause triple fault if keyboard controller method did not work on non-acpi hypervisors

2019-11-25 Thread Waldek Kozaczuk
On Sunday, November 24, 2019 at 7:09:17 AM UTC-5, Nadav Har'El wrote: > > I'm not too happy with this patch. My review is too late, but better late > than never... > > On Fri, Nov 22, 2019 at 7:15 AM Commit Bot > wrote: > >> From: Waldemar Kozaczuk > >> Committer: Waldemar Kozaczuk > >>

Re: [osv-dev] Trying to run .NET Core hello world on OSv - help needed!

2019-11-25 Thread Waldek Kozaczuk
I will create issues for some of those to better track them. On Sunday, November 24, 2019 at 8:33:49 AM UTC-5, Nadav Har'El wrote: > > On Thu, Nov 21, 2019 at 6:01 AM Waldek Kozaczuk > wrote: > >> Before I go into details of what I have found out and what the remedy >> might be, let me say that

Re: [osv-dev] Re: [COMMIT osv-apps master] webassembly: add 3 WASM examples - lua, sqlite and nginx - to run on wasmer

2019-11-25 Thread Pekka Enberg
Hi, On Mon, Nov 25, 2019 at 6:41 PM Waldek Kozaczuk wrote: > I do not know exactly how wasmer works, but I think on the first run of a > given wasm file it transforms it into machine code and then stores in the > cache for the faster start next time. With ZFS images the 2nd time will be >

[osv-dev] Booting OSv Kernel from Grub

2019-11-25 Thread tweekley5
I am looking to boot the kernel I generated from the build script. How would one recommend doing so using grub? I have noticed that OSv doesn't support multiboot, or so it seems to me. I am not a grub expert by any means so that's why I am asking for some help. I am doing a school research

Re: [osv-dev] Re: Is it possible to run GUI apps as OSv Unikernels?

2019-11-25 Thread Waldek Kozaczuk
On Sunday, November 24, 2019 at 2:13:02 PM UTC-5, Nadav Har'El wrote: > > On Tue, Nov 12, 2019 at 12:49 AM Waldek Kozaczuk > wrote: > >> First of OSv comes with a simple VGA console driver that allows apps like >> rogue run (see apps/rogue). >> >> As far as X11 apps I had not tried to run them

[osv-dev] Re: Capstan Build Fail and Fix

2019-11-25 Thread Waldek Kozaczuk
I am not golang expert either. Maybe others, original authors of capstan on the list can chime in. I will look into myself. If there is a lot of work we might just explicitly stick with v1. Either way, it would be good to express the explict dependency on the specific version rather than always

[osv-dev] Re: [COMMIT osv-apps master] webassembly: add 3 WASM examples - lua, sqlite and nginx - to run on wasmer

2019-11-25 Thread Waldek Kozaczuk
I do not know exactly how wasmer works, but I think on the first run of a given wasm file it transforms it into machine code and then stores in the cache for the faster start next time. With ZFS images the 2nd time will be faster as well. With ROFS the cache is on RAMFS so it transforms the

[osv-dev] Interesting paper: Towards a Practical Ecosystem of Specialized OS Kernels

2019-11-25 Thread Waldek Kozaczuk
You can read it here - http://cs.iit.edu/~khale/docs/diver-ross19.pdf. It mentions OSv and capstan. The authors lay out ambitious plans to create specialized OSes build and deployment ecosystem - driver. Regarding capstan, one of the features it is missing is the ability to build images out

[osv-dev] [COMMIT osv master] apps: update to the latest

2019-11-25 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master apps: update to the latest Signed-off-by: Waldemar Kozaczuk --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit d5ba975d22f7fac1d47dec92017cc2ecc8ce70ee +Subproject commit

[osv-dev] [COMMIT osv-apps master] graalvm: updated to 19.3 and put common download logic in single sub makefile

2019-11-25 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master graalvm: updated to 19.3 and put common download logic in single sub makefile Signed-off-by: Waldemar Kozaczuk --- diff --git a/graalvm-example/.gitignore b/graalvm-example/.gitignore --- a/graalvm-example/.gitignore +++

[osv-dev] [COMMIT osv-apps master] webassembly: add 3 WASM examples - lua, sqlite and nginx - to run on wasmer

2019-11-25 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master webassembly: add 3 WASM examples - lua, sqlite and nginx - to run on wasmer Signed-off-by: Waldemar Kozaczuk --- diff --git a/webassembly/Makefile b/webassembly/Makefile --- a/webassembly/Makefile +++ b/webassembly/Makefile

[osv-dev] [COMMIT osv-apps master] graalvm: added JS runtime

2019-11-25 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master graalvm: added JS runtime Signed-off-by: Waldemar Kozaczuk --- diff --git a/graalvm-js/.gitignore b/graalvm-js/.gitignore --- a/graalvm-js/.gitignore +++ b/graalvm-js/.gitignore @@ -0,0 +1 @@ +usr.manifest diff --git

[osv-dev] [COMMIT osv-apps master] Add new Typescript/Javascript runtime - deno - example

2019-11-25 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Add new Typescript/Javascript runtime - deno - example Signed-off-by: Waldemar Kozaczuk --- diff --git a/deno/Makefile b/deno/Makefile --- a/deno/Makefile +++ b/deno/Makefile @@ -0,0 +1,19 @@ +src = $(shell readlink -f