首页 > 其他 > 详细

gvisor Kernel setup

时间:2021-01-22 09:58:59      阅读:30      评论:0      收藏:0      [点我收藏+]

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!