GithubHelp home page GithubHelp logo

gthvn1 / mini-zos Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 49 KB

A unikernel written in zig that runs on top of Xen and provides runtime for Wasm binaries...

License: GNU General Public License v3.0

Zig 75.13% Nix 5.74% WebAssembly 14.59% JavaScript 4.54%
unikernel wasm xen zig

mini-zos's Introduction

Monkey Islang

Ahoy and welcome, dear voyager, to the shores of Monkey Islang! A curious haven nestled amidst the vast expanse of the digital ocean. Islang, reminiscent of the tales spun around the mystical Island, hosts within its embrace two grand endeavors tethered to the legendary MonkeyLang.


These pursuits unfold as an ersatz of a kernel, akin to the core of an enigmatic engine, and an interpreter—an ethereal conduit to the realms of syntax and semantics. Verily, it is an expedition of pure exploration, where the only aspiration is the ceaseless unraveling of these twin universes.

For this wondrous odyssey, we embark with three delightful vehicles, chariots of innovation: Ocaml, Rust, Zig... each bearing its own flair and enchantment. With these, we shall chart our course through the uncharted.

Ah, the mysteries that await, the uncharted territories we shall traverse! Join us, dear reader, as we unravel the unknown and set sail toward the unexplored horizons of possibility...

mini-zos's People

Contributors

gthvn1 avatar

Watchers

 avatar

mini-zos's Issues

xc says that kernel is invalid because no loader found...

First try... we didn't expect it to work so it is not a deception 😄

[20:45 xcp-ng-ijrfa ~]# xl create minizos.cfg -c
Parsing config from minizos.cfg
xc: error: panic: xc_dom_core.c:692: xc_dom_find_loader: no loader found: Invalid kernel
libxl: error: libxl_dom.c:749:libxl__build_dom: xc_dom_parse_image failed
libxl: error: libxl_create.c:1420:domcreate_rebuild_done: Domain 2:cannot (re-)build domain: -3
libxl: error: libxl_domain.c:1177:libxl__destroy_domid: Domain 2:Non-existant domain
libxl: error: libxl_domain.c:1131:domain_destroy_callback: Domain 2:Unable to destroy guest
libxl: error: libxl_domain.c:1058:domain_destroy_cb: Domain 2:Destruction of domain failed

Add ELFNOTE

Xen relies on ELFNOTE to get information from the guest. For example in mini-os:arch/x86/x86_64.S we can see:

ELFNOTE(Xen, XEN_ELFNOTE_GUEST_OS, .asciz "Mini-OS")
ELFNOTE(Xen, XEN_ELFNOTE_LOADER, .asciz "generic")
ELFNOTE(Xen, XEN_ELFNOTE_HYPERCALL_PAGE, _WORD hypercall_page)
ELFNOTE(Xen, XEN_ELFNOTE_XEN_VERSION, .asciz "xen-3.0")

We need to add this kind of information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.