Guest User

Untitled

a guest
Dec 31st, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 9.02 KB | None | 0 0
  1. <domain type='kvm' id='2'>
  2.   <name>windows</name>
  3.   <uuid>3bf74372-c343-41ff-ab2d-119cb4a63f34</uuid>
  4.   <memory unit='KiB'>20971520</memory>
  5.   <currentMemory unit='KiB'>20971520</currentMemory>
  6.   <memoryBacking>
  7.     <hugepages/>
  8.     <nosharepages/>
  9.     <locked/>
  10.   </memoryBacking>
  11.   <vcpu placement='static'>10</vcpu>
  12.   <iothreads>1</iothreads>
  13.   <cputune>
  14.     <vcpupin vcpu='0' cpuset='2'/>
  15.     <vcpupin vcpu='1' cpuset='3'/>
  16.     <vcpupin vcpu='2' cpuset='4'/>
  17.     <vcpupin vcpu='3' cpuset='5'/>
  18.     <vcpupin vcpu='4' cpuset='6'/>
  19.     <vcpupin vcpu='5' cpuset='7'/>
  20.     <vcpupin vcpu='6' cpuset='8'/>
  21.     <vcpupin vcpu='7' cpuset='9'/>
  22.     <vcpupin vcpu='8' cpuset='10'/>
  23.     <vcpupin vcpu='9' cpuset='11'/>
  24.     <emulatorpin cpuset='0'/>
  25.     <iothreadpin iothread='1' cpuset='1'/>
  26.   </cputune>
  27.   <resource>
  28.     <partition>/machine</partition>
  29.   </resource>
  30.   <os>
  31.     <type arch='x86_64' machine='pc-q35-2.12'>hvm</type>
  32.     <loader readonly='yes' type='rom'>/usr/share/ovmf/OVMF.fd</loader>
  33.     <bootmenu enable='no'/>
  34.   </os>
  35.   <features>
  36.     <acpi/>
  37.     <apic/>
  38.     <hyperv>
  39.       <relaxed state='on'/>
  40.       <vapic state='on'/>
  41.       <spinlocks state='on' retries='8191'/>
  42.       <vpindex state='on'/>
  43.       <runtime state='on'/>
  44.       <synic state='on'/>
  45.       <stimer state='on'/>
  46.       <reset state='on'/>
  47.       <vendor_id state='on' value='1234567890ab'/>
  48.     </hyperv>
  49.     <kvm>
  50.       <hidden state='on'/>
  51.     </kvm>
  52.     <vmport state='off'/>
  53.     <ioapic driver='kvm'/>
  54.   </features>
  55.   <cpu mode='custom' match='exact' check='full'>
  56.     <model fallback='forbid'>EPYC-IBPB</model>
  57.     <vendor>AMD</vendor>
  58.     <topology sockets='1' cores='5' threads='2'/>
  59.     <feature policy='require' name='x2apic'/>
  60.     <feature policy='require' name='tsc-deadline'/>
  61.     <feature policy='require' name='hypervisor'/>
  62.     <feature policy='require' name='tsc_adjust'/>
  63.     <feature policy='require' name='ssbd'/>
  64.     <feature policy='require' name='cmp_legacy'/>
  65.     <feature policy='require' name='virt-ssbd'/>
  66.     <feature policy='disable' name='monitor'/>
  67.     <feature policy='disable' name='svm'/>
  68.     <feature policy='require' name='topoext'/>
  69.   </cpu>
  70.   <clock offset='timezone' timezone='Europe/Prague'>
  71.     <timer name='rtc' present='no' tickpolicy='catchup' track='wall'/>
  72.     <timer name='pit' present='no'/>
  73.     <timer name='hpet' present='no'/>
  74.     <timer name='kvmclock' present='no'/>
  75.     <timer name='hypervclock' present='yes'/>
  76.   </clock>
  77.   <on_poweroff>destroy</on_poweroff>
  78.   <on_reboot>destroy</on_reboot>
  79.   <on_crash>destroy</on_crash>
  80.   <pm>
  81.     <suspend-to-mem enabled='no'/>
  82.     <suspend-to-disk enabled='no'/>
  83.   </pm>
  84.   <devices>
  85.     <emulator>/usr/local/bin/qemu4.1-system-x86_64</emulator>
  86.     <disk type='file' device='disk'>
  87.       <driver name='qemu' type='raw' discard='unmap'/>
  88.       <source file='/crypt/win-storage/disk.raw'/>
  89.       <backingStore/>
  90.       <target dev='vda' bus='scsi'/>
  91.       <boot order='1'/>
  92.       <alias name='scsi0-0-0-0'/>
  93.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  94.     </disk>
  95.     <disk type='file' device='disk'>
  96.       <driver name='qemu' type='raw' discard='unmap'/>
  97.       <source file='/zrcadlo2/win-storage2/disk.raw'/>
  98.       <backingStore/>
  99.       <target dev='vdb' bus='scsi'/>
  100.       <alias name='scsi0-0-1-0'/>
  101.       <address type='drive' controller='0' bus='0' target='1' unit='0'/>
  102.     </disk>
  103.     <disk type='file' device='disk'>
  104.       <driver name='qemu' type='raw' discard='unmap'/>
  105.       <source file='/externigreen/win-storage3/disk.raw'/>
  106.       <backingStore/>
  107.       <target dev='vdc' bus='scsi'/>
  108.       <alias name='scsi0-0-2-0'/>
  109.       <address type='drive' controller='0' bus='0' target='2' unit='0'/>
  110.     </disk>
  111.     <controller type='pci' index='0' model='pcie-root'>
  112.       <alias name='pcie.0'/>
  113.     </controller>
  114.     <controller type='pci' index='1' model='dmi-to-pci-bridge'>
  115.       <model name='i82801b11-bridge'/>
  116.       <alias name='pci.1'/>
  117.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0' multifunction='on'/>
  118.     </controller>
  119.     <controller type='pci' index='2' model='pci-bridge'>
  120.       <model name='pci-bridge'/>
  121.       <target chassisNr='2'/>
  122.       <alias name='pci.2'/>
  123.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  124.     </controller>
  125.     <controller type='pci' index='3' model='pcie-root-port'>
  126.       <model name='pcie-root-port'/>
  127.       <target chassis='3' port='0x10'/>
  128.       <alias name='pci.3'/>
  129.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  130.     </controller>
  131.     <controller type='pci' index='4' model='pcie-root-port'>
  132.       <model name='pcie-root-port'/>
  133.       <target chassis='4' port='0x11'/>
  134.       <alias name='pci.4'/>
  135.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  136.     </controller>
  137.     <controller type='pci' index='5' model='pcie-root-port'>
  138.       <model name='pcie-root-port'/>
  139.       <target chassis='5' port='0x12'/>
  140.       <alias name='pci.5'/>
  141.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  142.     </controller>
  143.     <controller type='pci' index='6' model='pcie-root-port'>
  144.       <model name='pcie-root-port'/>
  145.       <target chassis='6' port='0x13'/>
  146.       <alias name='pci.6'/>
  147.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  148.     </controller>
  149.     <controller type='pci' index='7' model='pcie-root-port'>
  150.       <model name='pcie-root-port'/>
  151.       <target chassis='7' port='0x8'/>
  152.       <alias name='pci.7'/>
  153.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  154.     </controller>
  155.     <controller type='pci' index='8' model='pcie-root-port'>
  156.       <model name='pcie-root-port'/>
  157.       <target chassis='8' port='0x9'/>
  158.       <alias name='pci.8'/>
  159.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  160.     </controller>
  161.     <controller type='scsi' index='0' model='virtio-scsi'>
  162.       <driver queues='3' iothread='1'/>
  163.       <alias name='scsi0'/>
  164.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x2'/>
  165.     </controller>
  166.     <controller type='sata' index='0'>
  167.       <alias name='ide'/>
  168.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  169.     </controller>
  170.     <controller type='usb' index='0' model='nec-xhci'>
  171.       <alias name='usb'/>
  172.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  173.     </controller>
  174.     <interface type='bridge'>
  175.       <mac address='52:54:00:46:db:27'/>
  176.       <source bridge='br0'/>
  177.       <target dev='vnet0'/>
  178.       <model type='virtio'/>
  179.       <alias name='net0'/>
  180.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  181.     </interface>
  182.     <input type='mouse' bus='ps2'>
  183.       <alias name='input0'/>
  184.     </input>
  185.     <input type='keyboard' bus='ps2'>
  186.       <alias name='input1'/>
  187.     </input>
  188.     <hostdev mode='subsystem' type='pci' managed='yes'>
  189.       <driver name='vfio'/>
  190.       <source>
  191.         <address domain='0x0000' bus='0x1e' slot='0x00' function='0x3'/>
  192.       </source>
  193.       <alias name='hostdev0'/>
  194.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  195.     </hostdev>
  196.     <hostdev mode='subsystem' type='pci' managed='yes'>
  197.       <driver name='vfio'/>
  198.       <source>
  199.         <address domain='0x0000' bus='0x1d' slot='0x00' function='0x0'/>
  200.       </source>
  201.       <alias name='hostdev1'/>
  202.       <rom file='/usr/share/ovmf/Sapphire.RX580.8192.170323.rom'/>
  203.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0' multifunction='on'/>
  204.     </hostdev>
  205.     <hostdev mode='subsystem' type='pci' managed='yes'>
  206.       <driver name='vfio'/>
  207.       <source>
  208.         <address domain='0x0000' bus='0x1d' slot='0x00' function='0x1'/>
  209.       </source>
  210.       <alias name='hostdev2'/>
  211.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
  212.     </hostdev>
  213.     <hostdev mode='subsystem' type='usb' managed='yes'>
  214.       <source>
  215.         <vendor id='0x413c'/>
  216.         <product id='0x2113'/>
  217.         <address bus='1' device='4'/>
  218.       </source>
  219.       <alias name='hostdev3'/>
  220.       <address type='usb' bus='0' port='1'/>
  221.     </hostdev>
  222.     <hostdev mode='subsystem' type='usb' managed='yes'>
  223.       <source>
  224.         <vendor id='0x04d9'/>
  225.         <product id='0xa0d6'/>
  226.         <address bus='1' device='3'/>
  227.       </source>
  228.       <alias name='hostdev4'/>
  229.       <address type='usb' bus='0' port='2'/>
  230.     </hostdev>
  231.     <memballoon model='none'>
  232.       <alias name='balloon0'/>
  233.     </memballoon>
  234.   </devices>
  235.   <seclabel type='dynamic' model='apparmor' relabel='yes'>
  236.     <label>libvirt-3bf74372-c343-41ff-ab2d-119cb4a63f34</label>
  237.     <imagelabel>libvirt-3bf74372-c343-41ff-ab2d-119cb4a63f34</imagelabel>
  238.   </seclabel>
  239.   <seclabel type='dynamic' model='dac' relabel='yes'>
  240.     <label>+64055:+120</label>
  241.     <imagelabel>+64055:+120</imagelabel>
  242.   </seclabel>
  243. </domain>
Add Comment
Please, Sign In to add comment