selharim

Untitled

Oct 31st, 2023
696
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.02 KB | None | 0 0
  1. <domain type="kvm">
  2. <name>win11</name>
  3. <uuid>9af756b6-bf0d-4718-a258-33ebc35f9d5f</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">26624000</memory>
  10. <currentMemory unit="KiB">26624000</currentMemory>
  11. <vcpu placement="static">21</vcpu>
  12. <os firmware="efi">
  13. <type arch="x86_64" machine="pc-q35-8.1">hvm</type>
  14. <firmware>
  15. <feature enabled="no" name="enrolled-keys"/>
  16. <feature enabled="yes" name="secure-boot"/>
  17. </firmware>
  18. <loader readonly="yes" secure="yes" type="pflash">/usr/share/edk2/x64/OVMF_CODE.secboot.4m.fd</loader>
  19. <nvram template="/usr/share/edk2/x64/OVMF_VARS.4m.fd">/var/lib/libvirt/qemu/nvram/win11_VARS.fd</nvram>
  20. <smbios mode="host"/>
  21. </os>
  22. <features>
  23. <acpi/>
  24. <apic/>
  25. <hyperv mode="custom">
  26. <relaxed state="on"/>
  27. <vapic state="on"/>
  28. <spinlocks state="on" retries="8191"/>
  29. <vendor_id state="on" value="randomid"/>
  30. </hyperv>
  31. <vmport state="off"/>
  32. <smm state="on"/>
  33. </features>
  34. <cpu mode="host-passthrough" check="none" migratable="on">
  35. <topology sockets="1" dies="1" cores="21" threads="1"/>
  36. </cpu>
  37. <clock offset="localtime">
  38. <timer name="rtc" tickpolicy="catchup"/>
  39. <timer name="pit" tickpolicy="delay"/>
  40. <timer name="hpet" present="no"/>
  41. <timer name="hypervclock" present="yes"/>
  42. </clock>
  43. <on_poweroff>destroy</on_poweroff>
  44. <on_reboot>restart</on_reboot>
  45. <on_crash>destroy</on_crash>
  46. <pm>
  47. <suspend-to-mem enabled="no"/>
  48. <suspend-to-disk enabled="no"/>
  49. </pm>
  50. <devices>
  51. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  52. <disk type="file" device="disk">
  53. <driver name="qemu" type="qcow2" discard="unmap"/>
  54. <source file="/var/lib/libvirt/images/win11-4.qcow2"/>
  55. <target dev="sda" bus="virtio"/>
  56. <boot order="2"/>
  57. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  58. </disk>
  59. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  60. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  61. </controller>
  62. <controller type="pci" index="0" model="pcie-root"/>
  63. <controller type="pci" index="1" model="pcie-root-port">
  64. <model name="pcie-root-port"/>
  65. <target chassis="1" port="0x10"/>
  66. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  67. </controller>
  68. <controller type="pci" index="2" model="pcie-root-port">
  69. <model name="pcie-root-port"/>
  70. <target chassis="2" port="0x11"/>
  71. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  72. </controller>
  73. <controller type="pci" index="3" model="pcie-root-port">
  74. <model name="pcie-root-port"/>
  75. <target chassis="3" port="0x12"/>
  76. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  77. </controller>
  78. <controller type="pci" index="4" model="pcie-root-port">
  79. <model name="pcie-root-port"/>
  80. <target chassis="4" port="0x13"/>
  81. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  82. </controller>
  83. <controller type="pci" index="5" model="pcie-root-port">
  84. <model name="pcie-root-port"/>
  85. <target chassis="5" port="0x14"/>
  86. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  87. </controller>
  88. <controller type="pci" index="6" model="pcie-root-port">
  89. <model name="pcie-root-port"/>
  90. <target chassis="6" port="0x15"/>
  91. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  92. </controller>
  93. <controller type="pci" index="7" model="pcie-root-port">
  94. <model name="pcie-root-port"/>
  95. <target chassis="7" port="0x16"/>
  96. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  97. </controller>
  98. <controller type="pci" index="8" model="pcie-root-port">
  99. <model name="pcie-root-port"/>
  100. <target chassis="8" port="0x17"/>
  101. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  102. </controller>
  103. <controller type="pci" index="9" model="pcie-root-port">
  104. <model name="pcie-root-port"/>
  105. <target chassis="9" port="0x18"/>
  106. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
  107. </controller>
  108. <controller type="pci" index="10" model="pcie-root-port">
  109. <model name="pcie-root-port"/>
  110. <target chassis="10" port="0x19"/>
  111. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
  112. </controller>
  113. <controller type="pci" index="11" model="pcie-root-port">
  114. <model name="pcie-root-port"/>
  115. <target chassis="11" port="0x1a"/>
  116. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  117. </controller>
  118. <controller type="pci" index="12" model="pcie-root-port">
  119. <model name="pcie-root-port"/>
  120. <target chassis="12" port="0x1b"/>
  121. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
  122. </controller>
  123. <controller type="pci" index="13" model="pcie-root-port">
  124. <model name="pcie-root-port"/>
  125. <target chassis="13" port="0x1c"/>
  126. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
  127. </controller>
  128. <controller type="pci" index="14" model="pcie-root-port">
  129. <model name="pcie-root-port"/>
  130. <target chassis="14" port="0x1d"/>
  131. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
  132. </controller>
  133. <controller type="sata" index="0">
  134. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  135. </controller>
  136. <controller type="virtio-serial" index="0">
  137. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  138. </controller>
  139. <interface type="network">
  140. <mac address="52:54:00:7f:7a:c6"/>
  141. <source network="default"/>
  142. <model type="e1000e"/>
  143. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  144. </interface>
  145. <serial type="pty">
  146. <target type="isa-serial" port="0">
  147. <model name="isa-serial"/>
  148. </target>
  149. </serial>
  150. <console type="pty">
  151. <target type="serial" port="0"/>
  152. </console>
  153. <input type="mouse" bus="ps2"/>
  154. <input type="keyboard" bus="ps2"/>
  155. <sound model="ich9">
  156. <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  157. </sound>
  158. <audio id="1" type="none"/>
  159. <hostdev mode="subsystem" type="usb" managed="yes">
  160. <source>
  161. <vendor id="0x046d"/>
  162. <product id="0xc547"/>
  163. </source>
  164. <address type="usb" bus="0" port="1"/>
  165. </hostdev>
  166. <hostdev mode="subsystem" type="usb" managed="yes">
  167. <source>
  168. <vendor id="0x046d"/>
  169. <product id="0xc545"/>
  170. </source>
  171. <address type="usb" bus="0" port="2"/>
  172. </hostdev>
  173. <hostdev mode="subsystem" type="usb" managed="yes">
  174. <source>
  175. <vendor id="0x046d"/>
  176. <product id="0x0aba"/>
  177. </source>
  178. <address type="usb" bus="0" port="3"/>
  179. </hostdev>
  180. <hostdev mode="subsystem" type="pci" managed="yes">
  181. <source>
  182. <address domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  183. </source>
  184. <rom bar="off"/>
  185. <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  186. </hostdev>
  187. <hostdev mode="subsystem" type="pci" managed="yes">
  188. <source>
  189. <address domain="0x0000" bus="0x03" slot="0x00" function="0x1"/>
  190. </source>
  191. <rom bar="off"/>
  192. <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  193. </hostdev>
  194. <watchdog model="itco" action="reset"/>
  195. <memballoon model="virtio">
  196. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  197. </memballoon>
  198. </devices>
  199. </domain>
  200.  
Advertisement
Add Comment
Please, Sign In to add comment