Guest User

Untitled

a guest
Mar 1st, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.00 KB | None | 0 0
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2. <name>windows</name>
  3. <memory unit='KiB'>16777216</memory>
  4. <currentMemory unit='KiB'>16777216</currentMemory>
  5. <memoryBacking>
  6. <hugepages/>
  7. </memoryBacking>
  8. <vcpu placement='static'>8</vcpu>
  9. <iothreads>1</iothreads>
  10. <iothreadids>
  11. <iothread id='1'/>
  12. </iothreadids>
  13. <cputune>
  14. <vcpupin vcpu='0' cpuset='8'/>
  15. <vcpupin vcpu='1' cpuset='9'/>
  16. <vcpupin vcpu='2' cpuset='10'/>
  17. <vcpupin vcpu='3' cpuset='11'/>
  18. <vcpupin vcpu='4' cpuset='12'/>
  19. <vcpupin vcpu='5' cpuset='13'/>
  20. <vcpupin vcpu='6' cpuset='14'/>
  21. <vcpupin vcpu='7' cpuset='15'/>
  22. <emulatorpin cpuset='14-15,30-31'/>
  23. <iothreadpin iothread='1' cpuset='13,29'/>
  24. </cputune>
  25. <numatune>
  26. <memory mode='strict' nodeset='1'/>
  27. </numatune>
  28. <os>
  29. <type arch='x86_64' machine='pc-q35-3.0'>hvm</type>
  30. <loader readonly='yes' type='pflash'>/home/mike/build/edk2/Build/OvmfX64/DEBUG_GCC5/FV/OVMF_CODE.fd</loader>
  31. <nvram>/var/lib/libvirt/qemu/nvram/windows-q35_VARS.fd</nvram>
  32. <boot dev='hd'/>
  33. <bootmenu enable='yes'/>
  34. </os>
  35. <features>
  36. <acpi/>
  37. <apic/>
  38. <hyperv>
  39. <relaxed state='on'/>
  40. <vapic state='on'/>
  41. <spinlocks state='on' retries='8191'/>
  42. <vpindex state='on'/>
  43. <runtime state='on'/>
  44. <synic state='on'/>
  45. <stimer state='on'/>
  46. <reset state='on'/>
  47. <vendor_id state='on' value='1234567890ab'/>
  48. </hyperv>
  49. <kvm>
  50. <hidden state='on'/>
  51. </kvm>
  52. <vmport state='off'/>
  53. </features>
  54. <cpu mode='host-passthrough' check='partial'>
  55. <topology sockets='1' cores='8' threads='1'/>
  56. <cache level='3' mode='emulate'/>
  57. <feature policy='require' name='topoext'/>
  58. <feature policy='require' name='invtsc'/>
  59. <numa>
  60. <cell id='0' cpus='0-7' memory='16777216' unit='KiB'/>
  61. </numa>
  62. </cpu>
  63. <clock offset='localtime'>
  64. <timer name='rtc' tickpolicy='catchup'/>
  65. <timer name='pit' tickpolicy='delay'/>
  66. <timer name='hpet' present='no'/>
  67. <timer name='hypervclock' present='yes'/>
  68. </clock>
  69. <on_poweroff>destroy</on_poweroff>
  70. <on_reboot>restart</on_reboot>
  71. <on_crash>destroy</on_crash>
  72. <pm>
  73. <suspend-to-mem enabled='no'/>
  74. <suspend-to-disk enabled='no'/>
  75. </pm>
  76. <devices>
  77. <emulator>/qemu/bin/qemu-system-x86_64</emulator>
  78. <disk type='file' device='disk'>
  79. <driver name='qemu' type='qcow2' io='threads'/>
  80. <source file='/narshe/VM/Images/windows-q35-gpu.qcow2'/>
  81. <target dev='sda' bus='scsi'/>
  82. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  83. </disk>
  84. <disk type='file' device='disk'>
  85. <driver name='qemu' type='raw' io='threads'/>
  86. <source file='/narshe/VM/Images/windows-storage.img'/>
  87. <target dev='sdb' bus='scsi'/>
  88. <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  89. </disk>
  90. <controller type='usb' index='0' model='ich9-ehci1'>
  91. <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x7'/>
  92. </controller>
  93. <controller type='usb' index='0' model='ich9-uhci1'>
  94. <master startport='0'/>
  95. <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0' multifunction='on'/>
  96. </controller>
  97. <controller type='usb' index='0' model='ich9-uhci2'>
  98. <master startport='2'/>
  99. <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x1'/>
  100. </controller>
  101. <controller type='usb' index='0' model='ich9-uhci3'>
  102. <master startport='4'/>
  103. <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x2'/>
  104. </controller>
  105. <controller type='sata' index='0'>
  106. <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  107. </controller>
  108. <controller type='pci' index='0' model='pcie-root'/>
  109. <controller type='pci' index='1' model='dmi-to-pci-bridge'>
  110. <model name='i82801b11-bridge'/>
  111. <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
  112. </controller>
  113. <controller type='pci' index='2' model='pci-bridge'>
  114. <model name='pci-bridge'/>
  115. <target chassisNr='2'/>
  116. <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  117. </controller>
  118. <controller type='pci' index='3' model='pcie-root-port'>
  119. <model name='pcie-root-port'/>
  120. <target chassis='3' port='0x10'/>
  121. <alias name='ua-gfx0'/>
  122. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  123. </controller>
  124. <controller type='pci' index='4' model='pcie-root-port'>
  125. <model name='pcie-root-port'/>
  126. <target chassis='4' port='0x11'/>
  127. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  128. </controller>
  129. <controller type='pci' index='5' model='pcie-root-port'>
  130. <model name='pcie-root-port'/>
  131. <target chassis='5' port='0x12'/>
  132. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  133. </controller>
  134. <controller type='pci' index='6' model='pcie-root-port'>
  135. <model name='pcie-root-port'/>
  136. <target chassis='6' port='0x13'/>
  137. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  138. </controller>
  139. <controller type='pci' index='7' model='pcie-root-port'>
  140. <model name='pcie-root-port'/>
  141. <target chassis='7' port='0x8'/>
  142. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  143. </controller>
  144. <controller type='pci' index='8' model='pcie-root-port'>
  145. <model name='pcie-root-port'/>
  146. <target chassis='8' port='0x9'/>
  147. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  148. </controller>
  149. <controller type='pci' index='9' model='pcie-root-port'>
  150. <model name='pcie-root-port'/>
  151. <target chassis='9' port='0xa'/>
  152. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  153. </controller>
  154. <controller type='pci' index='10' model='pcie-root-port'>
  155. <model name='pcie-root-port'/>
  156. <target chassis='10' port='0xb'/>
  157. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
  158. </controller>
  159. <controller type='pci' index='11' model='pcie-root-port'>
  160. <model name='pcie-root-port'/>
  161. <target chassis='11' port='0xc'/>
  162. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
  163. </controller>
  164. <controller type='pci' index='12' model='pcie-root-port'>
  165. <model name='pcie-root-port'/>
  166. <target chassis='12' port='0xd'/>
  167. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
  168. </controller>
  169. <controller type='scsi' index='0' model='virtio-scsi'>
  170. <driver iothread='1'/>
  171. <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  172. </controller>
  173. <interface type='network'>
  174. <mac address='52:54:00:c2:bb:25'/>
  175. <source network='default'/>
  176. <model type='virtio'/>
  177. <address type='pci' domain='0x0000' bus='0x0c' slot='0x00' function='0x0'/>
  178. </interface>
  179. <input type='mouse' bus='ps2'/>
  180. <input type='keyboard' bus='ps2'/>
  181. <hostdev mode='subsystem' type='pci' managed='yes'>
  182. <source>
  183. <address domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/>
  184. </source>
  185. <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  186. </hostdev>
  187. <hostdev mode='subsystem' type='pci' managed='yes'>
  188. <source>
  189. <address domain='0x0000' bus='0x0a' slot='0x00' function='0x1'/>
  190. </source>
  191. <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  192. </hostdev>
  193. <hostdev mode='subsystem' type='pci' managed='yes'>
  194. <source>
  195. <address domain='0x0000' bus='0x0a' slot='0x00' function='0x2'/>
  196. </source>
  197. <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  198. </hostdev>
  199. <hostdev mode='subsystem' type='pci' managed='yes'>
  200. <source>
  201. <address domain='0x0000' bus='0x0a' slot='0x00' function='0x3'/>
  202. </source>
  203. <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  204. </hostdev>
  205. <hostdev mode='subsystem' type='pci' managed='yes'>
  206. <source>
  207. <address domain='0x0000' bus='0x4a' slot='0x00' function='0x3'/>
  208. </source>
  209. <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
  210. </hostdev>
  211. <hostdev mode='subsystem' type='pci' managed='yes'>
  212. <source>
  213. <address domain='0x0000' bus='0x0b' slot='0x00' function='0x3'/>
  214. </source>
  215. <address type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'/>
  216. </hostdev>
  217. <memballoon model='none'/>
  218. </devices>
  219. <qemu:commandline>
  220. <qemu:arg value='-set'/>
  221. <qemu:arg value='device.ua-gfx0.speed=8'/>
  222. <qemu:arg value='-set'/>
  223. <qemu:arg value='device.ua-gfx0.width=16'/>
  224. </qemu:commandline>
  225. </domain>
Advertisement
Add Comment
Please, Sign In to add comment