Advertisement
Guest User

KVM XML

a guest
May 10th, 2024
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.89 KB | None | 0 0
  1. <domain type="kvm">
  2. <name>win11</name>
  3. <uuid>UUID REMOVED</uuid>
  4. <title>Windows 11</title>
  5. <description>Windows 11 Gaming VM</description>
  6. <metadata>
  7. <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  8. <libosinfo:os id="http://microsoft.com/win/11"/>
  9. </libosinfo:libosinfo>
  10. </metadata>
  11. <memory unit="KiB">32806912</memory>
  12. <currentMemory unit="KiB">32806912</currentMemory>
  13. <vcpu placement="static">24</vcpu>
  14. <sysinfo type="smbios">
  15. <bios>
  16. <entry name="vendor">American Megatrends Inc.</entry>
  17. <entry name="version">1202</entry>
  18. <entry name="date">04/17/2024</entry>
  19. </bios>
  20. <system>
  21. <entry name="manufacturer">ASUSTeK COMPUTER INC.</entry>
  22. <entry name="product">ROG STRIX Z790-E GAMING WIFI II</entry>
  23. <entry name="version">1.xx</entry>
  24. <entry name="serial">SERIAL REMOVED</entry>
  25. <entry name="uuid">UUID REMOVED</entry>
  26. <entry name="sku">Default string</entry>
  27. <entry name="family">Z790-E MB</entry>
  28. </system>
  29. </sysinfo>
  30. <os firmware="efi">
  31. <type arch="x86_64" machine="pc-q35-8.1">hvm</type>
  32. <firmware>
  33. <feature enabled="no" name="enrolled-keys"/>
  34. <feature enabled="yes" name="secure-boot"/>
  35. </firmware>
  36. <loader readonly="yes" secure="yes" type="pflash">/usr/share/edk2/x64/OVMF_CODE.secboot.4m.fd</loader>
  37. <nvram template="/usr/share/edk2/x64/OVMF_VARS.4m.fd">/var/lib/libvirt/qemu/nvram/win11_VARS.fd</nvram>
  38. <smbios mode="sysinfo"/>
  39. </os>
  40. <features>
  41. <acpi/>
  42. <apic/>
  43. <hyperv mode="custom">
  44. <relaxed state="on"/>
  45. <vapic state="on"/>
  46. <spinlocks state="on" retries="8191"/>
  47. </hyperv>
  48. <kvm>
  49. <hidden state="on"/>
  50. </kvm>
  51. <vmport state="off"/>
  52. <smm state="on"/>
  53. </features>
  54. <cpu mode="host-passthrough" check="none" migratable="on">
  55. <topology sockets="1" dies="1" clusters="1" cores="12" threads="2"/>
  56. </cpu>
  57. <clock offset="localtime">
  58. <timer name="rtc" tickpolicy="catchup"/>
  59. <timer name="pit" tickpolicy="delay"/>
  60. <timer name="hpet" present="no"/>
  61. <timer name="hypervclock" present="yes"/>
  62. </clock>
  63. <on_poweroff>destroy</on_poweroff>
  64. <on_reboot>restart</on_reboot>
  65. <on_crash>destroy</on_crash>
  66. <pm>
  67. <suspend-to-mem enabled="no"/>
  68. <suspend-to-disk enabled="no"/>
  69. </pm>
  70. <devices>
  71. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  72. <disk type="file" device="cdrom">
  73. <driver name="qemu" type="raw"/>
  74. <source file="/home/james/.KVM/Windows/ISO/Win11_23H2_English_x64v2.iso"/>
  75. <target dev="sdb" bus="sata"/>
  76. <readonly/>
  77. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  78. </disk>
  79. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  80. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  81. </controller>
  82. <controller type="pci" index="0" model="pcie-root"/>
  83. <controller type="pci" index="1" model="pcie-root-port">
  84. <model name="pcie-root-port"/>
  85. <target chassis="1" port="0x10"/>
  86. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  87. </controller>
  88. <controller type="pci" index="2" model="pcie-root-port">
  89. <model name="pcie-root-port"/>
  90. <target chassis="2" port="0x11"/>
  91. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  92. </controller>
  93. <controller type="pci" index="3" model="pcie-root-port">
  94. <model name="pcie-root-port"/>
  95. <target chassis="3" port="0x12"/>
  96. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  97. </controller>
  98. <controller type="pci" index="4" model="pcie-root-port">
  99. <model name="pcie-root-port"/>
  100. <target chassis="4" port="0x13"/>
  101. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  102. </controller>
  103. <controller type="pci" index="5" model="pcie-root-port">
  104. <model name="pcie-root-port"/>
  105. <target chassis="5" port="0x14"/>
  106. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  107. </controller>
  108. <controller type="pci" index="6" model="pcie-root-port">
  109. <model name="pcie-root-port"/>
  110. <target chassis="6" port="0x15"/>
  111. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  112. </controller>
  113. <controller type="pci" index="7" model="pcie-root-port">
  114. <model name="pcie-root-port"/>
  115. <target chassis="7" port="0x16"/>
  116. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  117. </controller>
  118. <controller type="pci" index="8" model="pcie-root-port">
  119. <model name="pcie-root-port"/>
  120. <target chassis="8" port="0x17"/>
  121. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  122. </controller>
  123. <controller type="pci" index="9" model="pcie-root-port">
  124. <model name="pcie-root-port"/>
  125. <target chassis="9" port="0x18"/>
  126. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
  127. </controller>
  128. <controller type="pci" index="10" model="pcie-root-port">
  129. <model name="pcie-root-port"/>
  130. <target chassis="10" port="0x19"/>
  131. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
  132. </controller>
  133. <controller type="pci" index="11" model="pcie-root-port">
  134. <model name="pcie-root-port"/>
  135. <target chassis="11" port="0x1a"/>
  136. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  137. </controller>
  138. <controller type="pci" index="12" model="pcie-root-port">
  139. <model name="pcie-root-port"/>
  140. <target chassis="12" port="0x1b"/>
  141. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
  142. </controller>
  143. <controller type="pci" index="13" model="pcie-root-port">
  144. <model name="pcie-root-port"/>
  145. <target chassis="13" port="0x1c"/>
  146. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
  147. </controller>
  148. <controller type="pci" index="14" model="pcie-root-port">
  149. <model name="pcie-root-port"/>
  150. <target chassis="14" port="0x1d"/>
  151. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
  152. </controller>
  153. <controller type="pci" index="15" model="pcie-root-port">
  154. <model name="pcie-root-port"/>
  155. <target chassis="15" port="0x1e"/>
  156. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x6"/>
  157. </controller>
  158. <controller type="pci" index="16" model="pcie-to-pci-bridge">
  159. <model name="pcie-pci-bridge"/>
  160. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  161. </controller>
  162. <controller type="sata" index="0">
  163. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  164. </controller>
  165. <controller type="virtio-serial" index="0">
  166. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  167. </controller>
  168. <interface type="network">
  169. <mac address="52:54:00:65:b3:e4"/>
  170. <source network="default"/>
  171. <model type="e1000e"/>
  172. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  173. </interface>
  174. <serial type="pty">
  175. <target type="isa-serial" port="0">
  176. <model name="isa-serial"/>
  177. </target>
  178. </serial>
  179. <console type="pty">
  180. <target type="serial" port="0"/>
  181. </console>
  182. <channel type="spicevmc">
  183. <target type="virtio" name="com.redhat.spice.0"/>
  184. <address type="virtio-serial" controller="0" bus="0" port="1"/>
  185. </channel>
  186. <input type="mouse" bus="virtio">
  187. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  188. </input>
  189. <input type="keyboard" bus="virtio">
  190. <address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/>
  191. </input>
  192. <input type="mouse" bus="ps2"/>
  193. <input type="keyboard" bus="ps2"/>
  194. <tpm model="tpm-crb">
  195. <backend type="emulator" version="2.0"/>
  196. </tpm>
  197. <graphics type="spice" autoport="yes">
  198. <listen type="address"/>
  199. <image compression="off"/>
  200. </graphics>
  201. <sound model="ich9">
  202. <codec type="output"/>
  203. <audio id="1"/>
  204. <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  205. </sound>
  206. <audio id="1" type="spice"/>
  207. <video>
  208. <model type="vga" vram="16384" heads="1" primary="yes"/>
  209. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  210. </video>
  211. <hostdev mode="subsystem" type="pci" managed="yes">
  212. <source>
  213. <address domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  214. </source>
  215. <boot order="1"/>
  216. <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  217. </hostdev>
  218. <hostdev mode="subsystem" type="pci" managed="yes">
  219. <source>
  220. <address domain="0x0000" bus="0x0c" slot="0x00" function="0x0"/>
  221. </source>
  222. <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  223. </hostdev>
  224. <hostdev mode="subsystem" type="pci" managed="yes">
  225. <source>
  226. <address domain="0x0000" bus="0x0c" slot="0x00" function="0x1"/>
  227. </source>
  228. <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
  229. </hostdev>
  230. <redirdev bus="usb" type="spicevmc">
  231. <address type="usb" bus="0" port="2"/>
  232. </redirdev>
  233. <redirdev bus="usb" type="spicevmc">
  234. <address type="usb" bus="0" port="3"/>
  235. </redirdev>
  236. <watchdog model="itco" action="reset"/>
  237. <memballoon model="none"/>
  238. <shmem name="looking-glass">
  239. <model type="ivshmem-plain"/>
  240. <size unit="M">64</size>
  241. <address type="pci" domain="0x0000" bus="0x10" slot="0x01" function="0x0"/>
  242. </shmem>
  243. </devices>
  244. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement