Guest User

Untitled

a guest
Apr 6th, 2018
416
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.94 KB | None | 0 0
  1. <domain type='kvm' id='12' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2. <name>Windows_10_Clean</name>
  3. <uuid>0a7cac0c-fef2-47fc-8b03-1e1d903a46bf</uuid>
  4. <memory unit='KiB'>16344064</memory>
  5. <currentMemory unit='KiB'>16344064</currentMemory>
  6. <memoryBacking>
  7. <hugepages/>
  8. </memoryBacking>
  9. <vcpu placement='static'>4</vcpu>
  10. <iothreads>3</iothreads>
  11. <cputune>
  12. <vcpupin vcpu='0' cpuset='0'/>
  13. <vcpupin vcpu='1' cpuset='1'/>
  14. <vcpupin vcpu='2' cpuset='2'/>
  15. <vcpupin vcpu='3' cpuset='3'/>
  16. <emulatorpin cpuset='4-7'/>
  17. </cputune>
  18. <resource>
  19. <partition>/machine</partition>
  20. </resource>
  21. <os>
  22. <type arch='x86_64' machine='pc-q35-2.8'>hvm</type>
  23. <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
  24. <nvram>/var/lib/libvirt/qemu/nvram/Windows_10_Clean_VARS.fd</nvram>
  25. <bootmenu enable='yes'/>
  26. </os>
  27. <features>
  28. <acpi/>
  29. <apic/>
  30. <hyperv>
  31. <relaxed state='on'/>
  32. <vapic state='on'/>
  33. <spinlocks state='on' retries='8191'/>
  34. </hyperv>
  35. <vmport state='off'/>
  36. </features>
  37. <cpu mode='custom' match='exact'>
  38. <model fallback='forbid'>Haswell-noTSX</model>
  39. <vendor>Intel</vendor>
  40. <topology sockets='1' cores='4' threads='1'/>
  41. <feature policy='require' name='vme'/>
  42. <feature policy='require' name='ds'/>
  43. <feature policy='require' name='acpi'/>
  44. <feature policy='require' name='ss'/>
  45. <feature policy='require' name='ht'/>
  46. <feature policy='require' name='tm'/>
  47. <feature policy='require' name='pbe'/>
  48. <feature policy='require' name='dtes64'/>
  49. <feature policy='require' name='monitor'/>
  50. <feature policy='require' name='ds_cpl'/>
  51. <feature policy='require' name='vmx'/>
  52. <feature policy='require' name='est'/>
  53. <feature policy='require' name='tm2'/>
  54. <feature policy='require' name='xtpr'/>
  55. <feature policy='require' name='pdcm'/>
  56. <feature policy='require' name='osxsave'/>
  57. <feature policy='require' name='f16c'/>
  58. <feature policy='require' name='rdrand'/>
  59. <feature policy='require' name='arat'/>
  60. <feature policy='require' name='tsc_adjust'/>
  61. <feature policy='require' name='xsaveopt'/>
  62. <feature policy='require' name='pdpe1gb'/>
  63. <feature policy='require' name='abm'/>
  64. </cpu>
  65. <clock offset='localtime'>
  66. <timer name='rtc' tickpolicy='catchup'/>
  67. <timer name='pit' tickpolicy='delay'/>
  68. <timer name='hpet' present='no'/>
  69. <timer name='kvmclock' present='yes'/>
  70. <timer name='hypervclock' present='yes'/>
  71. </clock>
  72. <on_poweroff>destroy</on_poweroff>
  73. <on_reboot>restart</on_reboot>
  74. <on_crash>restart</on_crash>
  75. <pm>
  76. <suspend-to-mem enabled='no'/>
  77. <suspend-to-disk enabled='no'/>
  78. </pm>
  79. <devices>
  80. <emulator>/usr/bin/kvm</emulator>
  81. <disk type='file' device='disk'>
  82. <driver name='qemu' type='qcow2' cache='none' io='native' iothread='1'/>
  83. <source file='/var/lib/libvirt/images/Windows_10_Clean.qcow2'/>
  84. <backingStore/>
  85. <target dev='vda' bus='virtio'/>
  86. <boot order='1'/>
  87. <alias name='virtio-disk0'/>
  88. <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  89. </disk>
  90. <disk type='block' device='disk'>
  91. <driver name='qemu' type='raw' cache='none' io='native'/>
  92. <source dev='/dev/sdc'/>
  93. <backingStore/>
  94. <target dev='vdb' bus='virtio'/>
  95. <alias name='virtio-disk1'/>
  96. <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  97. </disk>
  98. <disk type='block' device='disk'>
  99. <driver name='qemu' type='raw' cache='none' io='native'/>
  100. <source dev='/dev/sdd'/>
  101. <backingStore/>
  102. <target dev='vdc' bus='virtio'/>
  103. <alias name='virtio-disk2'/>
  104. <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  105. </disk>
  106. <controller type='sata' index='0'>
  107. <alias name='ide'/>
  108. <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  109. </controller>
  110. <controller type='pci' index='0' model='pcie-root'>
  111. <alias name='pcie.0'/>
  112. </controller>
  113. <controller type='pci' index='1' model='pcie-root-port'>
  114. <model name='ioh3420'/>
  115. <target chassis='1' port='0x8'/>
  116. <alias name='pci.1'/>
  117. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  118. </controller>
  119. <controller type='pci' index='2' model='pcie-root-port'>
  120. <model name='ioh3420'/>
  121. <target chassis='2' port='0x10'/>
  122. <alias name='pci.2'/>
  123. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  124. </controller>
  125. <controller type='pci' index='3' model='pcie-root-port'>
  126. <model name='ioh3420'/>
  127. <target chassis='3' port='0x11'/>
  128. <alias name='pci.3'/>
  129. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  130. </controller>
  131. <controller type='pci' index='4' model='pcie-root-port'>
  132. <model name='ioh3420'/>
  133. <target chassis='4' port='0x9'/>
  134. <alias name='pci.4'/>
  135. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  136. </controller>
  137. <controller type='pci' index='5' model='pcie-root-port'>
  138. <model name='ioh3420'/>
  139. <target chassis='5' port='0xa'/>
  140. <alias name='pci.5'/>
  141. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  142. </controller>
  143. <controller type='pci' index='6' model='pcie-root-port'>
  144. <model name='ioh3420'/>
  145. <target chassis='6' port='0xb'/>
  146. <alias name='pci.6'/>
  147. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
  148. </controller>
  149. <controller type='pci' index='7' model='pcie-root-port'>
  150. <model name='ioh3420'/>
  151. <target chassis='7' port='0xc'/>
  152. <alias name='pci.7'/>
  153. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
  154. </controller>
  155. <controller type='pci' index='8' model='pcie-root-port'>
  156. <model name='ioh3420'/>
  157. <target chassis='8' port='0xd'/>
  158. <alias name='pci.8'/>
  159. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
  160. </controller>
  161. <controller type='pci' index='9' model='pcie-root-port'>
  162. <model name='ioh3420'/>
  163. <target chassis='9' port='0xe'/>
  164. <alias name='pci.9'/>
  165. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
  166. </controller>
  167. <controller type='pci' index='10' model='pcie-root-port'>
  168. <model name='ioh3420'/>
  169. <target chassis='10' port='0xf'/>
  170. <alias name='pci.10'/>
  171. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
  172. </controller>
  173. <controller type='pci' index='11' model='dmi-to-pci-bridge'>
  174. <model name='i82801b11-bridge'/>
  175. <alias name='pci.11'/>
  176. <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
  177. </controller>
  178. <controller type='pci' index='12' model='pci-bridge'>
  179. <model name='pci-bridge'/>
  180. <target chassisNr='12'/>
  181. <alias name='pci.12'/>
  182. <address type='pci' domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/>
  183. </controller>
  184. <controller type='usb' index='0' model='nec-xhci'>
  185. <alias name='usb'/>
  186. <address type='pci' domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/>
  187. </controller>
  188. <interface type='direct'>
  189. <mac address='52:54:00:d2:d9:2f'/>
  190. <source dev='enp0s25' mode='bridge'/>
  191. <target dev='macvtap0'/>
  192. <model type='virtio'/>
  193. <alias name='net0'/>
  194. <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  195. </interface>
  196. <input type='mouse' bus='ps2'>
  197. <alias name='input0'/>
  198. </input>
  199. <input type='keyboard' bus='ps2'>
  200. <alias name='input1'/>
  201. </input>
  202. <sound model='ac97'>
  203. <alias name='sound0'/>
  204. <address type='pci' domain='0x0000' bus='0x0c' slot='0x01' function='0x0'/>
  205. </sound>
  206. <hostdev mode='subsystem' type='pci' managed='yes'>
  207. <driver name='vfio'/>
  208. <source>
  209. <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  210. </source>
  211. <alias name='hostdev0'/>
  212. <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  213. </hostdev>
  214. <hostdev mode='subsystem' type='pci' managed='yes'>
  215. <driver name='vfio'/>
  216. <source>
  217. <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
  218. </source>
  219. <alias name='hostdev1'/>
  220. <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  221. </hostdev>
  222. <hostdev mode='subsystem' type='usb' managed='yes'>
  223. <source>
  224. <vendor id='0x0853'/>
  225. <product id='0x0100'/>
  226. <address bus='1' device='10'/>
  227. </source>
  228. <alias name='hostdev2'/>
  229. <address type='usb' bus='0' port='1'/>
  230. </hostdev>
  231. <hostdev mode='subsystem' type='usb' managed='yes'>
  232. <source>
  233. <vendor id='0x1532'/>
  234. <product id='0x0043'/>
  235. <address bus='1' device='6'/>
  236. </source>
  237. <alias name='hostdev3'/>
  238. <address type='usb' bus='0' port='2'/>
  239. </hostdev>
  240. <memballoon model='virtio'>
  241. <alias name='balloon0'/>
  242. <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  243. </memballoon>
  244. </devices>
  245. <seclabel type='none' model='none'/>
  246. <seclabel type='dynamic' model='dac' relabel='yes'>
  247. <label>+1000:+1000</label>
  248. <imagelabel>+1000:+1000</imagelabel>
  249. </seclabel>
  250. <qemu:commandline>
  251. <qemu:arg value='-cpu'/>
  252. <qemu:arg value='host,hv_time,kvm=off,hv_vendor_id=null,-hypervisor'/>
  253. <qemu:env name='QEMU_AUDIO_DRV' value='pa'/>
  254. <qemu:env name='QEMU_PA_SAMPLES' value='1024'/>
  255. <qemu:env name='QEMU_AUDIO_TIMER_PERIOD' value='200'/>
  256. <qemu:env name='QEMU_PA_SERVER' value='/run/user/1000/pulse/native'/>
  257. </qemu:commandline>
  258. </domain>
Advertisement
Add Comment
Please, Sign In to add comment