Regeneric

Untitled

Aug 18th, 2020
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.23 KB | None | 0 0
  1. <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  2. <name>win10</name>
  3. <uuid>784d5d61-dce7-4787-b03f-402c872cf212</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">14710784</memory>
  10. <currentMemory unit="KiB">14710784</currentMemory>
  11. <vcpu placement="static">8</vcpu>
  12. <cputune>
  13. <vcpupin vcpu="0" cpuset="0"/>
  14. <vcpupin vcpu="1" cpuset="1"/>
  15. <vcpupin vcpu="2" cpuset="2"/>
  16. <vcpupin vcpu="3" cpuset="3"/>
  17. <vcpupin vcpu="4" cpuset="4"/>
  18. <vcpupin vcpu="5" cpuset="5"/>
  19. <vcpupin vcpu="6" cpuset="6"/>
  20. <vcpupin vcpu="7" cpuset="7"/>
  21. </cputune>
  22. <os>
  23. <type arch="x86_64" machine="pc-q35-3.0">hvm</type>
  24. <loader readonly="yes" type="pflash">/usr/share/ovmf/x64/OVMF_CODE.fd</loader>
  25. <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  26. <boot dev="hd"/>
  27. </os>
  28. <features>
  29. <acpi/>
  30. <apic/>
  31. <hyperv>
  32. <relaxed state="on"/>
  33. <vapic state="on"/>
  34. <spinlocks state="on" retries="8191"/>
  35. <vendor_id state="on" value="whatever"/>
  36. </hyperv>
  37. <kvm>
  38. <hidden state="on"/>
  39. </kvm>
  40. <vmport state="off"/>
  41. </features>
  42. <cpu mode="host-model" check="none">
  43. <topology sockets="1" dies="1" cores="4" threads="2"/>
  44. </cpu>
  45. <clock offset="localtime">
  46. <timer name="rtc" tickpolicy="catchup"/>
  47. <timer name="pit" tickpolicy="delay"/>
  48. <timer name="hpet" present="no"/>
  49. <timer name="hypervclock" present="yes"/>
  50. </clock>
  51. <on_poweroff>destroy</on_poweroff>
  52. <on_reboot>restart</on_reboot>
  53. <on_crash>destroy</on_crash>
  54. <pm>
  55. <suspend-to-mem enabled="no"/>
  56. <suspend-to-disk enabled="no"/>
  57. </pm>
  58. <devices>
  59. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  60. <disk type="file" device="disk">
  61. <driver name="qemu" type="raw"/>
  62. <source file="/home/hkk/.qemu/win10-main.img"/>
  63. <target dev="vda" bus="virtio"/>
  64. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  65. </disk>
  66. <disk type="file" device="disk">
  67. <driver name="qemu" type="raw"/>
  68. <source file="/storage/Projects/qemu/win10-storage.img"/>
  69. <target dev="vdb" bus="virtio"/>
  70. <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  71. </disk>
  72. <controller type="usb" index="0" model="ich9-ehci1">
  73. <address type="pci" domain="0x0000" bus="0x00" slot="0x1d" function="0x7"/>
  74. </controller>
  75. <controller type="usb" index="0" model="ich9-uhci1">
  76. <master startport="0"/>
  77. <address type="pci" domain="0x0000" bus="0x00" slot="0x1d" function="0x0" multifunction="on"/>
  78. </controller>
  79. <controller type="usb" index="0" model="ich9-uhci2">
  80. <master startport="2"/>
  81. <address type="pci" domain="0x0000" bus="0x00" slot="0x1d" function="0x1"/>
  82. </controller>
  83. <controller type="usb" index="0" model="ich9-uhci3">
  84. <master startport="4"/>
  85. <address type="pci" domain="0x0000" bus="0x00" slot="0x1d" function="0x2"/>
  86. </controller>
  87. <controller type="pci" index="0" model="pcie-root"/>
  88. <controller type="pci" index="1" model="pcie-root-port">
  89. <model name="pcie-root-port"/>
  90. <target chassis="1" port="0x10"/>
  91. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  92. </controller>
  93. <controller type="pci" index="2" model="pcie-to-pci-bridge">
  94. <model name="pcie-pci-bridge"/>
  95. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  96. </controller>
  97. <controller type="pci" index="3" model="pcie-root-port">
  98. <model name="pcie-root-port"/>
  99. <target chassis="3" port="0x11"/>
  100. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  101. </controller>
  102. <controller type="pci" index="4" model="pcie-root-port">
  103. <model name="pcie-root-port"/>
  104. <target chassis="4" port="0x12"/>
  105. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  106. </controller>
  107. <controller type="pci" index="5" model="pcie-root-port">
  108. <model name="pcie-root-port"/>
  109. <target chassis="5" port="0x13"/>
  110. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  111. </controller>
  112. <controller type="pci" index="6" model="pcie-root-port">
  113. <model name="pcie-root-port"/>
  114. <target chassis="6" port="0x14"/>
  115. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  116. </controller>
  117. <controller type="pci" index="7" model="pcie-root-port">
  118. <model name="pcie-root-port"/>
  119. <target chassis="7" port="0x15"/>
  120. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  121. </controller>
  122. <controller type="pci" index="8" model="pcie-root-port">
  123. <model name="pcie-root-port"/>
  124. <target chassis="8" port="0x16"/>
  125. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  126. </controller>
  127. <controller type="pci" index="9" model="pcie-root-port">
  128. <model name="pcie-root-port"/>
  129. <target chassis="9" port="0x8"/>
  130. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0" multifunction="on"/>
  131. </controller>
  132. <controller type="pci" index="10" model="pcie-root-port">
  133. <model name="pcie-root-port"/>
  134. <target chassis="10" port="0x9"/>
  135. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
  136. </controller>
  137. <controller type="pci" index="11" model="pcie-root-port">
  138. <model name="pcie-root-port"/>
  139. <target chassis="11" port="0xa"/>
  140. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x2"/>
  141. </controller>
  142. <controller type="sata" index="0">
  143. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  144. </controller>
  145. <interface type="network">
  146. <mac address="52:54:00:75:e8:58"/>
  147. <source network="nat"/>
  148. <model type="virtio"/>
  149. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  150. </interface>
  151. <input type="mouse" bus="ps2"/>
  152. <input type="keyboard" bus="ps2"/>
  153. <input type="tablet" bus="usb">
  154. <address type="usb" bus="0" port="1"/>
  155. </input>
  156. <hostdev mode="subsystem" type="pci" managed="yes">
  157. <source>
  158. <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  159. </source>
  160. <rom file="/storage/Projects/qemu/1070p.rom"/>
  161. <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  162. </hostdev>
  163. <hostdev mode="subsystem" type="pci" managed="yes">
  164. <source>
  165. <address domain="0x0000" bus="0x01" slot="0x00" function="0x1"/>
  166. </source>
  167. <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
  168. </hostdev>
  169. <hostdev mode="subsystem" type="pci" managed="yes">
  170. <source>
  171. <address domain="0x0000" bus="0x00" slot="0x14" function="0x0"/>
  172. </source>
  173. <address type="pci" domain="0x0000" bus="0x02" slot="0x01" function="0x0"/>
  174. </hostdev>
  175. <hostdev mode="subsystem" type="pci" managed="yes">
  176. <source>
  177. <address domain="0x0000" bus="0x00" slot="0x14" function="0x2"/>
  178. </source>
  179. <address type="pci" domain="0x0000" bus="0x02" slot="0x02" function="0x0"/>
  180. </hostdev>
  181. <hostdev mode="subsystem" type="pci" managed="yes">
  182. <source>
  183. <address domain="0x0000" bus="0x00" slot="0x1f" function="0x3"/>
  184. </source>
  185. <address type="pci" domain="0x0000" bus="0x02" slot="0x03" function="0x0"/>
  186. </hostdev>
  187. <memballoon model="virtio">
  188. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  189. </memballoon>
  190. <shmem name="looking-glass">
  191. <model type="ivshmem-plain"/>
  192. <size unit="M">32</size>
  193. <address type="pci" domain="0x0000" bus="0x02" slot="0x04" function="0x0"/>
  194. </shmem>
  195. </devices>
  196. <qemu:commandline>
  197. <qemu:env name="QEMU_AUDIO_DRV" value="pa"/>
  198. <qemu:env name="QEMU_PA_SERVER" value="/run/user/1000/pulse/native"/>
  199. </qemu:commandline>
  200. </domain>
  201.  
Add Comment
Please, Sign In to add comment