现在的位置: 首页 > 综合 > 正文

virsh的一些使用

2013年04月30日 ⁄ 综合 ⁄ 共 419字 ⁄ 字号 评论关闭

1.  创建guest

create  domain.xml

In the background, a copy of the XML file is copied to the /etc/libvirt/qemu directory and the new KVM is officially defined.

官方的xml document

http://libvirt.org/formatdomain.html

网上两个例子

http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=%2Fliaai%2Fkvmadv%2Fkvmadvvirsh.htm

2. 删除guest

undefine domain_name

3. 启动guest

start domain_name

4. 更改配置

edit domain_name

5. network的使用

http://wiki.libvirt.org/page/Networking

抱歉!评论已关闭.