Guest User

Untitled

a guest
Nov 25th, 2025
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.84 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <domain type='kvm' id='44'>
  3. <name>Windows 11-test</name>
  4. <uuid>16db0a67-ff69-1294-f176-4604b7eb42cc</uuid>
  5. <metadata>
  6. <vmtemplate xmlns="unraid" name="Windows 11" icon="windows11.png" os="windowstpm" webui="" storage="default" iconold="windows11.png"/>
  7. </metadata>
  8. <memory unit='KiB'>8388608</memory>
  9. <currentMemory unit='KiB'>8388608</currentMemory>
  10. <memoryBacking>
  11. <hugepages/>
  12. <nosharepages/>
  13. </memoryBacking>
  14. <vcpu placement='static'>8</vcpu>
  15. <cputune>
  16. <vcpupin vcpu='0' cpuset='12'/>
  17. <vcpupin vcpu='1' cpuset='44'/>
  18. <vcpupin vcpu='2' cpuset='13'/>
  19. <vcpupin vcpu='3' cpuset='45'/>
  20. <vcpupin vcpu='4' cpuset='14'/>
  21. <vcpupin vcpu='5' cpuset='46'/>
  22. <vcpupin vcpu='6' cpuset='15'/>
  23. <vcpupin vcpu='7' cpuset='47'/>
  24. </cputune>
  25. <resource>
  26. <partition>/machine</partition>
  27. </resource>
  28. <os>
  29. <type arch='x86_64' machine='pc-q35-9.2'>hvm</type>
  30. <loader readonly='yes' type='pflash' format='raw'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi-tpm.fd</loader>
  31. <nvram format='raw'>/etc/libvirt/qemu/nvram/16db0a67-ff69-1294-f176-4604b7eb42cc_VARS-pure-efi-tpm.fd</nvram>
  32. <smbios mode='host'/>
  33. </os>
  34. <features>
  35. <acpi/>
  36. <apic/>
  37. <hyperv mode='custom'>
  38. <relaxed state='on'/>
  39. <vapic state='on'/>
  40. <spinlocks state='on' retries='8191'/>
  41. <vpindex state='on'/>
  42. <synic state='on'/>
  43. <stimer state='on'/>
  44. <vendor_id state='on' value='none'/>
  45. </hyperv>
  46. <kvm>
  47. <hidden state='on'/>
  48. </kvm>
  49. </features>
  50. <cpu mode='host-passthrough' check='none' migratable='off'>
  51. <topology sockets='1' dies='1' clusters='1' cores='4' threads='2'/>
  52. <cache mode='passthrough'/>
  53. <feature policy='require' name='topoext'/>
  54. </cpu>
  55. <clock offset='localtime'>
  56. <timer name='hpet' present='no'/>
  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='cdrom'>
  65. <driver name='qemu' type='raw'/>
  66. <source file='/mnt/user/Apps/Windows 11/Win11_25H2_English_x64.iso' index='2'/>
  67. <backingStore/>
  68. <target dev='hda' bus='sata'/>
  69. <readonly/>
  70. <boot order='1'/>
  71. <alias name='sata0-0-0'/>
  72. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  73. </disk>
  74. <disk type='file' device='cdrom'>
  75. <driver name='qemu' type='raw'/>
  76. <source file='/mnt/user/Apps/virtio-win-0.1.285-1.iso' index='1'/>
  77. <backingStore/>
  78. <target dev='hdb' bus='sata'/>
  79. <readonly/>
  80. <alias name='sata0-0-1'/>
  81. <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  82. </disk>
  83. <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  84. <alias name='usb'/>
  85. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  86. </controller>
  87. <controller type='pci' index='0' model='pcie-root'>
  88. <alias name='pcie.0'/>
  89. </controller>
  90. <controller type='pci' index='1' model='pcie-root-port'>
  91. <model name='pcie-root-port'/>
  92. <target chassis='1' port='0x8' hotplug='off'/>
  93. <alias name='pci.1'/>
  94. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  95. </controller>
  96. <controller type='pci' index='2' model='pcie-root-port'>
  97. <model name='pcie-root-port'/>
  98. <target chassis='2' port='0x9' hotplug='off'/>
  99. <alias name='pci.2'/>
  100. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  101. </controller>
  102. <controller type='pci' index='3' model='pcie-root-port'>
  103. <model name='pcie-root-port'/>
  104. <target chassis='3' port='0xa' hotplug='off'/>
  105. <alias name='pci.3'/>
  106. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  107. </controller>
  108. <controller type='pci' index='4' model='pcie-root-port'>
  109. <model name='pcie-root-port'/>
  110. <target chassis='4' port='0xb' hotplug='off'/>
  111. <alias name='pci.4'/>
  112. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
  113. </controller>
  114. <controller type='pci' index='5' model='pcie-root-port'>
  115. <model name='pcie-root-port'/>
  116. <target chassis='5' port='0xc' hotplug='off'/>
  117. <alias name='pci.5'/>
  118. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
  119. </controller>
  120. <controller type='pci' index='6' model='pcie-root-port'>
  121. <model name='pcie-root-port'/>
  122. <target chassis='6' port='0xd' hotplug='off'/>
  123. <alias name='pci.6'/>
  124. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
  125. </controller>
  126. <controller type='pci' index='7' model='pcie-root-port'>
  127. <model name='pcie-root-port'/>
  128. <target chassis='7' port='0xe' hotplug='off'/>
  129. <alias name='pci.7'/>
  130. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
  131. </controller>
  132. <controller type='virtio-serial' index='0'>
  133. <alias name='virtio-serial0'/>
  134. <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  135. </controller>
  136. <controller type='sata' index='0'>
  137. <alias name='ide'/>
  138. <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  139. </controller>
  140. <interface type='bridge'>
  141. <mac address='52:54:00:6e:5a:69'/>
  142. <source bridge='br0'/>
  143. <target dev='vnet42'/>
  144. <model type='virtio-net'/>
  145. <alias name='net0'/>
  146. <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  147. </interface>
  148. <serial type='pty'>
  149. <source path='/dev/pts/3'/>
  150. <target type='isa-serial' port='0'>
  151. <model name='isa-serial'/>
  152. </target>
  153. <alias name='serial0'/>
  154. </serial>
  155. <console type='pty' tty='/dev/pts/3'>
  156. <source path='/dev/pts/3'/>
  157. <target type='serial' port='0'/>
  158. <alias name='serial0'/>
  159. </console>
  160. <channel type='unix'>
  161. <source mode='bind' path='/run/libvirt/qemu/channel/44-Windows 11-test/org.qemu.guest_agent.0'/>
  162. <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
  163. <alias name='channel0'/>
  164. <address type='virtio-serial' controller='0' bus='0' port='1'/>
  165. </channel>
  166. <input type='mouse' bus='ps2'>
  167. <alias name='input0'/>
  168. </input>
  169. <input type='keyboard' bus='ps2'>
  170. <alias name='input1'/>
  171. </input>
  172. <tpm model='tpm-tis'>
  173. <backend type='emulator' version='2.0' persistent_state='yes'/>
  174. <alias name='tpm0'/>
  175. </tpm>
  176. <audio id='1' type='none'/>
  177. <hostdev mode='subsystem' type='pci' managed='yes'>
  178. <driver name='vfio'/>
  179. <source>
  180. <address domain='0x0000' bus='0x21' slot='0x00' function='0x0'/>
  181. </source>
  182. <alias name='hostdev0'/>
  183. <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0' multifunction='on'/>
  184. </hostdev>
  185. <hostdev mode='subsystem' type='pci' managed='yes'>
  186. <driver name='vfio'/>
  187. <source>
  188. <address domain='0x0000' bus='0x21' slot='0x00' function='0x1'/>
  189. </source>
  190. <alias name='hostdev1'/>
  191. <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x1'/>
  192. </hostdev>
  193. <hostdev mode='subsystem' type='pci' managed='yes'>
  194. <driver name='vfio'/>
  195. <source>
  196. <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  197. </source>
  198. <boot order='2'/>
  199. <alias name='hostdev2'/>
  200. <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  201. </hostdev>
  202. <hostdev mode='subsystem' type='usb' managed='no'>
  203. <source>
  204. <vendor id='0x046d'/>
  205. <product id='0xc24a'/>
  206. <address bus='1' device='5'/>
  207. </source>
  208. <alias name='hostdev3'/>
  209. <address type='usb' bus='0' port='1'/>
  210. </hostdev>
  211. <hostdev mode='subsystem' type='usb' managed='no'>
  212. <source>
  213. <vendor id='0x1a2c'/>
  214. <product id='0x2e43'/>
  215. <address bus='1' device='4'/>
  216. </source>
  217. <alias name='hostdev4'/>
  218. <address type='usb' bus='0' port='2'/>
  219. </hostdev>
  220. <hostdev mode='subsystem' type='usb' managed='no'>
  221. <source>
  222. <vendor id='0x413c'/>
  223. <product id='0xa503'/>
  224. <address bus='1' device='8'/>
  225. </source>
  226. <alias name='hostdev5'/>
  227. <address type='usb' bus='0' port='3'/>
  228. </hostdev>
  229. <watchdog model='itco' action='reset'>
  230. <alias name='watchdog0'/>
  231. </watchdog>
  232. <memballoon model='none'/>
  233. </devices>
  234. <seclabel type='dynamic' model='dac' relabel='yes'>
  235. <label>+0:+100</label>
  236. <imagelabel>+0:+100</imagelabel>
  237. </seclabel>
  238. </domain>
  239.  
Advertisement
Add Comment
Please, Sign In to add comment