Opened 9 years ago

Last modified 6 years ago

#1102 new enhancement

Enable the kernel to run as a userland process on top of itself

Reported by: axeld Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version:
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description (last modified by axeld)

As a testbed for kernel development, profiling, etc. a virtual kernel running on top of the actual kernel would be beneficial. Also having it run on top of ie. Linux or BeOS would be nice, if possible, especially as long Haiku is not self hosting.

Jonas Sundström was kind enough to collect some more informations, mostly from the DragonFly project:

"Reduces the engineering cycle time for testing new kernel code

from 5 minutes to 5 seconds." -- Matthew Dillon

Reasons for wanting to have a working virtual kernel

A few questions and answers

Performance ans system resources

Use of memory

Short-term goals

A few tickets

Function conflicts between kernel and libc

Man page

Production uses for virtual kernels

"Checkpointing" vkernels


Change History (3)

comment:1 Changed 9 years ago by axeld

  • Description modified (diff)

comment:2 Changed 9 years ago by jonas.kirilla

Some more on DragonFlyBSD's implementation, FWIW.

mmap(.. MAP_VPAGETABLE ..) - with code snippet

Commits - Adjustments to low level madvise/mcontrol/mmap support code to accomodate vmspace_*() calls

What the real kernel does and what the virtual kernel does

Devices that might be meaningful in a virtual kernel

comment:3 Changed 6 years ago by axeld

  • Owner changed from axeld to nobody
  • Version R1/pre-alpha1 deleted
Note: See TracTickets for help on using tickets.