基于KVM的NOVA开启suse10虚机配置文件

<domain type='kvm'>
    <uuid>49c2b752-999d-4a81-bc5c-da982b7bad35</uuid>
    <name>instance-0000008b</name>
    <memory>524288</memory>
    <os>
            <type>hvm</type>
            <boot dev="hd" />
    </os>
    <features>
        <acpi/>
    </features>
    <vcpu>1</vcpu>
    <devices>
        <disk type='file' device='disk'>
            <driver type='qcow2' cache='none'/>
            <source file='/var/lib/nova/instances/instance-0000008b/disk'/>
            <target dev='vda' bus='virtio'/>
        </disk>

        <interface type='bridge'>
            <source bridge='br100'/>
            <mac address='fa:16:3e:2a:1e:e9'/>
            <filterref filter="nova-instance-instance-0000008b-fa163e2a1ee9">
                <parameter name="IP" value="192.168.148.15" />
                <parameter name="DHCPSERVER" value="192.168.148.6" />
            </filterref>
        </interface>


        <!-- The QEMU 'pty' driver throws away any data if no
      client app is connected. Thus we can't get away
      with a single type=pty console. Instead we have
      to configure two separate consoles. -->
        <serial type='file'>
            <source path='/var/lib/nova/instances/instance-0000008b/console.log'/>
        </serial>
        <serial type='pty'/>

        <input type='tablet' bus='usb'/>

        <graphics type='vnc' port='-1' autoport='yes' keymap='en-us' listen='10.12.29.7'/>
    </devices>
</domain>

你可能感兴趣的:(kvm,domain,配置文件,memory,的)