Advertisement
lakimakromedia

VM Config

Sep 21st, 2022
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.51 KB | Fixit | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <domain type='kvm' id='2'>
  3. <name>Windows 10</name>
  4. <uuid>1fe93731-1d19-a270-4a6e-abf7cb105472</uuid>
  5. <metadata>
  6. <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  7. </metadata>
  8. <memory unit='KiB'>8388608</memory>
  9. <currentMemory unit='KiB'>8388608</currentMemory>
  10. <memoryBacking>
  11. <nosharepages/>
  12. </memoryBacking>
  13. <vcpu placement='static'>6</vcpu>
  14. <cputune>
  15. <vcpupin vcpu='0' cpuset='10'/>
  16. <vcpupin vcpu='1' cpuset='26'/>
  17. <vcpupin vcpu='2' cpuset='12'/>
  18. <vcpupin vcpu='3' cpuset='28'/>
  19. <vcpupin vcpu='4' cpuset='14'/>
  20. <vcpupin vcpu='5' cpuset='30'/>
  21. </cputune>
  22. <resource>
  23. <partition>/machine</partition>
  24. </resource>
  25. <os>
  26. <type arch='x86_64' machine='pc-q35-6.2'>hvm</type>
  27. <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
  28. <nvram>/etc/libvirt/qemu/nvram/1fe93731-1d19-a270-4a6e-abf7cb105472_VARS-pure-efi.fd</nvram>
  29. </os>
  30. <features>
  31. <acpi/>
  32. <apic/>
  33. <hyperv mode='custom'>
  34. <relaxed state='on'/>
  35. <vapic state='on'/>
  36. <spinlocks state='on' retries='8191'/>
  37. <vendor_id state='on' value='none'/>
  38. </hyperv>
  39. </features>
  40. <cpu mode='host-passthrough' check='none' migratable='on'>
  41. <topology sockets='1' dies='1' cores='3' threads='2'/>
  42. <cache mode='passthrough'/>
  43. <feature policy='require' name='topoext'/>
  44. </cpu>
  45. <clock offset='localtime'>
  46. <timer name='hypervclock' present='yes'/>
  47. <timer name='hpet' present='no'/>
  48. </clock>
  49. <on_poweroff>destroy</on_poweroff>
  50. <on_reboot>restart</on_reboot>
  51. <on_crash>restart</on_crash>
  52. <devices>
  53. <emulator>/usr/local/sbin/qemu</emulator>
  54. <disk type='file' device='disk'>
  55. <driver name='qemu' type='raw' cache='writeback'/>
  56. <source file='/mnt/user/domains/Windows 10/vdisk1.img' index='3'/>
  57. <backingStore/>
  58. <target dev='hdc' bus='virtio'/>
  59. <boot order='1'/>
  60. <alias name='virtio-disk2'/>
  61. <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  62. </disk>
  63. <disk type='file' device='cdrom'>
  64. <driver name='qemu' type='raw'/>
  65. <source file='/mnt/user/isos/21H2X64.MULTi7.JULY2022.ISO' index='2'/>
  66. <backingStore/>
  67. <target dev='hda' bus='sata'/>
  68. <readonly/>
  69. <boot order='2'/>
  70. <alias name='sata0-0-0'/>
  71. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  72. </disk>
  73. <disk type='file' device='cdrom'>
  74. <driver name='qemu' type='raw'/>
  75. <source file='/mnt/user/isos/virtio-win-0.1.217-2.iso' index='1'/>
  76. <backingStore/>
  77. <target dev='hdb' bus='sata'/>
  78. <readonly/>
  79. <alias name='sata0-0-1'/>
  80. <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  81. </disk>
  82. <controller type='usb' index='0' model='ich9-ehci1'>
  83. <alias name='usb'/>
  84. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
  85. </controller>
  86. <controller type='usb' index='0' model='ich9-uhci1'>
  87. <alias name='usb'/>
  88. <master startport='0'/>
  89. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
  90. </controller>
  91. <controller type='usb' index='0' model='ich9-uhci2'>
  92. <alias name='usb'/>
  93. <master startport='2'/>
  94. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
  95. </controller>
  96. <controller type='usb' index='0' model='ich9-uhci3'>
  97. <alias name='usb'/>
  98. <master startport='4'/>
  99. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
  100. </controller>
  101. <controller type='sata' index='0'>
  102. <alias name='ide'/>
  103. <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  104. </controller>
  105. <controller type='pci' index='0' model='pcie-root'>
  106. <alias name='pcie.0'/>
  107. </controller>
  108. <controller type='virtio-serial' index='0'>
  109. <alias name='virtio-serial0'/>
  110. <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  111. </controller>
  112. <controller type='pci' index='1' model='pcie-root-port'>
  113. <model name='pcie-root-port'/>
  114. <target chassis='1' port='0x8'/>
  115. <alias name='pci.1'/>
  116. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  117. </controller>
  118. <controller type='pci' index='2' model='pcie-root-port'>
  119. <model name='pcie-root-port'/>
  120. <target chassis='2' port='0x9'/>
  121. <alias name='pci.2'/>
  122. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  123. </controller>
  124. <controller type='pci' index='3' model='pcie-root-port'>
  125. <model name='pcie-root-port'/>
  126. <target chassis='3' port='0xa'/>
  127. <alias name='pci.3'/>
  128. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  129. </controller>
  130. <controller type='pci' index='4' model='pcie-root-port'>
  131. <model name='pcie-root-port'/>
  132. <target chassis='4' port='0xb'/>
  133. <alias name='pci.4'/>
  134. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
  135. </controller>
  136. <controller type='pci' index='5' model='pcie-root-port'>
  137. <model name='pcie-root-port'/>
  138. <target chassis='5' port='0xc'/>
  139. <alias name='pci.5'/>
  140. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
  141. </controller>
  142. <controller type='pci' index='6' model='pcie-root-port'>
  143. <model name='pcie-root-port'/>
  144. <target chassis='6' port='0xd'/>
  145. <alias name='pci.6'/>
  146. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
  147. </controller>
  148. <controller type='pci' index='7' model='pcie-root-port'>
  149. <model name='pcie-root-port'/>
  150. <target chassis='7' port='0xe'/>
  151. <alias name='pci.7'/>
  152. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
  153. </controller>
  154. <interface type='bridge'>
  155. <mac address='52:54:00:a1:6b:01'/>
  156. <source bridge='br0'/>
  157. <target dev='vnet1'/>
  158. <model type='virtio-net'/>
  159. <alias name='net0'/>
  160. <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  161. </interface>
  162. <serial type='pty'>
  163. <source path='/dev/pts/0'/>
  164. <target type='isa-serial' port='0'>
  165. <model name='isa-serial'/>
  166. </target>
  167. <alias name='serial0'/>
  168. </serial>
  169. <console type='pty' tty='/dev/pts/0'>
  170. <source path='/dev/pts/0'/>
  171. <target type='serial' port='0'/>
  172. <alias name='serial0'/>
  173. </console>
  174. <channel type='unix'>
  175. <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-2-Windows 10/org.qemu.guest_agent.0'/>
  176. <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
  177. <alias name='channel0'/>
  178. <address type='virtio-serial' controller='0' bus='0' port='1'/>
  179. </channel>
  180. <input type='tablet' bus='usb'>
  181. <alias name='input0'/>
  182. <address type='usb' bus='0' port='1'/>
  183. </input>
  184. <input type='mouse' bus='ps2'>
  185. <alias name='input1'/>
  186. </input>
  187. <input type='keyboard' bus='ps2'>
  188. <alias name='input2'/>
  189. </input>
  190. <audio id='1' type='none'/>
  191. <hostdev mode='subsystem' type='pci' managed='yes'>
  192. <driver name='vfio'/>
  193. <source>
  194. <address domain='0x0000' bus='0x0d' slot='0x00' function='0x0'/>
  195. </source>
  196. <alias name='hostdev0'/>
  197. <rom file='/mnt/disk1/Downloads/Dell.RTX3080.10240.210421.rom'/>
  198. <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  199. </hostdev>
  200. <hostdev mode='subsystem' type='pci' managed='yes'>
  201. <driver name='vfio'/>
  202. <source>
  203. <address domain='0x0000' bus='0x0d' slot='0x00' function='0x1'/>
  204. </source>
  205. <alias name='hostdev1'/>
  206. <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  207. </hostdev>
  208. <hostdev mode='subsystem' type='pci' managed='yes'>
  209. <driver name='vfio'/>
  210. <source>
  211. <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  212. </source>
  213. <alias name='hostdev2'/>
  214. <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  215. </hostdev>
  216. <memballoon model='none'/>
  217. </devices>
  218. <seclabel type='dynamic' model='dac' relabel='yes'>
  219. <label>+0:+100</label>
  220. <imagelabel>+0:+100</imagelabel>
  221. </seclabel>
  222. </domain>
  223.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement