Advertisement
Guest User

Untitled

a guest
Dec 1st, 2022
611
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.67 KB | Software | 0 0
  1. <domain type="kvm">
  2. <name>win10</name>
  3. <uuid>cb72129b-6b37-47ac-962a-ec9e6da26e5a</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">16777216</memory>
  10. <currentMemory unit="KiB">16777216</currentMemory>
  11. <vcpu placement="static">8</vcpu>
  12. <os>
  13. <type arch="x86_64" machine="pc-q35-7.1">hvm</type>
  14. <loader readonly="yes" type="pflash">/usr/share/edk2-ovmf/x64/OVMF_CODE.fd</loader>
  15. <nvram>/var/lib/libvirt/qemu/nvram/win10d_VARS.fd</nvram>
  16. <bootmenu enable="yes"/>
  17. </os>
  18. <features>
  19. <acpi/>
  20. <apic/>
  21. <hyperv mode="custom">
  22. <relaxed state="on"/>
  23. <vapic state="on"/>
  24. <spinlocks state="on" retries="8191"/>
  25. <vendor_id state="on" value="123456789123"/>
  26. </hyperv>
  27. <kvm>
  28. <hidden state="on"/>
  29. </kvm>
  30. <vmport state="off"/>
  31. <ioapic driver="kvm"/>
  32. </features>
  33. <cpu mode="host-passthrough" check="none" migratable="on">
  34. <topology sockets="1" dies="1" cores="4" threads="2"/>
  35. </cpu>
  36. <clock offset="localtime">
  37. <timer name="rtc" tickpolicy="catchup"/>
  38. <timer name="pit" tickpolicy="delay"/>
  39. <timer name="hpet" present="no"/>
  40. <timer name="hypervclock" present="yes"/>
  41. </clock>
  42. <on_poweroff>destroy</on_poweroff>
  43. <on_reboot>restart</on_reboot>
  44. <on_crash>destroy</on_crash>
  45. <pm>
  46. <suspend-to-mem enabled="no"/>
  47. <suspend-to-disk enabled="no"/>
  48. </pm>
  49. <devices>
  50. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  51. <disk type="file" device="disk">
  52. <driver name="qemu" type="raw" cache="writeback"/>
  53. <source file="/var/lib/libvirt/images/win10.img"/>
  54. <target dev="vda" bus="virtio"/>
  55. <boot order="1"/>
  56. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  57. </disk>
  58. <disk type="file" device="cdrom">
  59. <driver name="qemu" type="raw"/>
  60. <source file="/home/XXXXX/vfio/iGPUpassthrough/Win10_22H2_English_x64.iso"/>
  61. <target dev="sdb" bus="sata"/>
  62. <readonly/>
  63. <boot order="2"/>
  64. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  65. </disk>
  66. <disk type="file" device="cdrom">
  67. <driver name="qemu" type="raw"/>
  68. <source file="/home/XXXXX/vfio/old_GPUpassthrough/Win/virtio-win-0.1.215.iso"/>
  69. <target dev="sdc" bus="sata"/>
  70. <readonly/>
  71. <boot order="3"/>
  72. <address type="drive" controller="0" bus="0" target="0" unit="2"/>
  73. </disk>
  74. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  75. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  76. </controller>
  77. <controller type="pci" index="0" model="pcie-root"/>
  78. <controller type="pci" index="1" model="pcie-root-port">
  79. <model name="pcie-root-port"/>
  80. <target chassis="1" port="0x10"/>
  81. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  82. </controller>
  83. <controller type="pci" index="2" model="pcie-root-port">
  84. <model name="pcie-root-port"/>
  85. <target chassis="2" port="0x11"/>
  86. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  87. </controller>
  88. <controller type="pci" index="3" model="pcie-root-port">
  89. <model name="pcie-root-port"/>
  90. <target chassis="3" port="0x12"/>
  91. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  92. </controller>
  93. <controller type="pci" index="4" model="pcie-root-port">
  94. <model name="pcie-root-port"/>
  95. <target chassis="4" port="0x13"/>
  96. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  97. </controller>
  98. <controller type="pci" index="5" model="pcie-root-port">
  99. <model name="pcie-root-port"/>
  100. <target chassis="5" port="0x14"/>
  101. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  102. </controller>
  103. <controller type="pci" index="6" model="pcie-root-port">
  104. <model name="pcie-root-port"/>
  105. <target chassis="6" port="0x15"/>
  106. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  107. </controller>
  108. <controller type="pci" index="7" model="pcie-root-port">
  109. <model name="pcie-root-port"/>
  110. <target chassis="7" port="0x16"/>
  111. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  112. </controller>
  113. <controller type="pci" index="8" model="pcie-root-port">
  114. <model name="pcie-root-port"/>
  115. <target chassis="8" port="0x17"/>
  116. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  117. </controller>
  118. <controller type="pci" index="9" model="pcie-root-port">
  119. <model name="pcie-root-port"/>
  120. <target chassis="9" port="0x18"/>
  121. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
  122. </controller>
  123. <controller type="pci" index="10" model="pcie-root-port">
  124. <model name="pcie-root-port"/>
  125. <target chassis="10" port="0x19"/>
  126. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
  127. </controller>
  128. <controller type="pci" index="11" model="pcie-root-port">
  129. <model name="pcie-root-port"/>
  130. <target chassis="11" port="0x1a"/>
  131. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  132. </controller>
  133. <controller type="pci" index="12" model="pcie-root-port">
  134. <model name="pcie-root-port"/>
  135. <target chassis="12" port="0x1b"/>
  136. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
  137. </controller>
  138. <controller type="pci" index="13" model="pcie-root-port">
  139. <model name="pcie-root-port"/>
  140. <target chassis="13" port="0x1c"/>
  141. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
  142. </controller>
  143. <controller type="pci" index="14" model="pcie-root-port">
  144. <model name="pcie-root-port"/>
  145. <target chassis="14" port="0x1d"/>
  146. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
  147. </controller>
  148. <controller type="sata" index="0">
  149. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  150. </controller>
  151. <controller type="virtio-serial" index="0">
  152. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  153. </controller>
  154. <interface type="network">
  155. <mac address="52:54:00:3b:69:32"/>
  156. <source network="default"/>
  157. <model type="virtio"/>
  158. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  159. </interface>
  160. <serial type="pty">
  161. <target type="isa-serial" port="0">
  162. <model name="isa-serial"/>
  163. </target>
  164. </serial>
  165. <console type="pty">
  166. <target type="serial" port="0"/>
  167. </console>
  168. <channel type="spicevmc">
  169. <target type="virtio" name="com.redhat.spice.0"/>
  170. <address type="virtio-serial" controller="0" bus="0" port="1"/>
  171. </channel>
  172. <input type="mouse" bus="ps2"/>
  173. <input type="keyboard" bus="ps2"/>
  174. <graphics type="spice" autoport="yes">
  175. <listen type="address"/>
  176. <image compression="off"/>
  177. </graphics>
  178. <sound model="ich9">
  179. <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  180. </sound>
  181. <audio id="1" type="spice"/>
  182. <video>
  183. <model type="none"/>
  184. </video>
  185. <hostdev mode="subsystem" type="pci" managed="yes">
  186. <source>
  187. <address domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  188. </source>
  189. <rom bar="on" file="/usr/share/vgabios/6700xt.rom"/>
  190. <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0" multifunction="on"/>
  191. </hostdev>
  192. <hostdev mode="subsystem" type="pci" managed="yes">
  193. <source>
  194. <address domain="0x0000" bus="0x03" slot="0x00" function="0x1"/>
  195. </source>
  196. <rom bar="on"/>
  197. <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x1"/>
  198. </hostdev>
  199. <hostdev mode="subsystem" type="usb" managed="yes">
  200. <source>
  201. <vendor id="0x046d"/>
  202. <product id="0xc53f"/>
  203. </source>
  204. <address type="usb" bus="0" port="4"/>
  205. </hostdev>
  206. <redirdev bus="usb" type="spicevmc">
  207. <address type="usb" bus="0" port="1"/>
  208. </redirdev>
  209. <redirdev bus="usb" type="spicevmc">
  210. <address type="usb" bus="0" port="2"/>
  211. </redirdev>
  212. <memballoon model="virtio">
  213. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  214. </memballoon>
  215. </devices>
  216. </domain>
  217.  
  218.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement