zoukankan      html  css  js  c++  java
  • virsh VMI deploy data serial xml

    <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>

  • 相关阅读:
    分解质因数
    大素数测试和分解质因数
    快速幂
    欧拉函数
    素数
    gcd,lcm,ext_gcd,inv
    凸包问题 poj 2187
    map的 简单用法
    判断线段是否在园内
    2-sat 问题
  • 原文地址:https://www.cnblogs.com/ruiy/p/4149334.html
Copyright © 2011-2022 走看看