gvisor Kernel setup

Kernel setup

runsc/boot/loader.go

There are two kernel structs, kernel.Kernel and ring0.Kernelkernel.Kernel contains most of kernel data structures while ring0.kernel only contains PageTables *pagetables.PageTables and globalIDT idt64. As shown in the following figure, loader.go will create a VM and setup kernel.Kernel, while the KVM will setup ring0.Kernel. Figure source is on plantuml.

kernel setup

What’s the different between ring0.Kernel and kernel.Kernel

What’s the relation between kernel and machine

When machine, ring0.Kernel and kernel.Kernel will be called

posted on 2021-01-22 09:09  tycoon3  阅读(110)  评论(0编辑  收藏  举报

导航