
Qemu
junmuzi
这个作者很懒,什么都没留下…
展开
-
container_of 理解
问题:如何通过结构中的某个变量获取结构本身的指针???关于container_of见kernel.h中:/*** container_of - cast a member of a structure out to the containing structure* @ptr: the pointer to the member.* @type: the t转载 2013-12-12 21:56:51 · 604 阅读 · 0 评论 -
gcov、lcov与genhtml
original url: http://blog.sina.com.cn/s/blog_7e4ac8b501018b27.htmlgcc是linux平台下的C、C++ 编译器gcov是配合gcc产生覆盖信息报告的工具;lcov是将gcov产生的报告信息,以更直观的方式显示出来工具基本的使用方法分为4个阶段:(一)、gcc编译:产生插装后的目标文件test、gcov转载 2015-03-27 11:11:22 · 1318 阅读 · 0 评论 -
嵌入式Linux系统的Bootloader简介
原文网址:嵌入式Linux系统的Bootloader简介 支持Linux的Bootloader比较多,发展到2010年,出现了一些必然的结果,有些Bootloader已经消失,有些Bootloader被取代,有些Bootloader被合并,有些虽然在发展,不过已退居一个偏僻的角落。现在就主流的或者说应用的有点广泛的Bootloader做个介绍。 GRUB/GRUB2转载 2014-11-05 13:20:18 · 1478 阅读 · 0 评论 -
(Good!!!)imapfilter + offlineimap + msmtp + mutt + abook = email
So, I’ve spent a little over a week setting up my new email consumption/creation system. As you can see from the title of this blog post, there are a few parts to it. Why would I do something crazy li转载 2014-11-07 12:46:35 · 2898 阅读 · 0 评论 -
SeaBIOS study (1)
SeaBIOS [1] 是 x86 结构下的一种 BIOS 的开源实现,可以完成类似 coreboot [2] 初始化硬件后payload的工作,实现一些启动逻辑。CPU初始化后,放在EIP中执行的第一条指令地址为0xFFFFFFF0,这是intel CPU的一个hack (an inelegant but effective solution to a computing problem),转载 2014-05-13 22:17:40 · 5842 阅读 · 0 评论 -
/howto-configure-msmtp-to-work-with-gmail-on-linux
Msmtp is a small but powerful and highly customizable smtp client. You can access gmail smtp using msmtp, which is exactly what I’ll teach in this tutorial.Step by step instructions:Install msmt转载 2014-05-15 17:29:22 · 1009 阅读 · 0 评论 -
Ubuntu 下使用 mutt 和 msmtp 发送 Gmail 邮件
参考: http://www.habadog.com/2011/11/23/send-mail-with-msmtp-mutt-linux http://www.absolutelytech.com/2010/07/17/howto-configure-msmtp-to-work-with-gmail-on-linuxmsmtp 是一款专门负责邮件发送的客户端软转载 2014-05-15 18:06:49 · 1913 阅读 · 1 评论 -
HugePage简介和KVM中使用HugePage
在KVM的测试中,有一项是要测试huge page的使用,所以对Huge Page(巨页)做了一些了解,结合网上的一些资料进行总结一下。现在,有许多的处理器架构都支持多种的内存页大小,其中就包括比一般的page size大很多的huge page。就目前来说,尽管在个人电脑中基本都实现了对huge page的支持,然而,huge page的使用主要还是在一些大型服务器和计算机集群中使用。1转载 2014-02-11 14:15:12 · 7115 阅读 · 0 评论 -
/bin/sh: autoreconf: command not found (centos 6.5 install qemu from source code)
# yum install install autoconf automake libtool原创 2014-01-26 23:22:49 · 24135 阅读 · 0 评论 -
rng_egd_chr_read分析
backends/rng-egd.c------buf即Rng的物理buffer指针,size即为Rng的buffer的大小。static void rng_egd_chr_read(void *opaque, const uint8_t *buf, int size){ RngEgd *s = RNG_EGD(opaque); size_t buf原创 2014-01-16 23:28:40 · 927 阅读 · 0 评论 -
How to git clone linux kernel for developer(THE URL)
stable:git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git原创 2014-10-09 02:19:32 · 1074 阅读 · 0 评论