上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 164 下一页

2021年1月15日

摘要: KVM is a virtualization technology that comes with the Linux kernel. In other words, it allows you to run multiple virtual machines (VMs) on a single 阅读全文
posted @ 2021-01-15 11:57 tycoon3 阅读(215) 评论(0) 推荐(0)
摘要: 一、背景知识 介绍:KVM 全称是 基于内核的虚拟机(Kernel-based Virtual Machine),它是Linux 的一个内核模块,该内核模块使得 Linux 变成了一个 Hypervisor。 KVM架构:KVM 是基于虚拟化扩展(Intel VT 或者 AMD-V)的 X86 硬件 阅读全文
posted @ 2021-01-15 11:25 tycoon3 阅读(360) 评论(0) 推荐(0)

2021年1月14日

摘要: root@cloud:~# docker exec -it test ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from 8.8.8.8: seq=0 ttl=42 time=56.182 ms 64 bytes from 阅读全文
posted @ 2021-01-14 20:03 tycoon3 阅读(164) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/realjimmy/p/13418508.html golang 安装 tar -xvf go1.15.2.linux-arm64.tar.gz -C /usr/local/go [root@centos7 ~]# ls /usr/local/go g 阅读全文
posted @ 2021-01-14 16:01 tycoon3 阅读(2837) 评论(0) 推荐(0)
摘要: Stack traces Debugger Profiling Docker Proxy To enable debug and system call logging, add the runtimeArgs below to your Docker configuration (/etc/doc 阅读全文
posted @ 2021-01-14 15:36 tycoon3 阅读(248) 评论(0) 推荐(0)
摘要: Go 中 Syscall 的实现,在汇编文件 syscall/asm_linux_amd64.s 中 // func Syscall(trap int64, a1, a2, a3 int64) (r1, r2, err int64); // Trap # in AX, args in DI SI D 阅读全文
posted @ 2021-01-14 10:12 tycoon3 阅读(407) 评论(0) 推荐(0)
摘要: 实验平台i386,linux kernel版本:2..6.22(之后版本原理都是一样) 首先上一副图: 首先知道cpu看到的都是虚拟地址,CR3寄存器,页表中都是存的物理地址,通过MMU把虚拟地址映射到页表中的物理地址,这幅图说的很清楚了,接下来要获取到sys_call_table在内核中的内存地址 阅读全文
posted @ 2021-01-14 09:24 tycoon3 阅读(314) 评论(0) 推荐(0)

2021年1月13日

摘要: instruction set to provide isolation of resources at hardware level. Since Qemu is a userspace process, the kernel treats it like other processes from 阅读全文
posted @ 2021-01-13 20:31 tycoon3 阅读(180) 评论(0) 推荐(0)
摘要: 在Linux中,大家应该对syscall非常的了解和熟悉,其是用户态进入内核态的一种途径或者说是一种方式,完成了两个模式之间的切换; 而在虚拟环境中,有没有一种类似于syscall这种方式,能够从no root模式切换到root模式呢?答案是肯定的,KVM提供了Hypercall机制, x86体系架 阅读全文
posted @ 2021-01-13 17:46 tycoon3 阅读(1906) 评论(0) 推荐(1)
摘要: https://chengyi818.gitbooks.io/fat-cheng-s-xv6-journey/content/LEC_21/LEC_21.html https://www.usenix.org/conference/osdi12/technical-sessions/presenta 阅读全文
posted @ 2021-01-13 17:34 tycoon3 阅读(468) 评论(0) 推荐(0)
上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 164 下一页

导航