Guest User

Untitled

a guest
Feb 22nd, 2024
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.73 KB | None | 0 0
  1. <domain type="kvm">
  2. <name>win10</name>
  3. <uuid>9b853a0d-bdd0-4e59-9fe8-582bfe6695e9</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">12</vcpu>
  12. <os firmware="efi">
  13. <type arch="x86_64" machine="pc-q35-8.1">hvm</type>
  14. <firmware>
  15. <feature enabled="yes" name="enrolled-keys"/>
  16. <feature enabled="yes" name="secure-boot"/>
  17. </firmware>
  18. <loader readonly="yes" secure="yes" type="pflash">/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd</loader>
  19. <nvram template="/usr/share/edk2/ovmf/OVMF_VARS.secboot.fd">/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  20. <bootmenu enable="yes"/>
  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. <synic state="on"/>
  31. <stimer state="on">
  32. <direct state="on"/>
  33. </stimer>
  34. <reset state="on"/>
  35. <frequencies state="on"/>
  36. <reenlightenment state="on"/>
  37. <tlbflush state="on"/>
  38. <ipi state="on"/>
  39. </hyperv>
  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="6" threads="2"/>
  45. </cpu>
  46. <clock offset="localtime">
  47. <timer name="rtc" present="no" tickpolicy="catchup"/>
  48. <timer name="pit" present="no" tickpolicy="delay"/>
  49. <timer name="hpet" present="no"/>
  50. <timer name="kvmclock" 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="disk">
  63. <driver name="qemu" type="qcow2" discard="unmap"/>
  64. <source file="/var/lib/libvirt/images/win10.qcow2"/>
  65. <target dev="vda" bus="virtio"/>
  66. <boot order="1"/>
  67. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  68. </disk>
  69. <disk type="file" device="cdrom">
  70. <driver name="qemu" type="raw"/>
  71. <source file="/home/youssef/Downloads/Win10_22H2_English_x64v1(1).iso"/>
  72. <target dev="sdb" bus="sata"/>
  73. <readonly/>
  74. <boot order="2"/>
  75. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  76. </disk>
  77. <disk type="file" device="cdrom">
  78. <driver name="qemu" type="raw"/>
  79. <source file="/home/youssef/Downloads/virtio-win-0.1.240.iso"/>
  80. <target dev="sdc" bus="sata"/>
  81. <readonly/>
  82. <boot order="3"/>
  83. <address type="drive" controller="0" bus="0" target="0" unit="2"/>
  84. </disk>
  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. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  163. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  164. </controller>
  165. <interface type="network">
  166. <mac address="52:54:00:94:2d:52"/>
  167. <source network="default"/>
  168. <model type="e1000e"/>
  169. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  170. </interface>
  171. <serial type="pty">
  172. <target type="isa-serial" port="0">
  173. <model name="isa-serial"/>
  174. </target>
  175. </serial>
  176. <console type="pty">
  177. <target type="serial" port="0"/>
  178. </console>
  179. <channel type="spicevmc">
  180. <target type="virtio" name="com.redhat.spice.0"/>
  181. <address type="virtio-serial" controller="0" bus="0" port="1"/>
  182. </channel>
  183. <input type="tablet" bus="usb">
  184. <address type="usb" bus="0" port="1"/>
  185. </input>
  186. <input type="mouse" bus="ps2"/>
  187. <input type="keyboard" bus="ps2"/>
  188. <graphics type="spice" autoport="yes">
  189. <listen type="address"/>
  190. <image compression="off"/>
  191. </graphics>
  192. <sound model="ich9">
  193. <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  194. </sound>
  195. <audio id="1" type="spice"/>
  196. <video>
  197. <model type="virtio" heads="1" primary="yes"/>
  198. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  199. </video>
  200. <hostdev mode="subsystem" type="usb" managed="yes">
  201. <source>
  202. <vendor id="0x1235"/>
  203. <product id="0x8202"/>
  204. </source>
  205. <address type="usb" bus="0" port="4"/>
  206. </hostdev>
  207. <redirdev bus="usb" type="spicevmc">
  208. <address type="usb" bus="0" port="2"/>
  209. </redirdev>
  210. <redirdev bus="usb" type="spicevmc">
  211. <address type="usb" bus="0" port="3"/>
  212. </redirdev>
  213. <watchdog model="itco" action="reset"/>
  214. <memballoon model="virtio">
  215. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  216. </memballoon>
  217. </devices>
  218. </domain>
  219.  
Advertisement
Add Comment
Please, Sign In to add comment