- 博客(10)
- 资源 (6)
- 收藏
- 关注
转载 自己动手利用KVM和Intel VT实现简单虚拟机
自己动手利用KVM和IntelVT实现简单虚拟机计划开发一套虚拟机最小系统。该原型系统会利用Linux原生提供的内核模块kvm.ko,使用该模块提供的API接口,自行开发一个用户态程序,实现一个最基本的虚拟机。这个虚拟机能够运行一段x86指令代码,例如简单的算术运算,最终能够将运算结果通过IO端口写入客户机的串口设备中。这套最小系统能够模拟一个串口设备,将客户机串口设备中的数据显示在终端屏幕上。本章是开发实践的基础章节,通过自己动手实践本章提供的源代码,能够为后续高阶内容打下坚实的基础。在动手开
2021-05-07 09:07:08 1402 1
转载 Android Container 系列: 显示切换
Switch and Display between ContainersBackgroundSurfaceFlingerSurfaceFlinger inside has a series of layers,which correspond to the windows of applications SurfaceFlinger overlaps the windows according to the Z value of layers,calculates the blanking
2021-05-02 23:59:33 580
转载 Android Container 系列:Container Switch
/dev/container deviceDevice Drive/dev/container device is a virtual one,device driver code is indrivers/staging/android/container.cin kernel Container device provide the function of register and switch for container By ioctl operating on the device..
2021-05-02 23:56:48 394
转载 Android Container 系列: 详细步骤
Step I :Compile Android Kernel Download source code;Kernel's subproject has kernel source code corresponding to the devices here: https://android.googlesource.com You can find kernel source code path corresponding to your device here http://s
2021-05-02 23:54:18 1135 1
转载 Android Container 系列:大概步骤
Compile Kernel (support cgroups & namespaces)Downloadkernelsource code fromAndroid X86to compile,kernel'sconfigfile is copied fromAndroid X86.On this basis,you need following compiler options to surpport LXC's environment.(1) About Namespace...
2021-05-02 23:53:00 786
转载 Android init第三、四部分详细分析
本文一定要在详细阅读了,系列的第二篇文章时候,再来阅读。/init程序第三部分 action_for_each_trigger("early-init", action_add_queue_tail); queue_builtin_action(wait_for_coldboot_done_action, "wait_for_coldboot_done"); queue_builtin_action(keychord_init_action, "keychord_init"
2021-05-02 23:45:28 220
转载 Android init.rc分析
1 前言什么是init.rc文件?import /init.usb.rcimport /init.${ro.hardware}.rcimport /init.trace.rcon early-init # Set init and its forked children's oom_adj. write /proc/1/oom_adj -16 # Set the security context for the init process. # This s
2021-05-02 23:44:19 496
转载 Android 启动分析 1
1.概述Android虽然被称作一种操作系统,其实它仍然使用的Linux的kernel。所以本质上可以说,Android是一个适用于移动设备的Linux发行版。也就是说,之前的分析Linux内核的经验可以拿来用于分析Android。不过,值得注意的是,Android除去对Linux内核的一些改动外,它的大部分代码还是在Linux内核启动后的用户空间程序上。所以,分析Android代码时,不仅要对Linux内核代码熟悉,还要对熟悉Linux系统编程要用到的函数,比如fcntl、mmap、open、read
2021-05-02 23:42:48 397
转载 Linux Container 研究报告
1. 综述lxc是Linux Container的用户态工具包。其代码由三部分组成:shell脚本,部分lxc命令是用shell脚本写就的。 c语言代码,最终编译成可执行文件。这部分代码也用来提供最终的lxc命令。但是这些代码以处理命令行参数,读取配置文件等为主。 c语言代码,最终编译为动态链接库liblxc.so。该动态库提供了lxc项目的大部分功能,如配置文件分析、日志记录、容器的创建、通信等。lxc命令的各项功能基本都是通过调用liblxc.so中的函数来完成的。在命名习惯上, 生成lx
2021-05-02 23:40:50 356
转载 Cgroup 研究报告
Control Groups (Cgroups) 是 Red Hat Enterprise Linux 6 (以后简称 RHEL6) 提供的一项内核功能。Cgroup是将任意进程进行分组化管理的内核功能。Cgroup提供了一个cgroup虚拟文件系统,作为进行分组管理和各子系统设置的用户接口。因此,要使用cgroup,必须先挂载cgroup文件系统:mount -t cgroup -o 子系统名 层级名(目录名) /sys/fs/cgroup/层级名(目录名)我们可以使用 Cgroups 为任
2021-05-02 23:26:28 425
客户端启动出现错误无法运行的解决办法(缺失的jar文件)v1.2
2019-05-27
python客户端启动出现错误无法运行的解决办法(缺失的jar文件)v1.2
2019-05-24
python客户端启动出现错误无法运行的解决办法(缺失的jar文件)
2019-04-30
[原版高清图文]Python深度学习+2018中文版pdf+英文版pdf+源代码
2019-01-14
CVE-2015-3636资料整理
2016-03-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人