Advertisement
Guest User

Untitled

a guest
Jun 29th, 2025
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.41 KB | None | 0 0
  1. <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  2. <name>win10</name>
  3. <uuid>1b037b89-1031-4275-a0d7-ceb146198787</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">33554432</memory>
  10. <currentMemory unit="KiB">33554432</currentMemory>
  11. <memoryBacking>
  12. <source type="memfd"/>
  13. <access mode="shared"/>
  14. </memoryBacking>
  15. <vcpu placement="static">10</vcpu>
  16. <sysinfo type="smbios">
  17. <bios>
  18. <entry name="vendor">American Megatrends Inc.</entry>
  19. <entry name="version">A.40</entry>
  20. <entry name="date">09/10/2019</entry>
  21. </bios>
  22. <system>
  23. <entry name="manufacturer">Micro-Star International Co., Ltd.</entry>
  24. <entry name="product">MS-7C37</entry>
  25. <entry name="version">2.0</entry>
  26. <entry name="serial">ASD87N2918</entry>
  27. <entry name="uuid">1b037b89-1031-4275-a0d7-ceb146198787</entry>
  28. <entry name="sku">S897H2</entry>
  29. <entry name="family">MSI Gaming</entry>
  30. </system>
  31. </sysinfo>
  32. <os firmware="efi">
  33. <type arch="x86_64" machine="pc-q35-8.2">hvm</type>
  34. <firmware>
  35. <feature enabled="no" name="enrolled-keys"/>
  36. <feature enabled="no" name="secure-boot"/>
  37. </firmware>
  38. <loader readonly="yes" type="pflash">/usr/share/OVMF/OVMF_CODE_4M.fd</loader>
  39. <nvram template="/usr/share/OVMF/OVMF_VARS_4M.fd">/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  40. <bootmenu enable="yes"/>
  41. <smbios mode="host"/>
  42. </os>
  43. <features>
  44. <acpi/>
  45. <apic/>
  46. <hyperv mode="custom">
  47. <relaxed state="on"/>
  48. <vapic state="on"/>
  49. <spinlocks state="on" retries="8191"/>
  50. <vendor_id state="on" value="GIWDJ23"/>
  51. </hyperv>
  52. <kvm>
  53. <hidden state="on"/>
  54. </kvm>
  55. <vmport state="off"/>
  56. <smm state="on"/>
  57. <ioapic driver="kvm"/>
  58. </features>
  59. <cpu mode="host-passthrough" check="none" migratable="on">
  60. <topology sockets="1" dies="1" cores="5" threads="2"/>
  61. <cache level="3" mode="emulate"/>
  62. <feature policy="disable" name="hypervisor"/>
  63. </cpu>
  64. <clock offset="localtime">
  65. <timer name="rtc" tickpolicy="catchup"/>
  66. <timer name="pit" tickpolicy="discard"/>
  67. <timer name="hpet" present="no"/>
  68. <timer name="hypervclock" present="yes"/>
  69. </clock>
  70. <on_poweroff>destroy</on_poweroff>
  71. <on_reboot>restart</on_reboot>
  72. <on_crash>destroy</on_crash>
  73. <pm>
  74. <suspend-to-mem enabled="no"/>
  75. <suspend-to-disk enabled="no"/>
  76. </pm>
  77. <devices>
  78. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  79. <disk type="file" device="disk">
  80. <driver name="qemu" type="qcow2" discard="unmap"/>
  81. <source file="/var/lib/libvirt/images/win10.qcow2"/>
  82. <target dev="sda" bus="sata"/>
  83. <boot order="1"/>
  84. <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  85. </disk>
  86. <disk type="file" device="cdrom">
  87. <driver name="qemu" type="raw"/>
  88. <source file="/home/p1000/Downloads/virtio-win.iso"/>
  89. <target dev="sdb" bus="sata"/>
  90. <readonly/>
  91. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  92. </disk>
  93. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  94. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  95. </controller>
  96. <controller type="pci" index="0" model="pcie-root"/>
  97. <controller type="pci" index="1" model="pcie-root-port">
  98. <model name="pcie-root-port"/>
  99. <target chassis="1" port="0x10"/>
  100. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  101. </controller>
  102. <controller type="pci" index="2" model="pcie-root-port">
  103. <model name="pcie-root-port"/>
  104. <target chassis="2" port="0x11"/>
  105. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  106. </controller>
  107. <controller type="pci" index="3" model="pcie-root-port">
  108. <model name="pcie-root-port"/>
  109. <target chassis="3" port="0x12"/>
  110. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  111. </controller>
  112. <controller type="pci" index="4" model="pcie-root-port">
  113. <model name="pcie-root-port"/>
  114. <target chassis="4" port="0x13"/>
  115. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  116. </controller>
  117. <controller type="pci" index="5" model="pcie-root-port">
  118. <model name="pcie-root-port"/>
  119. <target chassis="5" port="0x14"/>
  120. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  121. </controller>
  122. <controller type="pci" index="6" model="pcie-root-port">
  123. <model name="pcie-root-port"/>
  124. <target chassis="6" port="0x15"/>
  125. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  126. </controller>
  127. <controller type="pci" index="7" model="pcie-root-port">
  128. <model name="pcie-root-port"/>
  129. <target chassis="7" port="0x16"/>
  130. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  131. </controller>
  132. <controller type="pci" index="8" model="pcie-root-port">
  133. <model name="pcie-root-port"/>
  134. <target chassis="8" port="0x17"/>
  135. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  136. </controller>
  137. <controller type="pci" index="9" model="pcie-root-port">
  138. <model name="pcie-root-port"/>
  139. <target chassis="9" port="0x18"/>
  140. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
  141. </controller>
  142. <controller type="pci" index="10" model="pcie-root-port">
  143. <model name="pcie-root-port"/>
  144. <target chassis="10" port="0x19"/>
  145. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
  146. </controller>
  147. <controller type="pci" index="11" model="pcie-root-port">
  148. <model name="pcie-root-port"/>
  149. <target chassis="11" port="0x1a"/>
  150. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  151. </controller>
  152. <controller type="pci" index="12" model="pcie-root-port">
  153. <model name="pcie-root-port"/>
  154. <target chassis="12" port="0x1b"/>
  155. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
  156. </controller>
  157. <controller type="pci" index="13" model="pcie-root-port">
  158. <model name="pcie-root-port"/>
  159. <target chassis="13" port="0x1c"/>
  160. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
  161. </controller>
  162. <controller type="pci" index="14" model="pcie-root-port">
  163. <model name="pcie-root-port"/>
  164. <target chassis="14" port="0x1d"/>
  165. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
  166. </controller>
  167. <controller type="sata" index="0">
  168. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  169. </controller>
  170. <controller type="virtio-serial" index="0">
  171. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  172. </controller>
  173. <interface type="direct">
  174. <mac address="52:54:00:75:53:f1"/>
  175. <source dev="eno1" mode="bridge"/>
  176. <model type="e1000e"/>
  177. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  178. </interface>
  179. <serial type="pty">
  180. <target type="isa-serial" port="0">
  181. <model name="isa-serial"/>
  182. </target>
  183. </serial>
  184. <console type="pty">
  185. <target type="serial" port="0"/>
  186. </console>
  187. <channel type="spicevmc">
  188. <target type="virtio" name="com.redhat.spice.0"/>
  189. <address type="virtio-serial" controller="0" bus="0" port="1"/>
  190. </channel>
  191. <input type="tablet" bus="usb">
  192. <address type="usb" bus="0" port="1"/>
  193. </input>
  194. <input type="mouse" bus="ps2"/>
  195. <input type="keyboard" bus="ps2"/>
  196. <graphics type="spice" autoport="yes">
  197. <listen type="address"/>
  198. <image compression="off"/>
  199. </graphics>
  200. <sound model="ich9">
  201. <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  202. </sound>
  203. <audio id="1" type="spice"/>
  204. <video>
  205. <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
  206. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  207. </video>
  208. <hostdev mode="subsystem" type="pci" managed="yes">
  209. <source>
  210. <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  211. </source>
  212. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  213. </hostdev>
  214. <hostdev mode="subsystem" type="pci" managed="yes">
  215. <source>
  216. <address domain="0x0000" bus="0x01" slot="0x00" function="0x1"/>
  217. </source>
  218. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  219. </hostdev>
  220. <redirdev bus="usb" type="spicevmc">
  221. <address type="usb" bus="0" port="2"/>
  222. </redirdev>
  223. <redirdev bus="usb" type="spicevmc">
  224. <address type="usb" bus="0" port="3"/>
  225. </redirdev>
  226. <watchdog model="itco" action="reset"/>
  227. <memballoon model="virtio">
  228. <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  229. </memballoon>
  230. </devices>
  231. <qemu:commandline>
  232. <qemu:arg value="-cpu"/>
  233. <qemu:arg value="host,rdtscp=off,hv_time,kvm=off,hv_vendor_id=null,-hypervisor"/>
  234. <qemu:arg value="-smbios"/>
  235. <qemu:arg value="type=0,version=UG305UA.511"/>
  236. <qemu:arg value="-smbios"/>
  237. <qemu:arg value="type=1,manufacturer=ASUS,product=UA305UA,version=2023.6"/>
  238. <qemu:arg value="-smbios"/>
  239. <qemu:arg value="type=2,manufacturer=Intel,version=2017.9,product=Intel i7-8700K"/>
  240. <qemu:arg value="-smbios"/>
  241. <qemu:arg value="type=3,manufacturer=XBYJ"/>
  242. <qemu:arg value="-smbios"/>
  243. <qemu:arg value="type=17,manufacturer=CRUCIAL,loc_pfx=DDR4,speed=3600,serial=000000,part=0000"/>
  244. <qemu:arg value="-smbios"/>
  245. <qemu:arg value="type=4,manufacturer=Intel,max-speed=3600,current-speed=3600"/>
  246. <qemu:arg value="-cpu"/>
  247. <qemu:arg value="host,family=6,model=158,stepping=2,model_id=Intel(R) Core(TM) i7-8700K CPU @ 3.7GHz,vmware-cpuid-freq=false,enforce=false,host-phys-bits=true,hypervisor=off"/>
  248. <qemu:arg value="-machine"/>
  249. <qemu:arg value="q35,kernel_irqchip=on"/>
  250. </qemu:commandline>
  251. </domain>
  252.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement