Advertisement
Guest User

vm xml 1 2025

a guest
Feb 25th, 2025
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.15 KB | None | 0 0
  1. <domain type="kvm">
  2. <name>win11_Gaming</name>
  3. <uuid>fa89b462-8c0e-40b6-80b5-716617bd6f09</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">16777216</memory>
  10. <currentMemory unit="KiB">16777216</currentMemory>
  11. <vcpu placement="static">4</vcpu>
  12. <os firmware="efi">
  13. <type arch="x86_64" machine="pc-q35-9.2">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" format="raw">/usr/share/edk2/x64/OVMF_CODE.secboot.4m.fd</loader>
  19. <nvram template="/usr/share/edk2/x64/OVMF_VARS.4m.fd" templateFormat="raw" format="raw">/var/lib/libvirt/qemu/nvram/win11_Gaming_VARS.fd</nvram>
  20. <boot dev="hd"/>
  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. <vpindex state="on"/>
  30. <runtime state="on"/>
  31. <synic state="on"/>
  32. <stimer state="on"/>
  33. <frequencies state="on"/>
  34. <tlbflush state="on"/>
  35. <ipi state="on"/>
  36. <avic state="on"/>
  37. </hyperv>
  38. <vmport state="off"/>
  39. <smm state="on"/>
  40. </features>
  41. <cpu mode="host-passthrough" check="none" migratable="on"/>
  42. <clock offset="localtime">
  43. <timer name="rtc" tickpolicy="catchup"/>
  44. <timer name="pit" tickpolicy="delay"/>
  45. <timer name="hpet" present="no"/>
  46. <timer name="hypervclock" present="yes"/>
  47. </clock>
  48. <on_poweroff>destroy</on_poweroff>
  49. <on_reboot>restart</on_reboot>
  50. <on_crash>destroy</on_crash>
  51. <pm>
  52. <suspend-to-mem enabled="no"/>
  53. <suspend-to-disk enabled="no"/>
  54. </pm>
  55. <devices>
  56. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  57. <disk type="file" device="disk">
  58. <driver name="qemu" type="qcow2"/>
  59. <source file="/home/tyreece/Vms/win11.qcow2"/>
  60. <target dev="sda" bus="sata"/>
  61. <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  62. </disk>
  63. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  64. <address type="pci" domain="0x0000" bus="0x01" 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="sata" index="0">
  138. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  139. </controller>
  140. <controller type="virtio-serial" index="0">
  141. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  142. </controller>
  143. <interface type="network">
  144. <mac address="52:54:00:c9:c1:d1"/>
  145. <source network="default"/>
  146. <model type="virtio"/>
  147. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  148. </interface>
  149. <serial type="pty">
  150. <target type="isa-serial" port="0">
  151. <model name="isa-serial"/>
  152. </target>
  153. </serial>
  154. <console type="pty">
  155. <target type="serial" port="0"/>
  156. </console>
  157. <channel type="spicevmc">
  158. <target type="virtio" name="com.redhat.spice.0"/>
  159. <address type="virtio-serial" controller="0" bus="0" port="1"/>
  160. </channel>
  161. <input type="mouse" bus="ps2"/>
  162. <input type="keyboard" bus="ps2"/>
  163. <tpm model="tpm-tis">
  164. <backend type="passthrough">
  165. <device path="/dev/tpm0"/>
  166. </backend>
  167. </tpm>
  168. <graphics type="spice" port="-1" autoport="no">
  169. <listen type="address"/>
  170. <image compression="off"/>
  171. </graphics>
  172. <graphics type="vnc" port="-1" autoport="yes">
  173. <listen type="address"/>
  174. </graphics>
  175. <sound model="ich9">
  176. <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  177. </sound>
  178. <audio id="1" type="spice"/>
  179. <video>
  180. <model type="none"/>
  181. </video>
  182. <hostdev mode="subsystem" type="usb" managed="yes">
  183. <source>
  184. <vendor id="0x041e"/>
  185. <product id="0x3272"/>
  186. </source>
  187. <address type="usb" bus="0" port="1"/>
  188. </hostdev>
  189. <hostdev mode="subsystem" type="usb" managed="yes">
  190. <source>
  191. <vendor id="0x046d"/>
  192. <product id="0xc547"/>
  193. </source>
  194. <address type="usb" bus="0" port="2"/>
  195. </hostdev>
  196. <hostdev mode="subsystem" type="usb" managed="yes">
  197. <source>
  198. <vendor id="0x046d"/>
  199. <product id="0xc336"/>
  200. </source>
  201. <address type="usb" bus="0" port="3"/>
  202. </hostdev>
  203. <watchdog model="itco" action="reset"/>
  204. <memballoon model="virtio">
  205. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  206. </memballoon>
  207. </devices>
  208. </domain>
  209.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement