Advertisement
Guest User

domain.xml

a guest
Jul 20th, 2020
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.62 KB | None | 0 0
  1. <domain type='kvm' id='11'>
  2.   <name>router_testing_machine</name>
  3.   <uuid>adf4698a-fdf4-4aef-bdf5-ea92a4cadfc4</uuid>
  4.   <memory unit='KiB'>1048576</memory>
  5.   <currentMemory unit='KiB'>1048576</currentMemory>
  6.   <vcpu placement='static'>1</vcpu>
  7.   <resource>
  8.     <partition>/machine</partition>
  9.   </resource>
  10.   <os>
  11.     <type arch='x86_64' machine='pc-q35-5.0'>hvm</type>
  12.     <boot dev='hd'/>
  13.     <bootmenu enable='no'/>
  14.   </os>
  15.   <features>
  16.     <acpi/>
  17.     <apic/>
  18.     <vmport state='off'/>
  19.   </features>
  20.   <cpu mode='custom' match='exact' check='full'>
  21.     <model fallback='forbid'>EPYC-IBPB</model>
  22.     <vendor>AMD</vendor>
  23.     <feature policy='require' name='x2apic'/>
  24.     <feature policy='require' name='tsc-deadline'/>
  25.     <feature policy='require' name='hypervisor'/>
  26.     <feature policy='require' name='tsc_adjust'/>
  27.     <feature policy='require' name='arch-capabilities'/>
  28.     <feature policy='require' name='xsaves'/>
  29.     <feature policy='require' name='cmp_legacy'/>
  30.     <feature policy='require' name='perfctr_core'/>
  31.     <feature policy='require' name='clzero'/>
  32.     <feature policy='require' name='virt-ssbd'/>
  33.     <feature policy='require' name='rdctl-no'/>
  34.     <feature policy='require' name='skip-l1dfl-vmentry'/>
  35.     <feature policy='require' name='mds-no'/>
  36.     <feature policy='disable' name='monitor'/>
  37.     <feature policy='disable' name='svm'/>
  38.     <feature policy='require' name='topoext'/>
  39.   </cpu>
  40.   <clock offset='utc'>
  41.     <timer name='rtc' tickpolicy='catchup'/>
  42.     <timer name='pit' tickpolicy='delay'/>
  43.     <timer name='hpet' present='no'/>
  44.   </clock>
  45.   <on_poweroff>destroy</on_poweroff>
  46.   <on_reboot>restart</on_reboot>
  47.   <on_crash>destroy</on_crash>
  48.   <pm>
  49.     <suspend-to-mem enabled='no'/>
  50.     <suspend-to-disk enabled='no'/>
  51.   </pm>
  52.   <devices>
  53.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  54.     <disk type='file' device='disk'>
  55.       <driver name='qemu' type='qcow2'/>
  56.       <source file='/home/virt_admin/Machines/kvm/router_testing_image.qcow2' index='1'/>
  57.       <backingStore/>
  58.       <target dev='vda' bus='virtio'/>
  59.       <alias name='virtio-disk0'/>
  60.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  61.     </disk>
  62.     <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  63.       <alias name='usb'/>
  64.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  65.     </controller>
  66.     <controller type='sata' index='0'>
  67.       <alias name='ide'/>
  68.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  69.     </controller>
  70.     <controller type='pci' index='0' model='pcie-root'>
  71.       <alias name='pcie.0'/>
  72.     </controller>
  73.     <controller type='pci' index='1' model='pcie-root-port'>
  74.       <model name='pcie-root-port'/>
  75.       <target chassis='1' port='0x10'/>
  76.       <alias name='pci.1'/>
  77.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  78.     </controller>
  79.     <controller type='pci' index='2' model='pcie-root-port'>
  80.       <model name='pcie-root-port'/>
  81.       <target chassis='2' port='0x11'/>
  82.       <alias name='pci.2'/>
  83.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  84.     </controller>
  85.     <controller type='pci' index='3' model='pcie-root-port'>
  86.       <model name='pcie-root-port'/>
  87.       <target chassis='3' port='0x12'/>
  88.       <alias name='pci.3'/>
  89.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  90.     </controller>
  91.     <controller type='pci' index='4' model='pcie-root-port'>
  92.       <model name='pcie-root-port'/>
  93.       <target chassis='4' port='0x13'/>
  94.       <alias name='pci.4'/>
  95.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  96.     </controller>
  97.     <controller type='pci' index='5' model='pcie-root-port'>
  98.       <model name='pcie-root-port'/>
  99.       <target chassis='5' port='0x14'/>
  100.       <alias name='pci.5'/>
  101.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
  102.     </controller>
  103.     <interface type='network'>
  104.       <mac address='52:54:00:10:20:bf'/>
  105.       <source network='virtsw0' portid='f64df1d5-07e4-47cf-b1e2-136f71303f02' bridge='virtsw0'/>
  106.       <target dev='vnet0'/>
  107.       <model type='virtio'/>
  108.       <alias name='net0'/>
  109.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  110.     </interface>
  111.     <serial type='pty'>
  112.       <source path='/dev/pts/2'/>
  113.       <target type='isa-serial' port='0'>
  114.         <model name='isa-serial'/>
  115.       </target>
  116.       <alias name='serial0'/>
  117.     </serial>
  118.     <console type='pty' tty='/dev/pts/2'>
  119.       <source path='/dev/pts/2'/>
  120.       <target type='serial' port='0'/>
  121.       <alias name='serial0'/>
  122.     </console>
  123.     <input type='mouse' bus='ps2'>
  124.       <alias name='input0'/>
  125.     </input>
  126.     <input type='keyboard' bus='ps2'>
  127.       <alias name='input1'/>
  128.     </input>
  129.     <graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'>
  130.       <listen type='address' address='127.0.0.1'/>
  131.     </graphics>
  132.     <sound model='ich9'>
  133.       <alias name='sound0'/>
  134.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
  135.     </sound>
  136.     <video>
  137.       <model type='virtio' heads='1' primary='yes'>
  138.         <acceleration accel3d='no'/>
  139.       </model>
  140.       <alias name='video0'/>
  141.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
  142.     </video>
  143.     <hostdev mode='subsystem' type='usb' managed='yes'>
  144.       <source startupPolicy='optional'>
  145.         <vendor id='0x2357'/>
  146.         <product id='0x0601'/>
  147.         <address bus='1' device='5'/>
  148.       </source>
  149.       <alias name='hostdev0'/>
  150.       <address type='usb' bus='0' port='1'/>
  151.     </hostdev>
  152.     <hostdev mode='subsystem' type='usb' managed='yes'>
  153.       <source startupPolicy='optional'>
  154.         <vendor id='0x148f'/>
  155.         <product id='0x5572'/>
  156.         <address bus='3' device='3'/>
  157.       </source>
  158.       <alias name='hostdev1'/>
  159.       <address type='usb' bus='0' port='2'/>
  160.     </hostdev>
  161.     <redirdev bus='usb' type='spicevmc'>
  162.       <alias name='redir0'/>
  163.       <address type='usb' bus='0' port='3'/>
  164.     </redirdev>
  165.     <redirdev bus='usb' type='spicevmc'>
  166.       <alias name='redir1'/>
  167.       <address type='usb' bus='0' port='4'/>
  168.     </redirdev>
  169.     <memballoon model='virtio'>
  170.       <stats period='5'/>
  171.       <alias name='balloon0'/>
  172.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  173.     </memballoon>
  174.   </devices>
  175.   <seclabel type='dynamic' model='dac' relabel='yes'>
  176.     <label>+77:+101</label>
  177.     <imagelabel>+77:+101</imagelabel>
  178.   </seclabel>
  179. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement