Skip to content

Instantly share code, notes, and snippets.

@hellt
Created February 22, 2020 14:02
Show Gist options
  • Save hellt/dc1b01a36942465127d702b6d21dcc6a to your computer and use it in GitHub Desktop.
Save hellt/dc1b01a36942465127d702b6d21dcc6a to your computer and use it in GitHub Desktop.
<domain type='kvm' id='254'>
<name>PE-1-SR</name>
<uuid>af76b9d5-8bab-4156-b013-ec00968117f9</uuid>
<description>Timos VM</description>
<memory unit='GiB'>6</memory>
<currentMemory unit='GiB'>6</currentMemory>
<vcpu placement='static'>2</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<sysinfo type='smbios'>
<system>
<entry name='product'>TIMOS:
address=10.0.0.1/16@active \
license-file=ftp://t:[email protected]/./SROS/pe-1-sw/license.txt
slot=A \
chassis=sr-1s \
card=cpm-1s \
slot=1 \
chassis=sr-1s \
card=xcm-1s \
mda/1=s36-100gb-qsfp28 \
</entry>
</system>
</sysinfo>
<os>
<type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>
<smbios mode='sysinfo'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<cpu mode='custom' match='exact' check='full'>
<model fallback='forbid'>Broadwell-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='disable' name='ds'/>
<feature policy='disable' name='acpi'/>
<feature policy='require' name='ss'/>
<feature policy='disable' name='ht'/>
<feature policy='disable' name='tm'/>
<feature policy='disable' name='pbe'/>
<feature policy='disable' name='dtes64'/>
<feature policy='disable' name='monitor'/>
<feature policy='disable' name='ds_cpl'/>
<feature policy='disable' name='vmx'/>
<feature policy='disable' name='smx'/>
<feature policy='disable' name='est'/>
<feature policy='disable' name='tm2'/>
<feature policy='disable' name='xtpr'/>
<feature policy='disable' name='pdcm'/>
<feature policy='disable' name='dca'/>
<feature policy='disable' name='osxsave'/>
<feature policy='require' name='f16c'/>
<feature policy='require' name='rdrand'/>
<feature policy='disable' name='arat'/>
<feature policy='disable' name='tsc_adjust'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='abm'/>
<feature policy='require' name='x2apic'/>
<feature policy='require' name='hypervisor'/>
</cpu>
<clock offset='utc'>
<timer name='pit' tickpolicy='delay'/>
<timer name='rtc' tickpolicy='delay'/>
</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'/>
<source file='/var/lib/libvirt/images/PE/SR/PE-1-SR.qcow2'/>
<backingStore/>
<target dev='hda' bus='ide'/>
<alias name='ide0-0-0'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<controller type='usb' index='0' model='piix3-uhci'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'>
<alias name='pci.0'/>
</controller>
<controller type='ide' index='0'>
<alias name='ide'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<interface type='bridge'>
<mac address='00:01:01:01:00:00'/>
<source bridge='br-OOB'/>
<target dev='pe1-oob'/>
<model type='virtio'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<interface type='bridge'>
<source bridge='br-01-11'/>
<mac address='00:01:01:01:00:01'/>
<target dev='pe1-1'/>
<virtualport type='openvswitch'/>
<model type='virtio'/>
</interface>
<interface type='bridge'>
<source bridge='br-dummy'/>
<mac address='00:01:01:01:00:02'/>
<target dev='pe1-2'/>
<virtualport type='openvswitch'/>
<model type='virtio'/>
</interface>
<interface type='bridge'>
<source bridge='br-dummy'/>
<mac address='00:01:01:01:00:03'/>
<target dev='pe1-3'/>
<virtualport type='openvswitch'/>
<model type='virtio'/>
</interface>
<interface type='bridge'>
<source bridge='br-dummy'/>
<mac address='00:01:01:01:00:04'/>
<target dev='pe1-4'/>
<virtualport type='openvswitch'/>
<model type='virtio'/>
</interface>
<interface type='bridge'>
<source bridge='br-01-12'/>
<mac address='00:01:01:01:00:05'/>
<target dev='pe1-5'/>
<virtualport type='openvswitch'/>
<model type='virtio'/>
</interface>
<interface type='bridge'>
<source bridge='br-01-02'/>
<mac address='00:01:01:01:00:06'/>
<target dev='pe1-6'/>
<virtualport type='openvswitch'/>
<model type='virtio'/>
</interface>
<interface type='bridge'>
<source bridge='br-01-03'/>
<mac address='00:01:01:01:00:07'/>
<target dev='pe1-7'/>
<virtualport type='openvswitch'/>
<model type='virtio'/>
</interface>
<interface type='bridge'>
<source bridge='br-01-05'/>
<mac address='00:01:01:01:00:08'/>
<target dev='pe1-8'/>
<virtualport type='openvswitch'/>
<model type='virtio'/>
</interface>
<interface type='bridge'>
<source bridge='br-dummy'/>
<mac address='00:01:01:01:00:09'/>
<target dev='pe1-9'/>
<virtualport type='openvswitch'/>
<model type='virtio'/>
</interface>
<interface type='bridge'>
<source bridge='br-dummy'/>
<mac address='00:01:01:01:00:0A'/>
<target dev='pe1-10'/>
<virtualport type='openvswitch'/>
<model type='virtio'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/1'/>
<target port='0'/>
<alias name='serial0'/>
</serial>
<console type='pty' tty='/dev/pts/1'>
<source path='/dev/pts/1'/>
<target type='serial' port='0'/>
<alias name='serial0'/>
</console>
<memballoon model='virtio'>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
</memballoon>
</devices>
</domain>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment