Advertisement
Guest User

Untitled

a guest
Oct 7th, 2019
414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.48 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <domain type='kvm' id='2' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  3. <name>Windows 10</name>
  4. <uuid>96f6cc02-9aa4-a062-f08e-9b1724ea7da8</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'>8</vcpu>
  14. <iothreads>1</iothreads>
  15. <cputune>
  16. <vcpupin vcpu='0' cpuset='1'/>
  17. <vcpupin vcpu='1' cpuset='17'/>
  18. <vcpupin vcpu='2' cpuset='2'/>
  19. <vcpupin vcpu='3' cpuset='18'/>
  20. <vcpupin vcpu='4' cpuset='3'/>
  21. <vcpupin vcpu='5' cpuset='19'/>
  22. <vcpupin vcpu='6' cpuset='4'/>
  23. <vcpupin vcpu='7' cpuset='20'/>
  24. <emulatorpin cpuset='1-3'/>
  25. <iothreadpin iothread='1' cpuset='5,21'/>
  26. </cputune>
  27. <numatune>
  28. <memory mode='strict' nodeset='0'/>
  29. </numatune>
  30. <resource>
  31. <partition>/machine</partition>
  32. </resource>
  33. <os>
  34. <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
  35. <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
  36. <nvram>/etc/libvirt/qemu/nvram/96f6cc02-9aa4-a062-f08e-9b1724ea7da8_VARS-pure-efi.fd</nvram>
  37. <boot dev='hd'/>
  38. </os>
  39. <features>
  40. <acpi/>
  41. <apic/>
  42. <hyperv>
  43. <relaxed state='on'/>
  44. <vapic state='on'/>
  45. <spinlocks state='on' retries='8191'/>
  46. <vpindex state='on'/>
  47. <runtime state='on'/>
  48. <synic state='on'/>
  49. <stimer state='on'/>
  50. <reset state='on'/>
  51. <vendor_id state='on' value='1234567890ab'/>
  52. </hyperv>
  53. </features>
  54. <cpu mode='host-passthrough' check='none'>
  55. <topology sockets='1' cores='8' threads='1'/>
  56. <cache level='3' mode='emulate'/>
  57. <feature policy='require' name='topoext'/>
  58. <feature policy='disable' name='monitor'/>
  59. <feature policy='require' name='hypervisor'/>
  60. <feature policy='disable' name='svm'/>
  61. <feature policy='disable' name='x2apic'/>
  62. </cpu>
  63. <clock offset='localtime'>
  64. <timer name='hypervclock' present='yes'/>
  65. <timer name='hpet' present='no'/>
  66. </clock>
  67. <on_poweroff>destroy</on_poweroff>
  68. <on_reboot>restart</on_reboot>
  69. <on_crash>restart</on_crash>
  70. <devices>
  71. <emulator>/usr/local/sbin/qemu</emulator>
  72. <controller type='pci' index='0' model='pcie-root'>
  73. <alias name='pcie.0'/>
  74. </controller>
  75. <controller type='pci' index='1' model='pcie-root-port'>
  76. <model name='pcie-root-port'/>
  77. <target chassis='1' port='0x8'/>
  78. <alias name='pci.1'/>
  79. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  80. </controller>
  81. <controller type='pci' index='2' model='pcie-root-port'>
  82. <model name='pcie-root-port'/>
  83. <target chassis='2' port='0x9'/>
  84. <alias name='pci.2'/>
  85. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  86. </controller>
  87. <controller type='pci' index='3' model='pcie-root-port'>
  88. <model name='pcie-root-port'/>
  89. <target chassis='3' port='0xa'/>
  90. <alias name='pci.3'/>
  91. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  92. </controller>
  93. <controller type='pci' index='4' model='pcie-root-port'>
  94. <model name='pcie-root-port'/>
  95. <target chassis='4' port='0xb'/>
  96. <alias name='pci.4'/>
  97. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
  98. </controller>
  99. <controller type='pci' index='5' model='pcie-root-port'>
  100. <model name='pcie-root-port'/>
  101. <target chassis='5' port='0xc'/>
  102. <alias name='pci.5'/>
  103. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
  104. </controller>
  105. <controller type='pci' index='6' model='pcie-root-port'>
  106. <model name='pcie-root-port'/>
  107. <target chassis='6' port='0xd'/>
  108. <alias name='pci.6'/>
  109. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
  110. </controller>
  111. <controller type='pci' index='7' model='pcie-root-port'>
  112. <model name='pcie-root-port'/>
  113. <target chassis='7' port='0xe'/>
  114. <alias name='pci.7'/>
  115. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
  116. </controller>
  117. <controller type='pci' index='8' model='pcie-root-port'>
  118. <model name='pcie-root-port'/>
  119. <target chassis='8' port='0xf'/>
  120. <alias name='pci.8'/>
  121. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
  122. </controller>
  123. <controller type='pci' index='9' model='pcie-root-port'>
  124. <model name='pcie-root-port'/>
  125. <target chassis='9' port='0x10'/>
  126. <alias name='pci.9'/>
  127. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  128. </controller>
  129. <controller type='virtio-serial' index='0'>
  130. <alias name='virtio-serial0'/>
  131. <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  132. </controller>
  133. <controller type='sata' index='0'>
  134. <alias name='ide'/>
  135. <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  136. </controller>
  137. <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  138. <alias name='usb'/>
  139. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  140. </controller>
  141. <interface type='bridge'>
  142. <mac address='52:54:00:75:1e:20'/>
  143. <source bridge='br0'/>
  144. <target dev='vnet0'/>
  145. <model type='virtio'/>
  146. <alias name='net0'/>
  147. <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  148. </interface>
  149. <serial type='pty'>
  150. <source path='/dev/pts/0'/>
  151. <target type='isa-serial' port='0'>
  152. <model name='isa-serial'/>
  153. </target>
  154. <alias name='serial0'/>
  155. </serial>
  156. <console type='pty' tty='/dev/pts/0'>
  157. <source path='/dev/pts/0'/>
  158. <target type='serial' port='0'/>
  159. <alias name='serial0'/>
  160. </console>
  161. <channel type='unix'>
  162. <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-2-Windows 10/org.qemu.guest_agent.0'/>
  163. <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
  164. <alias name='channel0'/>
  165. <address type='virtio-serial' controller='0' bus='0' port='1'/>
  166. </channel>
  167. <input type='mouse' bus='ps2'>
  168. <alias name='input0'/>
  169. </input>
  170. <input type='keyboard' bus='ps2'>
  171. <alias name='input1'/>
  172. </input>
  173. <hostdev mode='subsystem' type='pci' managed='yes'>
  174. <driver name='vfio'/>
  175. <source>
  176. <address domain='0x0000' bus='0x08' slot='0x00' function='0x3'/>
  177. </source>
  178. <alias name='hostdev0'/>
  179. <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  180. </hostdev>
  181. <hostdev mode='subsystem' type='pci' managed='yes'>
  182. <driver name='vfio'/>
  183. <source>
  184. <address domain='0x0000' bus='0x44' slot='0x00' function='0x3'/>
  185. </source>
  186. <alias name='hostdev1'/>
  187. <address type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'/>
  188. </hostdev>
  189. <hostdev mode='subsystem' type='pci' managed='yes'>
  190. <driver name='vfio'/>
  191. <source>
  192. <address domain='0x0000' bus='0x42' slot='0x00' function='0x0'/>
  193. </source>
  194. <alias name='hostdev2'/>
  195. <rom file='/mnt/user/isos/GP102patched2.rom'/>
  196. <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  197. </hostdev>
  198. <hostdev mode='subsystem' type='pci' managed='yes'>
  199. <driver name='vfio'/>
  200. <source>
  201. <address domain='0x0000' bus='0x09' slot='0x00' function='0x3'/>
  202. </source>
  203. <alias name='hostdev3'/>
  204. <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  205. </hostdev>
  206. <hostdev mode='subsystem' type='pci' managed='yes'>
  207. <driver name='vfio'/>
  208. <source>
  209. <address domain='0x0000' bus='0x42' slot='0x00' function='0x1'/>
  210. </source>
  211. <alias name='hostdev4'/>
  212. <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  213. </hostdev>
  214. <hostdev mode='subsystem' type='pci' managed='yes'>
  215. <driver name='vfio'/>
  216. <source>
  217. <address domain='0x0000' bus='0x41' slot='0x00' function='0x0'/>
  218. </source>
  219. <alias name='hostdev5'/>
  220. <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  221. </hostdev>
  222. <hostdev mode='subsystem' type='pci' managed='yes'>
  223. <driver name='vfio'/>
  224. <source>
  225. <address domain='0x0000' bus='0x43' slot='0x00' function='0x0'/>
  226. </source>
  227. <alias name='hostdev6'/>
  228. <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
  229. </hostdev>
  230. <hostdev mode='subsystem' type='usb' managed='no'>
  231. <source>
  232. <vendor id='0x3842'/>
  233. <product id='0x2001'/>
  234. <address bus='1' device='5'/>
  235. </source>
  236. <alias name='hostdev7'/>
  237. <address type='usb' bus='0' port='1'/>
  238. </hostdev>
  239. <memballoon model='none'/>
  240. </devices>
  241. <seclabel type='dynamic' model='dac' relabel='yes'>
  242. <label>+0:+100</label>
  243. <imagelabel>+0:+100</imagelabel>
  244. </seclabel>
  245. <qemu:commandline>
  246. <qemu:arg value='-global'/>
  247. <qemu:arg value='pcie-root-port.speed=8'/>
  248. <qemu:arg value='-global'/>
  249. <qemu:arg value='pcie-root-port.width=16'/>
  250. </qemu:commandline>
  251. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement