Advertisement
Guest User

Untitled

a guest
Oct 7th, 2019
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 9.04 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <domain type='kvm' id='10' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  3.   <name>Windows 10</name>
  4.   <uuid>a9b7c237-810a-6304-25dc-16db32088b94</uuid>
  5.   <metadata>
  6.     <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  7.   </metadata>
  8.   <memory unit='KiB'>16777216</memory>
  9.   <currentMemory unit='KiB'>16777216</currentMemory>
  10.   <memoryBacking>
  11.     <nosharepages/>
  12.   </memoryBacking>
  13.   <vcpu placement='static'>10</vcpu>
  14.   <iothreads>1</iothreads>
  15.   <cputune>
  16.     <vcpupin vcpu='0' cpuset='7'/>
  17.     <vcpupin vcpu='1' cpuset='19'/>
  18.     <vcpupin vcpu='2' cpuset='8'/>
  19.     <vcpupin vcpu='3' cpuset='20'/>
  20.     <vcpupin vcpu='4' cpuset='9'/>
  21.     <vcpupin vcpu='5' cpuset='21'/>
  22.     <vcpupin vcpu='6' cpuset='10'/>
  23.     <vcpupin vcpu='7' cpuset='22'/>
  24.     <vcpupin vcpu='8' cpuset='11'/>
  25.     <vcpupin vcpu='9' cpuset='23'/>
  26.     <emulatorpin cpuset='6,18'/>
  27.     <iothreadpin iothread='1' cpuset='6,18'/>
  28.   </cputune>
  29.   <numatune>
  30.     <memory mode='strict' nodeset='1'/>
  31.     <memnode cellid='0' mode='strict' nodeset='1'/>
  32.   </numatune>
  33.   <resource>
  34.     <partition>/machine</partition>
  35.   </resource>
  36.   <os>
  37.     <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
  38.     <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
  39.     <nvram>/etc/libvirt/qemu/nvram/a9b7c237-810a-6304-25dc-16db32088b94_VARS-pure-efi.fd</nvram>
  40.   </os>
  41.   <features>
  42.     <acpi/>
  43.     <apic/>
  44.     <hyperv>
  45.       <relaxed state='on'/>
  46.       <vapic state='on'/>
  47.       <spinlocks state='on' retries='8191'/>
  48.       <vpindex state='on'/>
  49.       <runtime state='on'/>
  50.       <synic state='on'/>
  51.       <stimer state='on'/>
  52.       <reset state='on'/>
  53.       <vendor_id state='on' value='1234567890ab'/>
  54.     </hyperv>
  55.   </features>
  56.   <cpu mode='custom' match='exact' check='full'>
  57.     <model fallback='forbid'>EPYC-IBPB</model>
  58.     <topology sockets='1' cores='5' threads='2'/>
  59.     <feature policy='require' name='topoext'/>
  60.     <feature policy='disable' name='monitor'/>
  61.     <feature policy='require' name='x2apic'/>
  62.     <feature policy='require' name='hypervisor'/>
  63.     <feature policy='disable' name='svm'/>
  64.     <numa>
  65.       <cell id='0' cpus='0-9' memory='16777216' unit='KiB'/>
  66.     </numa>
  67.   </cpu>
  68.   <clock offset='localtime'>
  69.     <timer name='hypervclock' present='yes'/>
  70.     <timer name='hpet' present='no'/>
  71.   </clock>
  72.   <on_poweroff>destroy</on_poweroff>
  73.   <on_reboot>restart</on_reboot>
  74.   <on_crash>restart</on_crash>
  75.   <devices>
  76.     <emulator>/usr/local/sbin/qemu</emulator>
  77.     <disk type='file' device='disk'>
  78.       <driver name='qemu' type='raw' cache='writeback'/>
  79.       <source file='/mnt/user/appdata/spaces_win_clover.img'/>
  80.       <backingStore/>
  81.       <target dev='hdc' bus='sata'/>
  82.       <boot order='1'/>
  83.       <alias name='sata0-0-2'/>
  84.       <address type='drive' controller='0' bus='0' target='0' unit='2'/>
  85.     </disk>
  86.     <disk type='block' device='disk'>
  87.       <driver name='qemu' type='raw' cache='writeback'/>
  88.       <source dev='/dev/disk/by-id/ata-CT500BX100SSD1_1512F004902E'/>
  89.       <backingStore/>
  90.       <target dev='hdd' bus='sata'/>
  91.       <alias name='sata0-0-3'/>
  92.       <address type='drive' controller='0' bus='0' target='0' unit='3'/>
  93.     </disk>
  94.     <controller type='pci' index='0' model='pcie-root'>
  95.       <alias name='pcie.0'/>
  96.     </controller>
  97.     <controller type='pci' index='1' model='pcie-root-port'>
  98.       <model name='pcie-root-port'/>
  99.       <target chassis='1' port='0x10'/>
  100.       <alias name='pci.1'/>
  101.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  102.     </controller>
  103.     <controller type='pci' index='2' model='pcie-root-port'>
  104.       <model name='pcie-root-port'/>
  105.       <target chassis='2' port='0x11'/>
  106.       <alias name='pci.2'/>
  107.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  108.     </controller>
  109.     <controller type='pci' index='3' model='pcie-root-port'>
  110.       <model name='pcie-root-port'/>
  111.       <target chassis='3' port='0x12'/>
  112.       <alias name='pci.3'/>
  113.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  114.     </controller>
  115.     <controller type='pci' index='4' model='pcie-root-port'>
  116.       <model name='pcie-root-port'/>
  117.       <target chassis='4' port='0x13'/>
  118.       <alias name='pci.4'/>
  119.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  120.     </controller>
  121.     <controller type='pci' index='5' model='pcie-root-port'>
  122.       <model name='pcie-root-port'/>
  123.       <target chassis='5' port='0x14'/>
  124.       <alias name='pci.5'/>
  125.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
  126.     </controller>
  127.     <controller type='pci' index='6' model='pcie-root-port'>
  128.       <model name='pcie-root-port'/>
  129.       <target chassis='6' port='0x8'/>
  130.       <alias name='pci.6'/>
  131.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  132.     </controller>
  133.     <controller type='pci' index='7' model='pcie-root-port'>
  134.       <model name='pcie-root-port'/>
  135.       <target chassis='7' port='0x9'/>
  136.       <alias name='pci.7'/>
  137.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  138.     </controller>
  139.     <controller type='virtio-serial' index='0'>
  140.       <alias name='virtio-serial0'/>
  141.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  142.     </controller>
  143.     <controller type='sata' index='0'>
  144.       <alias name='ide'/>
  145.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  146.     </controller>
  147.     <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  148.       <alias name='usb'/>
  149.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  150.     </controller>
  151.     <interface type='bridge'>
  152.       <mac address='52:54:00:7c:8c:46'/>
  153.       <source bridge='br0'/>
  154.       <target dev='vnet0'/>
  155.       <model type='virtio'/>
  156.       <alias name='net0'/>
  157.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  158.     </interface>
  159.     <serial type='pty'>
  160.       <source path='/dev/pts/0'/>
  161.       <target type='isa-serial' port='0'>
  162.         <model name='isa-serial'/>
  163.       </target>
  164.       <alias name='serial0'/>
  165.     </serial>
  166.     <console type='pty' tty='/dev/pts/0'>
  167.       <source path='/dev/pts/0'/>
  168.       <target type='serial' port='0'/>
  169.       <alias name='serial0'/>
  170.     </console>
  171.     <channel type='unix'>
  172.       <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-10-Windows 10/org.qemu.guest_agent.0'/>
  173.       <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
  174.       <alias name='channel0'/>
  175.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  176.     </channel>
  177.     <input type='tablet' bus='usb'>
  178.       <alias name='input0'/>
  179.       <address type='usb' bus='0' port='1'/>
  180.     </input>
  181.     <input type='mouse' bus='ps2'>
  182.       <alias name='input1'/>
  183.     </input>
  184.     <input type='keyboard' bus='ps2'>
  185.       <alias name='input2'/>
  186.     </input>
  187.     <hostdev mode='subsystem' type='pci' managed='yes'>
  188.       <driver name='vfio'/>
  189.       <source>
  190.         <address domain='0x0000' bus='0x42' slot='0x00' function='0x0'/>
  191.       </source>
  192.       <alias name='hostdev0'/>
  193.       <rom file='/mnt/user/appdata/Zotac.GTX1080Ti.11264.170316-fixed.rom'/>
  194.       <address type='pci' domain='0x0000' bus='0x03' 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='0x42' slot='0x00' function='0x1'/>
  200.       </source>
  201.       <alias name='hostdev1'/>
  202.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  203.     </hostdev>
  204.     <hostdev mode='subsystem' type='pci' managed='yes'>
  205.       <driver name='vfio'/>
  206.       <source>
  207.         <address domain='0x0000' bus='0x0a' slot='0x00' function='0x3'/>
  208.       </source>
  209.       <alias name='hostdev2'/>
  210.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  211.     </hostdev>
  212.     <hostdev mode='subsystem' type='pci' managed='yes'>
  213.       <driver name='vfio'/>
  214.       <source>
  215.         <address domain='0x0000' bus='0x41' slot='0x00' function='0x0'/>
  216.       </source>
  217.       <alias name='hostdev3'/>
  218.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  219.     </hostdev>
  220.     <hostdev mode='subsystem' type='pci' managed='yes'>
  221.       <driver name='vfio'/>
  222.       <source>
  223.         <address domain='0x0000' bus='0x43' slot='0x00' function='0x3'/>
  224.       </source>
  225.       <alias name='hostdev4'/>
  226.       <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  227.     </hostdev>
  228.     <memballoon model='none'/>
  229.   </devices>
  230.   <seclabel type='dynamic' model='dac' relabel='yes'>
  231.     <label>+0:+100</label>
  232.     <imagelabel>+0:+100</imagelabel>
  233.   </seclabel>
  234.   <qemu:commandline>
  235.     <qemu:arg value='-global'/>
  236.     <qemu:arg value='pcie-root-port.width=16'/>
  237.   </qemu:commandline>
  238. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement