Advertisement
Guest User

Untitled

a guest
May 3rd, 2025
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.19 KB | None | 0 0
  1. <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  2. <name>win10</name>
  3. <uuid>ac071c2d-006a-4d4c-8991-bde85a80a91b</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. <vmware xmlns="http://www.vmware.com/schema/vmware.config">
  9. <config>
  10. <entry name="hypervisor.cpuid.v0" value="FALSE"/>
  11. </config>
  12. </vmware>
  13. </metadata>
  14. <memory unit="KiB">12582912</memory>
  15. <currentMemory unit="KiB">12582912</currentMemory>
  16. <vcpu placement="static">4</vcpu>
  17. <os firmware="efi">
  18. <type arch="x86_64" machine="pc-q35-9.1">hvm</type>
  19. <firmware>
  20. <feature enabled="yes" name="enrolled-keys"/>
  21. <feature enabled="yes" name="secure-boot"/>
  22. </firmware>
  23. <loader readonly="yes" secure="yes" type="pflash" format="qcow2">/usr/share/edk2/ovmf/OVMF_CODE_4M.secboot.qcow2</loader>
  24. <nvram template="/usr/share/edk2/ovmf/OVMF_VARS_4M.secboot.qcow2" format="qcow2">/var/lib/libvirt/qemu/nvram/win10_VARS.qcow2</nvram>
  25. </os>
  26. <features>
  27. <acpi/>
  28. <apic/>
  29. <hyperv mode="passthrough">
  30. <relaxed state="on"/>
  31. <vapic state="on"/>
  32. <spinlocks state="on" retries="8191"/>
  33. <vpindex state="on"/>
  34. <synic state="on"/>
  35. <stimer state="on">
  36. <direct state="on"/>
  37. </stimer>
  38. <reset state="on"/>
  39. <vendor_id state="on" value="GenuineIntel"/>
  40. <frequencies state="on"/>
  41. <reenlightenment state="off"/>
  42. <tlbflush state="on"/>
  43. <ipi state="on"/>
  44. <evmcs state="off"/>
  45. <avic state="on"/>
  46. </hyperv>
  47. <kvm>
  48. <hidden state="on"/>
  49. </kvm>
  50. <vmport state="off"/>
  51. <smm state="on"/>
  52. <ioapic driver="kvm"/>
  53. </features>
  54. <cpu mode="host-passthrough" check="none" migratable="off">
  55. <topology sockets="1" dies="1" clusters="1" cores="4" threads="1"/>
  56. <cache mode="passthrough"/>
  57. <feature policy="require" name="hypervisor"/>
  58. <feature policy="disable" name="vmx"/>
  59. <feature policy="disable" name="svm"/>
  60. <feature policy="disable" name="aes"/>
  61. <feature policy="disable" name="x2apic"/>
  62. <feature policy="require" name="ibpb"/>
  63. <feature policy="require" name="invtsc"/>
  64. <feature policy="require" name="pdpe1gb"/>
  65. <feature policy="require" name="ssbd"/>
  66. <feature policy="require" name="amd-ssbd"/>
  67. <feature policy="require" name="stibp"/>
  68. <feature policy="require" name="amd-stibp"/>
  69. <feature policy="require" name="tsc-deadline"/>
  70. <feature policy="require" name="tsc_adjust"/>
  71. <feature policy="require" name="arch-capabilities"/>
  72. <feature policy="require" name="rdctl-no"/>
  73. <feature policy="require" name="skip-l1dfl-vmentry"/>
  74. <feature policy="require" name="mds-no"/>
  75. <feature policy="require" name="pschange-mc-no"/>
  76. <feature policy="require" name="cmp_legacy"/>
  77. <feature policy="require" name="xsaves"/>
  78. <feature policy="require" name="perfctr_core"/>
  79. <feature policy="require" name="clzero"/>
  80. <feature policy="require" name="xsaveerptr"/>
  81. </cpu>
  82. <clock offset="timezone" timezone="Europe/London">
  83. <timer name="rtc" present="no" tickpolicy="catchup"/>
  84. <timer name="pit" tickpolicy="discard"/>
  85. <timer name="hpet" present="no"/>
  86. <timer name="kvmclock" present="no"/>
  87. <timer name="hypervclock" present="yes"/>
  88. <timer name="tsc" present="yes" mode="native"/>
  89. </clock>
  90. <on_poweroff>destroy</on_poweroff>
  91. <on_reboot>restart</on_reboot>
  92. <on_crash>destroy</on_crash>
  93. <pm>
  94. <suspend-to-mem enabled="no"/>
  95. <suspend-to-disk enabled="no"/>
  96. </pm>
  97. <devices>
  98. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  99. <disk type="file" device="cdrom">
  100. <driver name="qemu" type="raw"/>
  101. <source file="/home/dot/Downloads/Win10_2004_English_x64.iso"/>
  102. <target dev="sda" bus="sata"/>
  103. <readonly/>
  104. <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  105. </disk>
  106. <disk type="file" device="cdrom">
  107. <driver name="qemu" type="raw"/>
  108. <source file="/home/dot/Downloads/virtio-win-0.1.271.iso"/>
  109. <target dev="sdb" bus="sata"/>
  110. <readonly/>
  111. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  112. </disk>
  113. <disk type="file" device="disk">
  114. <driver name="qemu" type="qcow2" discard="unmap"/>
  115. <source file="/var/lib/libvirt/images/win10.qcow2"/>
  116. <target dev="vda" bus="virtio"/>
  117. <serial>B4NN3D53R14L</serial>
  118. <boot order="1"/>
  119. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  120. </disk>
  121. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  122. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  123. </controller>
  124. <controller type="pci" index="0" model="pcie-root"/>
  125. <controller type="pci" index="1" model="pcie-root-port">
  126. <model name="pcie-root-port"/>
  127. <target chassis="1" port="0x10"/>
  128. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  129. </controller>
  130. <controller type="pci" index="2" model="pcie-root-port">
  131. <model name="pcie-root-port"/>
  132. <target chassis="2" port="0x11"/>
  133. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  134. </controller>
  135. <controller type="pci" index="3" model="pcie-root-port">
  136. <model name="pcie-root-port"/>
  137. <target chassis="3" port="0x12"/>
  138. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  139. </controller>
  140. <controller type="pci" index="4" model="pcie-root-port">
  141. <model name="pcie-root-port"/>
  142. <target chassis="4" port="0x13"/>
  143. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  144. </controller>
  145. <controller type="pci" index="5" model="pcie-root-port">
  146. <model name="pcie-root-port"/>
  147. <target chassis="5" port="0x14"/>
  148. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  149. </controller>
  150. <controller type="pci" index="6" model="pcie-root-port">
  151. <model name="pcie-root-port"/>
  152. <target chassis="6" port="0x15"/>
  153. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  154. </controller>
  155. <controller type="pci" index="7" model="pcie-root-port">
  156. <model name="pcie-root-port"/>
  157. <target chassis="7" port="0x16"/>
  158. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  159. </controller>
  160. <controller type="pci" index="8" model="pcie-root-port">
  161. <model name="pcie-root-port"/>
  162. <target chassis="8" port="0x17"/>
  163. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  164. </controller>
  165. <controller type="pci" index="9" model="pcie-root-port">
  166. <model name="pcie-root-port"/>
  167. <target chassis="9" port="0x18"/>
  168. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
  169. </controller>
  170. <controller type="pci" index="10" model="pcie-root-port">
  171. <model name="pcie-root-port"/>
  172. <target chassis="10" port="0x19"/>
  173. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
  174. </controller>
  175. <controller type="pci" index="11" model="pcie-root-port">
  176. <model name="pcie-root-port"/>
  177. <target chassis="11" port="0x1a"/>
  178. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  179. </controller>
  180. <controller type="pci" index="12" model="pcie-root-port">
  181. <model name="pcie-root-port"/>
  182. <target chassis="12" port="0x1b"/>
  183. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
  184. </controller>
  185. <controller type="pci" index="13" model="pcie-root-port">
  186. <model name="pcie-root-port"/>
  187. <target chassis="13" port="0x1c"/>
  188. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
  189. </controller>
  190. <controller type="pci" index="14" model="pcie-root-port">
  191. <model name="pcie-root-port"/>
  192. <target chassis="14" port="0x1d"/>
  193. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
  194. </controller>
  195. <controller type="sata" index="0">
  196. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  197. </controller>
  198. <controller type="virtio-serial" index="0">
  199. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  200. </controller>
  201. <interface type="network">
  202. <mac address="52:54:00:c4:e5:0c"/>
  203. <source network="default"/>
  204. <model type="e1000e"/>
  205. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  206. </interface>
  207. <serial type="pty">
  208. <target type="isa-serial" port="0">
  209. <model name="isa-serial"/>
  210. </target>
  211. </serial>
  212. <console type="pty">
  213. <target type="serial" port="0"/>
  214. </console>
  215. <channel type="spicevmc">
  216. <target type="virtio" name="com.redhat.spice.0"/>
  217. <address type="virtio-serial" controller="0" bus="0" port="1"/>
  218. </channel>
  219. <input type="tablet" bus="usb">
  220. <address type="usb" bus="0" port="1"/>
  221. </input>
  222. <input type="mouse" bus="ps2"/>
  223. <input type="keyboard" bus="ps2"/>
  224. <graphics type="spice" port="5900" autoport="no">
  225. <listen type="address"/>
  226. <image compression="off"/>
  227. </graphics>
  228. <graphics type="vnc" port="5901" autoport="no" listen="0.0.0.0">
  229. <listen type="address" address="0.0.0.0"/>
  230. </graphics>
  231. <sound model="ich9">
  232. <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  233. </sound>
  234. <audio id="1" type="spice"/>
  235. <video>
  236. <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
  237. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  238. </video>
  239. <watchdog model="itco" action="reset"/>
  240. <memballoon model="virtio">
  241. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  242. </memballoon>
  243. </devices>
  244. <qemu:commandline>
  245. <qemu:arg value="-smbios"/>
  246. <qemu:arg value="type=0,vendor=American Megatrends,version=P2.60,date=03/11/2021,release=5.17"/>
  247. <qemu:arg value="-smbios"/>
  248. <qemu:arg value="type=1,manufacturer=Micro-Star,product=MS-7D22,version=1.0,serial=DefaultString"/>
  249. <qemu:arg value="-smbios"/>
  250. <qemu:arg value="type=2,manufacturer=Micro-Star,product=B450M/ac R2.0,version=1.0,serial=242972346"/>
  251. <qemu:arg value="-smbios"/>
  252. <qemu:arg value="type=3,manufacturer=DefaultString,version=1.0,serial=DefaultString"/>
  253. <qemu:arg value="-smbios"/>
  254. <qemu:arg value="type=4,manufacturer=AMD,version=Ryzen 5 3600 6-Core Processor,max-speed=4200,current-speed=3600"/>
  255. <qemu:arg value="-smbios"/>
  256. <qemu:arg value="type=17,manufacturer=Kingston,loc_pfx=P0 CHANNEL A,part=KHX2666C16D4/16GX,speed=2667,serial=E1944C36"/>
  257. <qemu:arg value="-smbios"/>
  258. <qemu:arg value="type=17,manufacturer=Crucial,loc_pfx=P0 CHANNEL B,part=BL8G30C15U4R.M8FE,speed=2667,serial=E3A32886"/>
  259. </qemu:commandline>
  260. </domain>
  261.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement