- 博客(9)
- 资源 (3)
- 收藏
- 关注
原创 CPU Steal time
CPU Steal time 是指虚拟机vm需要执行某个命令但是没有抢到物理cpu来执行的时间.其实现在arch/arm64/kernel/paravirt.c这个特性对应一个kconfig CONFIG_PARAVIRT,开了这个能提高系统性能.开了这个config后,这个特性就使能了,但是这个特性应该只在guest kernel中使用,host的kernel中则可以关掉这个特性sta...
2020-04-27 15:15:57 2104
原创 使用supermin5 制作docker 镜像
安装supermin5-5.1.19-1.el7.aarch64创建镜像:supermin5 -v --prepare base coreutils -o supermin.dsupermin: version: 5.1.19supermin: rpm: detected RPM version 4.11supermin: package handler: fedora/rpmsup...
2020-04-24 17:27:38 1012
原创 centos 通过命令行创建虚拟机
需要安装的软件yum install -y qemu-kvm virt-manager libvirt AAVMF.noarch建立磁盘qemu-img create -f qcow2 tiantao.qcow2 30G可能需要修改/etc/libvirt/qemu.conf# Some examples of valid values are:## user = "q...
2020-04-11 15:23:01 1311
原创 git 合并多个commit
加入现在要合并b943f045a9af 和 8380ce479010 这两个committiantao@EstBuildSvr1:~/kernel/rebasekernel/kernel$ git log --onelineb943f045a9af (HEAD) mm/sparse: fix kernel crash with pfn_section_valid check8380ce4...
2020-04-11 10:00:01 993
原创 cannot undefine domain with nvram
通过virsh删除虚拟机时报错,提示cannot undefine domain with nvram,解决方法是加上--nvram分析如下:报错的函数如下:原来是因为加了VIR_DOMAIN_UNDEFINE_KEEP_NVRAMqemuDomainUndefineFlags(virDomainPtr dom, unsigned i...
2020-04-10 19:54:57 8061 1
原创 scp pm domain
在spci_pm_domian.c中会为支持power on 和 power off的设备提供scp 的接口。其入口函数是scpi_pm_domain_probestatic int scpi_pm_domain_probe(struct platform_device *pdev){ #每个设备可能有多个power domain ret = of_property_read_u32...
2020-04-02 20:45:57 1353
原创 scp 处理clk_get_val 的流程
linux 中怎么使用scp呢?首先在arm_scpi.c中export了 get_scpi_ops 这样其他驱动可以调用get_scpi_ops来使用spcistatic struct scpi_ops scpi_ops = { .get_version = scpi_get_version, .clk_get_range = scpi_clk_get_range, .clk_get...
2020-04-02 10:57:55 1432 1
原创 scp
scp的全称是System Control and Management Interface ,其对应的源码为https://github.com/ARM-software/SCP-firmware其主要功能如下:Initialization of the system to enable application core bootRuntime services:Power dom...
2020-04-02 09:04:02 2275
EDK_II_UserManual_0_7.pdf
2017-03-24
EDK_II Module Writer_s Guide_0_7.pdf
2017-03-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人