标签:rtc exe 虚拟 timer path let str add VID
查看虚拟机实例xml文件;[root@hostname linux-node2 ~]# cat /etc/libvirt/qemu/instance-0000000f.xml
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit instance-0000000f
or other application using the libvirt API.
-->
<domain type=‘kvm‘>
<name>instance-0000000f</name>
<uuid>e7585ece-c8e9-4ad8-8796-8a58bca459bf</uuid>
<metadata>
<nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0">
<nova:package version="12.0.4-1.el7"/>
<nova:name>hello-instance</nova:name>
<nova:creationTime>2018-10-10 13:22:45</nova:creationTime>
<nova:flavor name="m1.tiny">
<nova:memory>512</nova:memory>
<nova:disk>1</nova:disk>
<nova:swap>0</nova:swap>
<nova:ephemeral>0</nova:ephemeral>
<nova:vcpus>1</nova:vcpus>
</nova:flavor>
<nova:owner>
<nova:user uuid="8ce3700aed4e428d9ce51b05685ae0a6">demo</nova:user>
<nova:project uuid="29b7833bc24e41d7b4c1d8c77de81e88">demo</nova:project>
</nova:owner>
<nova:root type="image" uuid="0297b83c-f9d7-4c19-ab05-762fd4616c49"/>
</nova:instance>
</metadata>
<memory unit=‘KiB‘>524288</memory>
<currentMemory unit=‘KiB‘>524288</currentMemory>
<vcpu placement=‘static‘>1</vcpu>
<cputune>
<shares>1024</shares>
</cputune>
<sysinfo type=‘smbios‘>
<system>
<entry name=‘manufacturer‘>Fedora Project</entry>
<entry name=‘product‘>OpenStack Nova</entry>
<entry name=‘version‘>12.0.4-1.el7</entry>
<entry name=‘serial‘>10488a90-1077-49ad-a5f8-26ba6bc70b2d</entry>
<entry name=‘uuid‘>e7585ece-c8e9-4ad8-8796-8a58bca459bf</entry>
<entry name=‘family‘>Virtual Machine</entry>
</system>
</sysinfo>
<os>
<type arch=‘x86_64‘ machine=‘pc-i440fx-rhel7.0.0‘>hvm</type>
<boot dev=‘hd‘/>
<smbios mode=‘sysinfo‘/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode=‘host-model‘ check=‘partial‘>
<model fallback=‘allow‘/>
<topology sockets=‘1‘ cores=‘1‘ threads=‘1‘/>
</cpu>
<clock offset=‘utc‘>
<timer name=‘pit‘ tickpolicy=‘delay‘/>
<timer name=‘rtc‘ tickpolicy=‘catchup‘/>
<timer name=‘hpet‘ present=‘no‘/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<disk type=‘file‘ device=‘disk‘>
<driver name=‘qemu‘ type=‘qcow2‘ cache=‘none‘/>
<source file=‘/var/lib/nova/instances/e7585ece-c8e9-4ad8-8796-8a58bca459bf/disk‘/>
<target dev=‘vda‘ bus=‘virtio‘/>
<address type=‘pci‘ domain=‘0x0000‘ bus=‘0x00‘ slot=‘0x04‘ function=‘0x0‘/>
</disk>
<controller type=‘usb‘ index=‘0‘ model=‘piix3-uhci‘>
<address type=‘pci‘ domain=‘0x0000‘ bus=‘0x00‘ slot=‘0x01‘ function=‘0x2‘/>
</controller>
<controller type=‘pci‘ index=‘0‘ model=‘pci-root‘/>
<interface type=‘bridge‘>
<mac address=‘fa:16:3e:f4:6f:fe‘/>
<source bridge=‘brq9252cb78-d1‘/>
<target dev=‘tapf761b1bc-25‘/>
<model type=‘virtio‘/>
<address type=‘pci‘ domain=‘0x0000‘ bus=‘0x00‘ slot=‘0x03‘ function=‘0x0‘/>
</interface>
<serial type=‘file‘>
<source path=‘/var/lib/nova/instances/e7585ece-c8e9-4ad8-8796-8a58bca459bf/console.log‘/>
<target type=‘isa-serial‘ port=‘0‘>
<model name=‘isa-serial‘/>
</target>
</serial>
<serial type=‘pty‘>
<target type=‘isa-serial‘ port=‘1‘>
<model name=‘isa-serial‘/>
</target>
</serial>
<console type=‘file‘>
<source path=‘/var/lib/nova/instances/e7585ece-c8e9-4ad8-8796-8a58bca459bf/console.log‘/>
<target type=‘serial‘ port=‘0‘/>
</console>
<input type=‘tablet‘ bus=‘usb‘>
<address type=‘usb‘ bus=‘0‘ port=‘1‘/>
</input>
<input type=‘mouse‘ bus=‘ps2‘/>
<input type=‘keyboard‘ bus=‘ps2‘/>
<graphics type=‘vnc‘ port=‘-1‘ autoport=‘yes‘ listen=‘0.0.0.0‘ keymap=‘en-us‘>
<listen type=‘address‘ address=‘0.0.0.0‘/>
</graphics>
<video>
<model type=‘cirrus‘ vram=‘16384‘ heads=‘1‘ primary=‘yes‘/>
<address type=‘pci‘ domain=‘0x0000‘ bus=‘0x00‘ slot=‘0x02‘ function=‘0x0‘/>
</video>
<memballoon model=‘virtio‘>
<stats period=‘10‘/>
<address type=‘pci‘ domain=‘0x0000‘ bus=‘0x00‘ slot=‘0x05‘ function=‘0x0‘/>
</memballoon>
</devices>
</domain>
OpenStack网络分类:
公共网络:想租户提供访问或者API调用
管理网络:云中物理机之间的通信
存储网络:云中存储的网络,如ISCSI或GlusterFS使用
服务网络:虚拟机内部使用的网络
单一扁平网络:
OpenStack Neutron:
标签:rtc exe 虚拟 timer path let str add VID
原文地址:http://blog.51cto.com/smoke520/2298500