ak2766

Win11 Machine definition

May 5th, 2024 (edited)
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.16 KB | None | 0 0
  1. <domain type="kvm">
  2. <name>win11</name>
  3. <uuid>ce1a583a-63f4-4f74-ac3c-df4057d95f8c</uuid>
  4. <metadata>
  5. <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  6. <libosinfo:os id="http://microsoft.com/win/10"/>
  7. </libosinfo:libosinfo>
  8. </metadata>
  9. <memory unit="KiB">8388608</memory>
  10. <currentMemory unit="KiB">8388608</currentMemory>
  11. <vcpu placement="static">8</vcpu>
  12. <os>
  13. <type arch="x86_64" machine="pc-q35-6.2">hvm</type>
  14. <loader readonly="yes" type="pflash">/usr/share/OVMF/OVMF_CODE_4M.secboot.fd</loader>
  15. <nvram>/var/lib/libvirt/qemu/nvram/win11_VARS.fd</nvram>
  16. </os>
  17. <features>
  18. <acpi/>
  19. <apic/>
  20. <hyperv mode="custom">
  21. <relaxed state="on"/>
  22. <vapic state="on"/>
  23. <spinlocks state="on" retries="8191"/>
  24. </hyperv>
  25. <vmport state="off"/>
  26. </features>
  27. <cpu mode="host-passthrough" check="none" migratable="on"/>
  28. <clock offset="localtime">
  29. <timer name="rtc" tickpolicy="catchup"/>
  30. <timer name="pit" tickpolicy="delay"/>
  31. <timer name="hpet" present="no"/>
  32. <timer name="hypervclock" present="yes"/>
  33. </clock>
  34. <on_poweroff>destroy</on_poweroff>
  35. <on_reboot>restart</on_reboot>
  36. <on_crash>destroy</on_crash>
  37. <pm>
  38. <suspend-to-mem enabled="no"/>
  39. <suspend-to-disk enabled="no"/>
  40. </pm>
  41. <devices>
  42. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  43. <disk type="file" device="disk">
  44. <driver name="qemu" type="qcow2" cache="none"/>
  45. <source file="/vmachs/vms/win11.qcow2"/>
  46. <target dev="sda" bus="sata"/>
  47. <boot order="1"/>
  48. <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  49. </disk>
  50. <disk type="file" device="cdrom">
  51. <driver name="qemu" type="raw"/>
  52. <source file="/vmachs/isos/virtio-win-0.1.248.iso"/>
  53. <target dev="sdb" bus="sata"/>
  54. <readonly/>
  55. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  56. </disk>
  57. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  58. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  59. </controller>
  60. <controller type="pci" index="0" model="pcie-root"/>
  61. <controller type="pci" index="1" model="pcie-root-port">
  62. <model name="pcie-root-port"/>
  63. <target chassis="1" port="0x10"/>
  64. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  65. </controller>
  66. <controller type="pci" index="2" model="pcie-root-port">
  67. <model name="pcie-root-port"/>
  68. <target chassis="2" port="0x11"/>
  69. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  70. </controller>
  71. <controller type="pci" index="3" model="pcie-root-port">
  72. <model name="pcie-root-port"/>
  73. <target chassis="3" port="0x12"/>
  74. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  75. </controller>
  76. <controller type="pci" index="4" model="pcie-root-port">
  77. <model name="pcie-root-port"/>
  78. <target chassis="4" port="0x13"/>
  79. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  80. </controller>
  81. <controller type="pci" index="5" model="pcie-root-port">
  82. <model name="pcie-root-port"/>
  83. <target chassis="5" port="0x14"/>
  84. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  85. </controller>
  86. <controller type="pci" index="6" model="pcie-root-port">
  87. <model name="pcie-root-port"/>
  88. <target chassis="6" port="0x15"/>
  89. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  90. </controller>
  91. <controller type="pci" index="7" model="pcie-root-port">
  92. <model name="pcie-root-port"/>
  93. <target chassis="7" port="0x16"/>
  94. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  95. </controller>
  96. <controller type="pci" index="8" model="pcie-root-port">
  97. <model name="pcie-root-port"/>
  98. <target chassis="8" port="0x17"/>
  99. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  100. </controller>
  101. <controller type="pci" index="9" model="pcie-root-port">
  102. <model name="pcie-root-port"/>
  103. <target chassis="9" port="0x18"/>
  104. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
  105. </controller>
  106. <controller type="pci" index="10" model="pcie-root-port">
  107. <model name="pcie-root-port"/>
  108. <target chassis="10" port="0x19"/>
  109. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
  110. </controller>
  111. <controller type="pci" index="11" model="pcie-root-port">
  112. <model name="pcie-root-port"/>
  113. <target chassis="11" port="0x1a"/>
  114. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  115. </controller>
  116. <controller type="pci" index="12" model="pcie-root-port">
  117. <model name="pcie-root-port"/>
  118. <target chassis="12" port="0x1b"/>
  119. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
  120. </controller>
  121. <controller type="pci" index="13" model="pcie-root-port">
  122. <model name="pcie-root-port"/>
  123. <target chassis="13" port="0x1c"/>
  124. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
  125. </controller>
  126. <controller type="pci" index="14" model="pcie-root-port">
  127. <model name="pcie-root-port"/>
  128. <target chassis="14" port="0x1d"/>
  129. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
  130. </controller>
  131. <controller type="pci" index="15" model="pcie-root-port">
  132. <model name="pcie-root-port"/>
  133. <target chassis="15" port="0x1e"/>
  134. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x6"/>
  135. </controller>
  136. <controller type="pci" index="16" model="pcie-to-pci-bridge">
  137. <model name="pcie-pci-bridge"/>
  138. <address type="pci" domain="0x0000" bus="0x05" 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. <controller type="virtio-serial" index="0">
  144. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  145. </controller>
  146. <interface type="bridge">
  147. <mac address="52:54:00:71:f0:8e"/>
  148. <source bridge="br0"/>
  149. <model type="e1000e"/>
  150. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  151. </interface>
  152. <serial type="pty">
  153. <target type="isa-serial" port="0">
  154. <model name="isa-serial"/>
  155. </target>
  156. </serial>
  157. <console type="pty">
  158. <target type="serial" port="0"/>
  159. </console>
  160. <channel type="spicevmc">
  161. <target type="virtio" name="com.redhat.spice.0"/>
  162. <address type="virtio-serial" controller="0" bus="0" port="1"/>
  163. </channel>
  164. <input type="tablet" bus="usb">
  165. <address type="usb" bus="0" port="1"/>
  166. </input>
  167. <input type="mouse" bus="ps2"/>
  168. <input type="keyboard" bus="ps2"/>
  169. <tpm model="tpm-tis">
  170. <backend type="emulator" version="2.0"/>
  171. </tpm>
  172. <graphics type="spice" autoport="yes">
  173. <listen type="address"/>
  174. <image compression="off"/>
  175. </graphics>
  176. <sound model="ich9">
  177. <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  178. </sound>
  179. <audio id="1" type="spice"/>
  180. <video>
  181. <model type="qxl" ram="65536" vram="65536" vgamem="65536" heads="1" primary="yes"/>
  182. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  183. </video>
  184. <video>
  185. <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1"/>
  186. <address type="pci" domain="0x0000" bus="0x10" slot="0x01" function="0x0"/>
  187. </video>
  188. <redirdev bus="usb" type="spicevmc">
  189. <address type="usb" bus="0" port="4"/>
  190. </redirdev>
  191. <redirdev bus="usb" type="spicevmc">
  192. <address type="usb" bus="0" port="5"/>
  193. </redirdev>
  194. <memballoon model="virtio">
  195. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  196. </memballoon>
  197. </devices>
  198. </domain>
  199.  
Advertisement
Add Comment
Please, Sign In to add comment