Advertisement
Bungeetaco

Libvirt W10

Nov 27th, 2020
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.77 KB | None | 0 0
  1. <domain type="kvm">
  2. <name>win10</name>
  3. <uuid>725484dd-bc97-4b7d-8ac8-e4258a004278</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">20971520</memory>
  10. <currentMemory unit="KiB">20971520</currentMemory>
  11. <memoryBacking>
  12. <nosharepages/>
  13. <locked/>
  14. </memoryBacking>
  15. <vcpu placement="static">12</vcpu>
  16. <iothreads>2</iothreads>
  17. <cputune>
  18. <vcpupin vcpu="0" cpuset="4"/>
  19. <vcpupin vcpu="1" cpuset="5"/>
  20. <vcpupin vcpu="2" cpuset="6"/>
  21. <vcpupin vcpu="3" cpuset="7"/>
  22. <vcpupin vcpu="4" cpuset="8"/>
  23. <vcpupin vcpu="5" cpuset="9"/>
  24. <vcpupin vcpu="6" cpuset="10"/>
  25. <vcpupin vcpu="7" cpuset="11"/>
  26. <vcpupin vcpu="8" cpuset="12"/>
  27. <vcpupin vcpu="9" cpuset="13"/>
  28. <vcpupin vcpu="10" cpuset="14"/>
  29. <vcpupin vcpu="11" cpuset="15"/>
  30. <emulatorpin cpuset="0-1"/>
  31. <iothreadpin iothread="1" cpuset="0-1"/>
  32. <iothreadpin iothread="2" cpuset="2-3"/>
  33. </cputune>
  34. <os>
  35. <type arch="x86_64" machine="pc-q35-5.1">hvm</type>
  36. <loader readonly="yes" type="pflash">/usr/share/ovmf/ovmf_code_x64.bin</loader>
  37. <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  38. </os>
  39. <features>
  40. <acpi/>
  41. <apic/>
  42. <hyperv>
  43. <relaxed state="on"/>
  44. <vapic state="on"/>
  45. <spinlocks state="on" retries="8191"/>
  46. <vpindex state="on"/>
  47. <reset state="on"/>
  48. <vendor_id state="on" value="ABCDEF1337AB"/>
  49. <frequencies state="on"/>
  50. </hyperv>
  51. <kvm>
  52. <hidden state="on"/>
  53. </kvm>
  54. <vmport state="off"/>
  55. <ioapic driver="kvm"/>
  56. </features>
  57. <cpu mode="host-passthrough" check="none" migratable="off">
  58. <topology sockets="1" dies="1" cores="6" threads="2"/>
  59. <cache mode="passthrough"/>
  60. <feature policy="require" name="topoext"/>
  61. <feature policy="require" name="svm"/>
  62. <feature policy="require" name="apic"/>
  63. <feature policy="require" name="hypervisor"/>
  64. <feature policy="require" name="invtsc"/>
  65. </cpu>
  66. <clock offset="localtime">
  67. <timer name="rtc" tickpolicy="catchup"/>
  68. <timer name="pit" tickpolicy="delay"/>
  69. <timer name="hpet" present="no"/>
  70. <timer name="kvmclock" present="no"/>
  71. <timer name="hypervclock" present="yes"/>
  72. <timer name="tsc" present="yes" mode="native"/>
  73. </clock>
  74. <on_poweroff>destroy</on_poweroff>
  75. <on_reboot>restart</on_reboot>
  76. <on_crash>destroy</on_crash>
  77. <pm>
  78. <suspend-to-mem enabled="no"/>
  79. <suspend-to-disk enabled="no"/>
  80. </pm>
  81. <devices>
  82. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  83. <disk type="file" device="disk">
  84. <driver name="qemu" type="qcow2" cache="none" io="native" discard="ignore" detect_zeroes="off"/>
  85. <source file="/var/lib/libvirt/images/win10.qcow2"/>
  86. <target dev="vda" bus="virtio"/>
  87. <serial>S3D2NX0HA23192H</serial>
  88. <boot order="1"/>
  89. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  90. </disk>
  91. <disk type="file" device="disk">
  92. <driver name="qemu" type="qcow2"/>
  93. <source file="/media/data/qemu/win10-data.qcow2"/>
  94. <target dev="vdb" bus="virtio"/>
  95. <address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/>
  96. </disk>
  97. <disk type="file" device="cdrom">
  98. <driver name="qemu" type="raw"/>
  99. <target dev="sdb" bus="sata"/>
  100. <readonly/>
  101. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  102. </disk>
  103. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  104. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  105. </controller>
  106. <controller type="sata" index="0">
  107. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  108. </controller>
  109. <controller type="pci" index="0" model="pcie-root"/>
  110. <controller type="pci" index="1" model="pcie-root-port">
  111. <model name="pcie-root-port"/>
  112. <target chassis="1" port="0x8"/>
  113. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0" multifunction="on"/>
  114. </controller>
  115. <controller type="pci" index="2" model="pcie-root-port">
  116. <model name="pcie-root-port"/>
  117. <target chassis="2" port="0x9"/>
  118. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
  119. </controller>
  120. <controller type="pci" index="3" model="pcie-root-port">
  121. <model name="pcie-root-port"/>
  122. <target chassis="3" port="0xa"/>
  123. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x2"/>
  124. </controller>
  125. <controller type="pci" index="4" model="pcie-root-port">
  126. <model name="pcie-root-port"/>
  127. <target chassis="4" port="0xb"/>
  128. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x3"/>
  129. </controller>
  130. <controller type="pci" index="5" model="pcie-root-port">
  131. <model name="pcie-root-port"/>
  132. <target chassis="5" port="0xc"/>
  133. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x4"/>
  134. </controller>
  135. <controller type="pci" index="6" model="pcie-root-port">
  136. <model name="pcie-root-port"/>
  137. <target chassis="6" port="0xd"/>
  138. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x5"/>
  139. </controller>
  140. <controller type="pci" index="7" model="pcie-root-port">
  141. <model name="pcie-root-port"/>
  142. <target chassis="7" port="0xe"/>
  143. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x6"/>
  144. </controller>
  145. <controller type="pci" index="8" model="pcie-root-port">
  146. <model name="pcie-root-port"/>
  147. <target chassis="8" port="0xf"/>
  148. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x7"/>
  149. </controller>
  150. <controller type="pci" index="9" model="pcie-root-port">
  151. <model name="pcie-root-port"/>
  152. <target chassis="9" port="0x10"/>
  153. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  154. </controller>
  155. <controller type="pci" index="10" model="pcie-root-port">
  156. <model name="pcie-root-port"/>
  157. <target chassis="10" port="0x11"/>
  158. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  159. </controller>
  160. <controller type="pci" index="11" model="pcie-root-port">
  161. <model name="pcie-root-port"/>
  162. <target chassis="11" port="0x12"/>
  163. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  164. </controller>
  165. <controller type="pci" index="12" model="pcie-root-port">
  166. <model name="pcie-root-port"/>
  167. <target chassis="12" port="0x13"/>
  168. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  169. </controller>
  170. <controller type="pci" index="13" model="pcie-to-pci-bridge">
  171. <model name="pcie-pci-bridge"/>
  172. <address type="pci" domain="0x0000" bus="0x0a" slot="0x00" function="0x0"/>
  173. </controller>
  174. <interface type="network">
  175. <mac address="52:54:00:ad:9f:4c"/>
  176. <source network="default"/>
  177. <model type="virtio"/>
  178. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  179. </interface>
  180. <input type="mouse" bus="ps2"/>
  181. <input type="keyboard" bus="ps2"/>
  182. <hostdev mode="subsystem" type="pci" managed="yes">
  183. <source>
  184. <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  185. </source>
  186. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  187. </hostdev>
  188. <hostdev mode="subsystem" type="pci" managed="yes">
  189. <source>
  190. <address domain="0x0000" bus="0x01" slot="0x00" function="0x1"/>
  191. </source>
  192. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  193. </hostdev>
  194. <hostdev mode="subsystem" type="pci" managed="yes">
  195. <source>
  196. <address domain="0x0000" bus="0x01" slot="0x00" function="0x2"/>
  197. </source>
  198. <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  199. </hostdev>
  200. <hostdev mode="subsystem" type="pci" managed="yes">
  201. <source>
  202. <address domain="0x0000" bus="0x01" slot="0x00" function="0x3"/>
  203. </source>
  204. <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  205. </hostdev>
  206. <hostdev mode="subsystem" type="pci" managed="yes">
  207. <source>
  208. <address domain="0x0000" bus="0x00" slot="0x14" function="0x0"/>
  209. </source>
  210. <address type="pci" domain="0x0000" bus="0x0d" slot="0x01" function="0x0"/>
  211. </hostdev>
  212. <memballoon model="virtio">
  213. <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
  214. </memballoon>
  215. </devices>
  216. </domain>
  217.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement