Advertisement
Guest User

XML

a guest
Dec 29th, 2023
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.95 KB | None | 0 0
  1. <domain type="kvm">
  2. <name>Windows-10</name>
  3. <uuid>ba0676bb-127a-4b05-90ab-8ab6c33aa141</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">24576000</memory>
  10. <currentMemory unit="KiB">24576000</currentMemory>
  11. <memoryBacking>
  12. <source type="memfd"/>
  13. <access mode="shared"/>
  14. </memoryBacking>
  15. <vcpu placement="static">20</vcpu>
  16. <os>
  17. <type arch="x86_64" machine="pc-q35-6.2">hvm</type>
  18. <loader readonly="yes" secure="yes" type="pflash">/usr/share/OVMF/OVMF_CODE_4M.secboot.fd</loader>
  19. <nvram>/var/lib/libvirt/qemu/nvram/Windows-10_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. <reset state="on"/>
  34. <vendor_id state="on" value="linuxmint"/>
  35. <frequencies state="on"/>
  36. </hyperv>
  37. <kvm>
  38. <hidden state="on"/>
  39. </kvm>
  40. <vmport state="off"/>
  41. <smm state="on"/>
  42. </features>
  43. <cpu mode="host-passthrough" check="none" migratable="on">
  44. <topology sockets="1" dies="1" cores="10" threads="2"/>
  45. <feature policy="require" name="topoext"/>
  46. </cpu>
  47. <clock offset="localtime">
  48. <timer name="rtc" tickpolicy="catchup"/>
  49. <timer name="pit" tickpolicy="delay"/>
  50. <timer name="hpet" present="no"/>
  51. <timer name="hypervclock" present="yes"/>
  52. </clock>
  53. <on_poweroff>destroy</on_poweroff>
  54. <on_reboot>restart</on_reboot>
  55. <on_crash>destroy</on_crash>
  56. <pm>
  57. <suspend-to-mem enabled="no"/>
  58. <suspend-to-disk enabled="no"/>
  59. </pm>
  60. <devices>
  61. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  62. <disk type="file" device="cdrom">
  63. <driver name="qemu" type="raw"/>
  64. <source file="/mnt/VM/Win10_22H2_English_x64v1.iso"/>
  65. <target dev="sdb" bus="sata"/>
  66. <readonly/>
  67. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  68. </disk>
  69. <disk type="file" device="cdrom">
  70. <driver name="qemu" type="raw"/>
  71. <source file="/mnt/VM/virtio-win-0.1.240.iso"/>
  72. <target dev="sdc" bus="sata"/>
  73. <readonly/>
  74. <address type="drive" controller="0" bus="0" target="0" unit="2"/>
  75. </disk>
  76. <disk type="file" device="disk">
  77. <driver name="qemu" type="qcow2"/>
  78. <source file="/mnt/VM/Win10.qcow2"/>
  79. <target dev="vda" bus="virtio"/>
  80. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  81. </disk>
  82. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  83. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  84. </controller>
  85. <controller type="pci" index="0" model="pcie-root"/>
  86. <controller type="pci" index="1" model="pcie-root-port">
  87. <model name="pcie-root-port"/>
  88. <target chassis="1" port="0x10"/>
  89. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  90. </controller>
  91. <controller type="pci" index="2" model="pcie-root-port">
  92. <model name="pcie-root-port"/>
  93. <target chassis="2" port="0x11"/>
  94. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  95. </controller>
  96. <controller type="pci" index="3" model="pcie-root-port">
  97. <model name="pcie-root-port"/>
  98. <target chassis="3" port="0x12"/>
  99. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  100. </controller>
  101. <controller type="pci" index="4" model="pcie-root-port">
  102. <model name="pcie-root-port"/>
  103. <target chassis="4" port="0x13"/>
  104. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  105. </controller>
  106. <controller type="pci" index="5" model="pcie-root-port">
  107. <model name="pcie-root-port"/>
  108. <target chassis="5" port="0x14"/>
  109. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  110. </controller>
  111. <controller type="pci" index="6" model="pcie-root-port">
  112. <model name="pcie-root-port"/>
  113. <target chassis="6" port="0x15"/>
  114. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  115. </controller>
  116. <controller type="pci" index="7" model="pcie-root-port">
  117. <model name="pcie-root-port"/>
  118. <target chassis="7" port="0x16"/>
  119. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  120. </controller>
  121. <controller type="pci" index="8" model="pcie-root-port">
  122. <model name="pcie-root-port"/>
  123. <target chassis="8" port="0x17"/>
  124. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  125. </controller>
  126. <controller type="pci" index="9" model="pcie-root-port">
  127. <model name="pcie-root-port"/>
  128. <target chassis="9" port="0x18"/>
  129. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
  130. </controller>
  131. <controller type="pci" index="10" model="pcie-root-port">
  132. <model name="pcie-root-port"/>
  133. <target chassis="10" port="0x19"/>
  134. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
  135. </controller>
  136. <controller type="pci" index="11" model="pcie-root-port">
  137. <model name="pcie-root-port"/>
  138. <target chassis="11" port="0x1a"/>
  139. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  140. </controller>
  141. <controller type="pci" index="12" model="pcie-root-port">
  142. <model name="pcie-root-port"/>
  143. <target chassis="12" port="0x1b"/>
  144. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
  145. </controller>
  146. <controller type="pci" index="13" model="pcie-root-port">
  147. <model name="pcie-root-port"/>
  148. <target chassis="13" port="0x1c"/>
  149. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
  150. </controller>
  151. <controller type="pci" index="14" model="pcie-root-port">
  152. <model name="pcie-root-port"/>
  153. <target chassis="14" port="0x1d"/>
  154. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
  155. </controller>
  156. <controller type="sata" index="0">
  157. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  158. </controller>
  159. <controller type="virtio-serial" index="0">
  160. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  161. </controller>
  162. <filesystem type="mount" accessmode="passthrough">
  163. <driver type="virtiofs"/>
  164. <source dir="/mnt/Editing"/>
  165. <target dir="Editing"/>
  166. <address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/>
  167. </filesystem>
  168. <filesystem type="mount" accessmode="passthrough">
  169. <driver type="virtiofs"/>
  170. <source dir="/mnt/Video"/>
  171. <target dir="Video"/>
  172. <address type="pci" domain="0x0000" bus="0x0a" slot="0x00" function="0x0"/>
  173. </filesystem>
  174. <filesystem type="mount" accessmode="passthrough">
  175. <driver type="virtiofs"/>
  176. <source dir="/mnt/OBS Dump"/>
  177. <target dir="OBS Dump"/>
  178. <address type="pci" domain="0x0000" bus="0x0c" slot="0x00" function="0x0"/>
  179. </filesystem>
  180. <filesystem type="mount" accessmode="passthrough">
  181. <driver type="virtiofs"/>
  182. <source dir="/mnt/OBS Drive"/>
  183. <target dir="OBS Drive"/>
  184. <address type="pci" domain="0x0000" bus="0x0d" slot="0x00" function="0x0"/>
  185. </filesystem>
  186. <interface type="network">
  187. <mac address="52:54:00:4f:99:61"/>
  188. <source network="default"/>
  189. <model type="e1000e"/>
  190. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  191. </interface>
  192. <input type="mouse" bus="ps2"/>
  193. <input type="keyboard" bus="ps2"/>
  194. <audio id="1" type="spice"/>
  195. <video>
  196. <model type="cirrus" vram="16384" heads="1" primary="yes"/>
  197. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  198. </video>
  199. <hostdev mode="subsystem" type="usb" managed="yes">
  200. <source>
  201. <vendor id="0x1038"/>
  202. <product id="0x161a"/>
  203. </source>
  204. <address type="usb" bus="0" port="1"/>
  205. </hostdev>
  206. <hostdev mode="subsystem" type="usb" managed="yes">
  207. <source>
  208. <vendor id="0x1532"/>
  209. <product id="0x00a6"/>
  210. </source>
  211. <address type="usb" bus="0" port="4"/>
  212. </hostdev>
  213. <hostdev mode="subsystem" type="pci" managed="yes">
  214. <source>
  215. <address domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  216. </source>
  217. <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  218. </hostdev>
  219. <hostdev mode="subsystem" type="pci" managed="yes">
  220. <source>
  221. <address domain="0x0000" bus="0x03" slot="0x00" function="0x1"/>
  222. </source>
  223. <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  224. </hostdev>
  225. <hostdev mode="subsystem" type="pci" managed="yes">
  226. <source>
  227. <address domain="0x0000" bus="0x12" slot="0x00" function="0x6"/>
  228. </source>
  229. <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
  230. </hostdev>
  231. <hostdev mode="subsystem" type="pci" managed="yes">
  232. <source>
  233. <address domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
  234. </source>
  235. <address type="pci" domain="0x0000" bus="0x0e" slot="0x00" function="0x0"/>
  236. </hostdev>
  237. <redirdev bus="usb" type="spicevmc">
  238. <address type="usb" bus="0" port="2"/>
  239. </redirdev>
  240. <redirdev bus="usb" type="spicevmc">
  241. <address type="usb" bus="0" port="3"/>
  242. </redirdev>
  243. <memballoon model="virtio">
  244. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  245. </memballoon>
  246. </devices>
  247. </domain>
  248.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement