Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.98 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <domain type='kvm' id='7' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  3.   <name>Threadnaught</name>
  4.   <uuid>d1d65ab9-0750-6f43-c92f-ed9719b03299</uuid>
  5.   <description>Rhynris PC</description>
  6.   <metadata>
  7.     <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  8.   </metadata>
  9.   <memory unit='KiB'>12582912</memory>
  10.   <currentMemory unit='KiB'>12582912</currentMemory>
  11.   <vcpu placement='static'>8</vcpu>
  12.   <iothreads>1</iothreads>
  13.   <cputune>
  14.     <vcpupin vcpu='0' cpuset='8'/>
  15.     <vcpupin vcpu='1' cpuset='24'/>
  16.     <vcpupin vcpu='2' cpuset='9'/>
  17.     <vcpupin vcpu='3' cpuset='25'/>
  18.     <vcpupin vcpu='4' cpuset='10'/>
  19.     <vcpupin vcpu='5' cpuset='26'/>
  20.     <vcpupin vcpu='6' cpuset='11'/>
  21.     <vcpupin vcpu='7' cpuset='27'/>
  22.     <emulatorpin cpuset='15,31'/>
  23.     <iothreadpin iothread='1' cpuset='14,30'/>
  24.   </cputune>
  25.   <resource>
  26.     <partition>/machine</partition>
  27.   </resource>
  28.   <os>
  29.     <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
  30.     <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
  31.     <nvram>/etc/libvirt/qemu/nvram/d1d65ab9-0750-6f43-c92f-ed9719b03299_VARS-pure-efi.fd</nvram>
  32.   </os>
  33.   <features>
  34.     <acpi/>
  35.     <apic/>
  36.     <hyperv>
  37.       <relaxed state='on'/>
  38.       <vapic state='on'/>
  39.       <spinlocks state='on' retries='4096'/>
  40.       <vpindex state='on'/>
  41.       <runtime state='on'/>
  42.       <synic state='on'/>
  43.       <reset state='on'/>
  44.       <vendor_id state='on' value='none'/>
  45.       <frequencies state='on'/>
  46.       <reenlightenment state='on'/>
  47.     </hyperv>
  48.   </features>
  49.   <cpu mode='host-passthrough' check='partial'>
  50.     <topology sockets='1' cores='8' threads='1'/>
  51.     <cache level='3' mode='emulate'/>
  52.     <feature policy='require' name='topoext'/>
  53.     <feature policy='require' name='invtsc'/>
  54.   </cpu>
  55.   <clock offset='localtime'>
  56.     <timer name='tsc' present='yes' mode='native'/>
  57.     <timer name='hypervclock' present='yes'/>
  58.   </clock>
  59.   <on_poweroff>destroy</on_poweroff>
  60.   <on_reboot>restart</on_reboot>
  61.   <on_crash>restart</on_crash>
  62.   <devices>
  63.     <emulator>/usr/local/sbin/qemu</emulator>
  64.     <disk type='file' device='disk'>
  65.       <driver name='qemu' type='raw' cache='none' io='native' iothread='1'/>
  66.       <source file='/mnt/user/domains/Threadnaught/vdisk1.img'/>
  67.       <backingStore/>
  68.       <target dev='hdc' bus='virtio'/>
  69.       <boot order='1'/>
  70.       <alias name='virtio-disk2'/>
  71.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  72.     </disk>
  73.     <controller type='pci' index='0' model='pcie-root'>
  74.       <alias name='pcie.0'/>
  75.     </controller>
  76.     <controller type='pci' index='1' model='pcie-root-port'>
  77.       <model name='pcie-root-port'/>
  78.       <target chassis='1' port='0x8'/>
  79.       <alias name='pci.1'/>
  80.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  81.     </controller>
  82.     <controller type='pci' index='2' model='pcie-root-port'>
  83.       <model name='pcie-root-port'/>
  84.       <target chassis='2' port='0x9'/>
  85.       <alias name='pci.2'/>
  86.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  87.     </controller>
  88.     <controller type='pci' index='3' model='pcie-root-port'>
  89.       <model name='ioh3420'/>
  90.       <target chassis='3' port='0xa'/>
  91.       <alias name='pci.3'/>
  92.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2' multifunction='on'/>
  93.     </controller>
  94.     <controller type='pci' index='4' model='pcie-root-port'>
  95.       <model name='pcie-root-port'/>
  96.       <target chassis='4' port='0xb'/>
  97.       <alias name='pci.4'/>
  98.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
  99.     </controller>
  100.     <controller type='pci' index='5' model='pcie-root-port'>
  101.       <model name='pcie-root-port'/>
  102.       <target chassis='5' port='0xc'/>
  103.       <alias name='pci.5'/>
  104.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
  105.     </controller>
  106.     <controller type='pci' index='6' model='pcie-root-port'>
  107.       <model name='pcie-root-port'/>
  108.       <target chassis='6' port='0xd'/>
  109.       <alias name='pci.6'/>
  110.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
  111.     </controller>
  112.     <controller type='pci' index='7' model='pcie-root-port'>
  113.       <model name='pcie-root-port'/>
  114.       <target chassis='7' port='0xe'/>
  115.       <alias name='pci.7'/>
  116.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
  117.     </controller>
  118.     <controller type='sata' index='0'>
  119.       <alias name='ide'/>
  120.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  121.     </controller>
  122.     <controller type='virtio-serial' index='0'>
  123.       <alias name='virtio-serial0'/>
  124.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  125.     </controller>
  126.     <controller type='usb' index='0' model='nec-xhci' ports='15'>
  127.       <alias name='usb'/>
  128.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  129.     </controller>
  130.     <interface type='bridge'>
  131.       <mac address='52:54:00:ec:4c:16'/>
  132.       <source bridge='br0'/>
  133.       <target dev='vnet0'/>
  134.       <model type='virtio'/>
  135.       <alias name='net0'/>
  136.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  137.     </interface>
  138.     <serial type='pty'>
  139.       <source path='/dev/pts/0'/>
  140.       <target type='isa-serial' port='0'>
  141.         <model name='isa-serial'/>
  142.       </target>
  143.       <alias name='serial0'/>
  144.     </serial>
  145.     <console type='pty' tty='/dev/pts/0'>
  146.       <source path='/dev/pts/0'/>
  147.       <target type='serial' port='0'/>
  148.       <alias name='serial0'/>
  149.     </console>
  150.     <channel type='unix'>
  151.       <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-7-Threadnaught/org.qemu.guest_agent.0'/>
  152.       <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
  153.       <alias name='channel0'/>
  154.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  155.     </channel>
  156.     <input type='mouse' bus='ps2'>
  157.       <alias name='input0'/>
  158.     </input>
  159.     <input type='keyboard' bus='ps2'>
  160.       <alias name='input1'/>
  161.     </input>
  162.     <hostdev mode='subsystem' type='pci' managed='yes'>
  163.       <driver name='vfio'/>
  164.       <source>
  165.         <address domain='0x0000' bus='0x44' slot='0x00' function='0x0'/>
  166.       </source>
  167.       <alias name='hostdev0'/>
  168.       <rom file='/mnt/user/domains/virtsupport/rom/MSI.GTX1080.EK.rom'/>
  169.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0' multifunction='on'/>
  170.     </hostdev>
  171.     <hostdev mode='subsystem' type='pci' managed='yes'>
  172.       <driver name='vfio'/>
  173.       <source>
  174.         <address domain='0x0000' bus='0x44' slot='0x00' function='0x1'/>
  175.       </source>
  176.       <alias name='hostdev1'/>
  177.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
  178.     </hostdev>
  179.     <hostdev mode='subsystem' type='pci' managed='yes'>
  180.       <driver name='vfio'/>
  181.       <source>
  182.         <address domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/>
  183.       </source>
  184.       <alias name='hostdev2'/>
  185.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  186.     </hostdev>
  187.     <hostdev mode='subsystem' type='pci' managed='yes'>
  188.       <driver name='vfio'/>
  189.       <source>
  190.         <address domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/>
  191.       </source>
  192.       <alias name='hostdev3'/>
  193.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  194.     </hostdev>
  195.     <memballoon model='none'/>
  196.   </devices>
  197.   <seclabel type='dynamic' model='dac' relabel='yes'>
  198.     <label>+0:+100</label>
  199.     <imagelabel>+0:+100</imagelabel>
  200.   </seclabel>
  201.   <qemu:commandline>
  202.     <qemu:arg value='-global'/>
  203.     <qemu:arg value='pcie-root-port.speed=8'/>
  204.     <qemu:arg value='-global'/>
  205.     <qemu:arg value='pcie-root-port.width=16'/>
  206.   </qemu:commandline>
  207. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement