摘要: http://libvirt.org/git/$ git clone git://libvirt.org/libvirt-python.git2013年的事情了。$ git show a7a1244commit a7a1244a739d134a9aca7f76c12d63043810c077Auth... 阅读全文
posted @ 2015-06-01 22:41 lvmxh 阅读(223) 评论(0) 推荐(0)
摘要: 很久没有编译 libvirt了。 工作需要,重新编译。 [org_ref]: http://libvirt.org/compiling.html 很简单。 编译过程, 还是很多问题。 依赖包(给懒人参考): $ sudo apt-get install libtool libxml-xpath-pe 阅读全文
posted @ 2015-05-31 01:27 lvmxh 阅读(657) 评论(0) 推荐(0)
摘要: 我见过最全的剖析QEMU原理的文章qemu代码分析qemu中ELF文件的加载几个关键点,可以设计断点,观察。$ cat command.gdbset breakpoint pending onfile bin/debug/native/x86_64-softmmu/qemu-system-x86_6... 阅读全文
posted @ 2015-05-27 21:39 lvmxh 阅读(1333) 评论(0) 推荐(0)
摘要: 搜索: user-defined例子。# save this file in ~/.gdb or some where easy to find.# then in ~/.gdbinit add the following line...# source ~/.gdb/osip_gdb_util##... 阅读全文
posted @ 2015-05-27 19:24 lvmxh 阅读(544) 评论(0) 推荐(0)
摘要: 最近需要给libvirt增加一个新feature,该feature基于qemu的最新代码。我需要关心的:http://wiki.qemu.org/Features/Migration需要自己编译qemu,登录qemu的 官网,做一下总结。clone qemu 代码:[org_ref]:http://... 阅读全文
posted @ 2015-05-27 09:09 lvmxh 阅读(1528) 评论(0) 推荐(0)
摘要: 想写nova的policy的实现, 但是发现网上,有人写的很不错了。ref: http://blog.csdn.net/hackerain/article/details/8241691但是,policy本身存在一点问题,其他文章没有介绍。policy的加载是同步的,每次loader的时候,都会检测... 阅读全文
posted @ 2015-05-25 11:26 lvmxh 阅读(1053) 评论(0) 推荐(0)
摘要: 之前想写nova的policy的实现, 但是发现网上,有人写的很不错了。但是个人认为存在一些问题。 ref: http://www.cnblogs.com/shaohef/p/4527436.html希望 microversion 还没有人写。microversion实现microversion实... 阅读全文
posted @ 2015-05-25 11:21 lvmxh 阅读(822) 评论(0) 推荐(0)
摘要: 转自不正直的绅士,因百度空间迁移,无法注明出处,我从其google搜索引擎中的cache进行的copy.不正直的绅士 是跟我一起工作过的非常有才的一个青年才俊。Paxos的使用非常广泛。sanlock也使用了paxos。共研究Paxos算法的程序猿参考。Paxos算法小结1Paxos算法的背景1.1... 阅读全文
posted @ 2015-05-13 11:13 lvmxh 阅读(5043) 评论(1) 推荐(1)
摘要: http://www.ibm.com/developerworks/cn/linux/l-cn-chroot/http://liyongxian.blog.51cto.com/432519/112609为何使用 chroot在经过 chroot 之后,系统读取到的目录和文件将不在是旧系统根下的而是新... 阅读全文
posted @ 2015-05-12 23:13 lvmxh 阅读(330) 评论(0) 推荐(0)
摘要: 转载:http://laokaddk.blog.51cto.com/368606/674256命名空间提供了虚拟化的一种轻量级形式,使得我们可以从不同的方面来查看运行系统的全局属性。该机制类似于Solaris中的zone或 FreeBSD中的jail。对该概念做一般概述之后,我将讨论命名空间框架所提... 阅读全文
posted @ 2015-05-12 23:02 lvmxh 阅读(540) 评论(0) 推荐(0)