Guest User

win10.xml

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