码迷,mamicode.com
首页 > 其他好文 > 详细

gvisor Kernel setup

时间:2021-01-22 12:24:28      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:path   assets   pgm   tps   www   ext   win   font   directory   

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.

技术图片

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

gvisor Kernel setup

标签:path   assets   pgm   tps   www   ext   win   font   directory   

原文地址:https://www.cnblogs.com/dream397/p/14311508.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!