码迷,mamicode.com
首页 > 其他好文 > 详细

virsh VMI deploy data serial xml

时间:2014-12-07 15:02:06      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:http   ar   os   sp   on   bs   ad   as   tt   

<domain type=‘kvm‘ xmlns:qemu=‘http://libvirt.org/schemas/domain/qemu/1.0‘>
        <name>one-116</name>
        <vcpu>1</vcpu>
        <cputune>
                <shares>1024</shares>
        </cputune>
        <memory>524288</memory>
        <os>
                <type arch=‘x86_64‘>hvm</type>
                <bootloader>pygrub</bootloader>
                <boot dev=‘hd‘/>
        </os>
        <devices>
                <emulator>/usr/bin/kvm</emulator>
                <disk type=‘file‘ device=‘disk‘>
                        <source file=‘/srv/cloud/eucalyptus/var//datastores/0/116/disk.0‘/>
                        <target dev=‘hda‘/>
                        <driver name=‘qemu‘ type=‘qcow2‘ cache=‘none‘/>
                </disk>
                <disk type=‘file‘ device=‘cdrom‘>
                        <source file=‘/srv/cloud/eucalyptus/var//datastores/0/116/disk.1‘/>
                        <target dev=‘hdb‘/>
                        <readonly/>
                        <driver name=‘qemu‘ type=‘raw‘/>
                </disk>
                <interface type=‘bridge‘>
                        <source bridge=‘br0‘/>
                        <mac address=‘02:00:c0:a8:01:a8‘/>
                </interface>
                <graphics type=‘vnc‘ listen=‘0.0.0.0‘ port=‘6016‘/>
        </devices>
        <features>
                <acpi/>
        </features>
</domain>

virsh VMI deploy data serial xml

标签:http   ar   os   sp   on   bs   ad   as   tt   

原文地址:http://www.cnblogs.com/ruiy/p/4149334.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!