libvirt is a library that provides a common API for managing popular virtualization solutions, among them KVM and Xen. 使用virt-install创建image qemu-img ...
分类:
其他好文 时间:
2014-07-16 18:35:42
阅读次数:
273
Virtual Machine Lifecycle This page describes the basics of the virtual machine lifecycle. Its aim is to provide fundamental information to create, ru...
分类:
其他好文 时间:
2014-07-16 18:29:27
阅读次数:
365
How the virtual networks used by guests work Networking using libvirt is generally fairly simple, and in this section you'll learn the concepts you ne...
分类:
Web程序 时间:
2014-07-16 18:27:29
阅读次数:
311
Running your own dnsmasq with libvirtd On linux host servers, libvirtd uses dnsmasq to service the virtual networks, such as the default network. A ne...
分类:
其他好文 时间:
2014-07-16 18:18:01
阅读次数:
173
原因是虽然Virtual Box 导入的时候有重设网卡MAC 的选项,不过实际上好像只是重置的虚拟机的,虚拟机中的系统还得自己手工改MAC 地址。...
分类:
系统相关 时间:
2014-07-16 17:09:59
阅读次数:
227
1.Create a VM01 on esx01,Create a VM02 on esx02 2.Create the RDM on your VM01 (using the virtual, not physical)3.Add new disk to VM02 (select existing...
分类:
其他好文 时间:
2014-07-16 16:46:24
阅读次数:
203
顺序表的实现与分析引 --线性表的抽象基类:template
class LinearList
{
public:
LinearList();
~LinearList();
virtual int Size() const = 0; //返回线性表所能够存储的最大长度
virtual int Length() const = 0; //当前线性表的长度
...
分类:
编程语言 时间:
2014-07-16 14:37:36
阅读次数:
247
虚函数联系到多态,多态联系到继承,没有了继承,什么都是不成立的。一:什么是虚函数?简单地说,那些被virtual关键字修饰的成员函数,就是虚函数。虚函数的作用,用专业术语来解释就是实现多态性(Polymorphism),多态性是将接口与实现进行分离;用形象的语言来解释就是实现以共同的方法,但因个体差...
分类:
编程语言 时间:
2014-07-16 12:20:33
阅读次数:
372
1.virtual 函数版本
class GameCharacter{
public:
virtual int healthValue() const; //返回人物的健康指数, derived classes 可重新定义它
};
2.使用 non-virtual interface 手法,那是 Template Method 设计模式的一种特殊形式。
让客户通过 public non-virtual 成员函数间接调用 private virtual 函数
class GameCharacter{
pu...
分类:
编程语言 时间:
2014-07-15 22:36:18
阅读次数:
364
HBase提供基于单行数据操作的原子性保证
即:对同一行的变更操作(包括针对一列/多列/多column family的操作),要么完全成功,要么完全失败,不会有其他状态...
分类:
其他好文 时间:
2014-07-15 12:46:13
阅读次数:
367