Guest User

Untitled

a guest
May 25th, 2024
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.43 KB | None | 0 0
  1. <domain type="kvm">
  2. <name>win11</name>
  3. <uuid>25bb1f94-77ad-4838-9939-4ddb22876799</uuid>
  4. <metadata>
  5. <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  6. <libosinfo:os id="http://microsoft.com/win/11"/>
  7. </libosinfo:libosinfo>
  8. </metadata>
  9. <memory unit="KiB">20480000</memory>
  10. <currentMemory unit="KiB">20480000</currentMemory>
  11. <vcpu placement="static">16</vcpu>
  12. <iothreads>2</iothreads>
  13. <cputune>
  14. <vcpupin vcpu="0" cpuset="4"/>
  15. <vcpupin vcpu="1" cpuset="16"/>
  16. <vcpupin vcpu="2" cpuset="5"/>
  17. <vcpupin vcpu="3" cpuset="17"/>
  18. <vcpupin vcpu="4" cpuset="6"/>
  19. <vcpupin vcpu="5" cpuset="18"/>
  20. <vcpupin vcpu="6" cpuset="7"/>
  21. <vcpupin vcpu="7" cpuset="19"/>
  22. <vcpupin vcpu="8" cpuset="8"/>
  23. <vcpupin vcpu="9" cpuset="20"/>
  24. <vcpupin vcpu="10" cpuset="9"/>
  25. <vcpupin vcpu="11" cpuset="21"/>
  26. <vcpupin vcpu="12" cpuset="10"/>
  27. <vcpupin vcpu="13" cpuset="22"/>
  28. <vcpupin vcpu="14" cpuset="11"/>
  29. <vcpupin vcpu="15" cpuset="23"/>
  30. <emulatorpin cpuset="3,15"/>
  31. <iothreadpin iothread="1" cpuset="3"/>
  32. <iothreadpin iothread="2" cpuset="15"/>
  33. </cputune>
  34. <os firmware="efi">
  35. <type arch="x86_64" machine="pc-q35-9.0">hvm</type>
  36. <firmware>
  37. <feature enabled="no" name="enrolled-keys"/>
  38. <feature enabled="yes" name="secure-boot"/>
  39. </firmware>
  40. <loader readonly="yes" secure="yes" type="pflash">/usr/share/edk2/x64/OVMF_CODE.secboot.fd</loader>
  41. <nvram template="/usr/share/edk2/x64/OVMF_VARS.fd">/var/lib/libvirt/qemu/nvram/win11_VARS.fd</nvram>
  42. <boot dev="hd"/>
  43. </os>
  44. <features>
  45. <acpi/>
  46. <apic/>
  47. <hyperv mode="custom">
  48. <relaxed state="on"/>
  49. <vapic state="on"/>
  50. <spinlocks state="on" retries="8191"/>
  51. <vpindex state="on"/>
  52. <runtime state="on"/>
  53. <synic state="on"/>
  54. <stimer state="on"/>
  55. <reset state="on"/>
  56. <vendor_id state="on" value="randomid"/>
  57. <frequencies state="on"/>
  58. </hyperv>
  59. <kvm>
  60. <hidden state="on"/>
  61. </kvm>
  62. <vmport state="off"/>
  63. <smm state="on"/>
  64. </features>
  65. <cpu mode="host-passthrough" check="none" migratable="on">
  66. <topology sockets="1" dies="1" clusters="1" cores="8" threads="2"/>
  67. <cache mode="passthrough"/>
  68. <feature policy="disable" name="hypervisor"/>
  69. <feature policy="require" name="vmx"/>
  70. <feature policy="require" name="topoext"/>
  71. </cpu>
  72. <clock offset="localtime">
  73. <timer name="rtc" tickpolicy="catchup"/>
  74. <timer name="pit" tickpolicy="delay"/>
  75. <timer name="hpet" present="no"/>
  76. <timer name="hypervclock" present="yes"/>
  77. </clock>
  78. <on_poweroff>destroy</on_poweroff>
  79. <on_reboot>restart</on_reboot>
  80. <on_crash>destroy</on_crash>
  81. <pm>
  82. <suspend-to-mem enabled="no"/>
  83. <suspend-to-disk enabled="no"/>
  84. </pm>
  85. <devices>
  86. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  87. <disk type="file" device="disk">
  88. <driver name="qemu" type="qcow2"/>
  89. <source file="/data/win11.qcow2"/>
  90. <target dev="vda" bus="virtio"/>
  91. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  92. </disk>
  93. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  94. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  95. </controller>
  96. <controller type="pci" index="0" model="pcie-root"/>
  97. <controller type="pci" index="1" model="pcie-root-port">
  98. <model name="pcie-root-port"/>
  99. <target chassis="1" port="0x10"/>
  100. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  101. </controller>
  102. <controller type="pci" index="2" model="pcie-root-port">
  103. <model name="pcie-root-port"/>
  104. <target chassis="2" port="0x11"/>
  105. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  106. </controller>
  107. <controller type="pci" index="3" model="pcie-root-port">
  108. <model name="pcie-root-port"/>
  109. <target chassis="3" port="0x12"/>
  110. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  111. </controller>
  112. <controller type="pci" index="4" model="pcie-root-port">
  113. <model name="pcie-root-port"/>
  114. <target chassis="4" port="0x13"/>
  115. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  116. </controller>
  117. <controller type="pci" index="5" model="pcie-root-port">
  118. <model name="pcie-root-port"/>
  119. <target chassis="5" port="0x14"/>
  120. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  121. </controller>
  122. <controller type="pci" index="6" model="pcie-root-port">
  123. <model name="pcie-root-port"/>
  124. <target chassis="6" port="0x15"/>
  125. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  126. </controller>
  127. <controller type="pci" index="7" model="pcie-root-port">
  128. <model name="pcie-root-port"/>
  129. <target chassis="7" port="0x16"/>
  130. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  131. </controller>
  132. <controller type="pci" index="8" model="pcie-root-port">
  133. <model name="pcie-root-port"/>
  134. <target chassis="8" port="0x17"/>
  135. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  136. </controller>
  137. <controller type="pci" index="9" model="pcie-root-port">
  138. <model name="pcie-root-port"/>
  139. <target chassis="9" port="0x18"/>
  140. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
  141. </controller>
  142. <controller type="pci" index="10" model="pcie-root-port">
  143. <model name="pcie-root-port"/>
  144. <target chassis="10" port="0x19"/>
  145. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
  146. </controller>
  147. <controller type="pci" index="11" model="pcie-root-port">
  148. <model name="pcie-root-port"/>
  149. <target chassis="11" port="0x1a"/>
  150. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  151. </controller>
  152. <controller type="pci" index="12" model="pcie-root-port">
  153. <model name="pcie-root-port"/>
  154. <target chassis="12" port="0x1b"/>
  155. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
  156. </controller>
  157. <controller type="pci" index="13" model="pcie-root-port">
  158. <model name="pcie-root-port"/>
  159. <target chassis="13" port="0x1c"/>
  160. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
  161. </controller>
  162. <controller type="pci" index="14" model="pcie-root-port">
  163. <model name="pcie-root-port"/>
  164. <target chassis="14" port="0x1d"/>
  165. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
  166. </controller>
  167. <controller type="pci" index="15" model="pcie-root-port">
  168. <model name="pcie-root-port"/>
  169. <target chassis="15" port="0x1e"/>
  170. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x6"/>
  171. </controller>
  172. <controller type="pci" index="16" model="pcie-to-pci-bridge">
  173. <model name="pcie-pci-bridge"/>
  174. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  175. </controller>
  176. <controller type="sata" index="0">
  177. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  178. </controller>
  179. <controller type="virtio-serial" index="0">
  180. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  181. </controller>
  182. <interface type="network">
  183. <mac address="52:54:00:99:24:bf"/>
  184. <source network="default"/>
  185. <model type="rtl8139"/>
  186. <address type="pci" domain="0x0000" bus="0x10" slot="0x01" function="0x0"/>
  187. </interface>
  188. <input type="tablet" bus="usb">
  189. <address type="usb" bus="0" port="1"/>
  190. </input>
  191. <input type="mouse" bus="ps2"/>
  192. <input type="keyboard" bus="ps2"/>
  193. <sound model="ich9">
  194. <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  195. </sound>
  196. <audio id="1" type="none"/>
  197. <hostdev mode="subsystem" type="pci" managed="yes">
  198. <source>
  199. <address domain="0x0000" bus="0x2d" slot="0x00" function="0x0"/>
  200. </source>
  201. <rom file="/usr/share/vgabios/vbios.rom"/>
  202. <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  203. </hostdev>
  204. <hostdev mode="subsystem" type="pci" managed="yes">
  205. <source>
  206. <address domain="0x0000" bus="0x2d" slot="0x00" function="0x1"/>
  207. </source>
  208. <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  209. </hostdev>
  210. <hostdev mode="subsystem" type="usb" managed="yes">
  211. <source>
  212. <vendor id="0x046d"/>
  213. <product id="0xc547"/>
  214. </source>
  215. <address type="usb" bus="0" port="2"/>
  216. </hostdev>
  217. <hostdev mode="subsystem" type="usb" managed="yes">
  218. <source>
  219. <vendor id="0x0416"/>
  220. <product id="0x0123"/>
  221. </source>
  222. <address type="usb" bus="0" port="3"/>
  223. </hostdev>
  224. <hostdev mode="subsystem" type="usb" managed="yes">
  225. <source>
  226. <vendor id="0x0951"/>
  227. <product id="0x16df"/>
  228. </source>
  229. <address type="usb" bus="0" port="4"/>
  230. </hostdev>
  231. <watchdog model="itco" action="reset"/>
  232. <memballoon model="virtio">
  233. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  234. </memballoon>
  235. </devices>
  236. </domain>
  237.  
Advertisement
Add Comment
Please, Sign In to add comment