Advertisement
Guest User

Untitled

a guest
Feb 11th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.85 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <domain type='kvm' id='4'>
  3. <name>Windows10-NVME-i440</name>
  4. <uuid>9827a7a3-0118-94d2-b0b2-9a95dc7b29b3</uuid>
  5. <metadata>
  6. <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  7. </metadata>
  8. <memory unit='KiB'>16777216</memory>
  9. <currentMemory unit='KiB'>16777216</currentMemory>
  10. <memoryBacking>
  11. <nosharepages/>
  12. </memoryBacking>
  13. <vcpu placement='static'>14</vcpu>
  14. <iothreads>1</iothreads>
  15. <cputune>
  16. <vcpupin vcpu='0' cpuset='9'/>
  17. <vcpupin vcpu='1' cpuset='25'/>
  18. <vcpupin vcpu='2' cpuset='10'/>
  19. <vcpupin vcpu='3' cpuset='26'/>
  20. <vcpupin vcpu='4' cpuset='11'/>
  21. <vcpupin vcpu='5' cpuset='27'/>
  22. <vcpupin vcpu='6' cpuset='12'/>
  23. <vcpupin vcpu='7' cpuset='28'/>
  24. <vcpupin vcpu='8' cpuset='13'/>
  25. <vcpupin vcpu='9' cpuset='29'/>
  26. <vcpupin vcpu='10' cpuset='14'/>
  27. <vcpupin vcpu='11' cpuset='30'/>
  28. <vcpupin vcpu='12' cpuset='15'/>
  29. <vcpupin vcpu='13' cpuset='31'/>
  30. <emulatorpin cpuset='8,24'/>
  31. <iothreadpin iothread='1' cpuset='8,24'/>
  32. </cputune>
  33. <numatune>
  34. <memory mode='preferred' nodeset='1'/>
  35. </numatune>
  36. <resource>
  37. <partition>/machine</partition>
  38. </resource>
  39. <os>
  40. <type arch='x86_64' machine='pc-i440fx-3.1'>hvm</type>
  41. <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
  42. <nvram>/etc/libvirt/qemu/nvram/9827a7a3-0118-94d2-b0b2-9a95dc7b29b3_VARS-pure-efi.fd</nvram>
  43. <boot dev='hd'/>
  44. </os>
  45. <features>
  46. <acpi/>
  47. <apic/>
  48. <hyperv>
  49. <relaxed state='on'/>
  50. <vapic state='on'/>
  51. <spinlocks state='on' retries='8191'/>
  52. <vendor_id state='on' value='none'/>
  53. </hyperv>
  54. </features>
  55. <cpu mode='host-passthrough' check='none'>
  56. <topology sockets='1' cores='14' threads='1'/>
  57. <feature policy='require' name='topoext'/>
  58. <feature policy='disable' name='monitor'/>
  59. <feature policy='require' name='x2apic'/>
  60. <feature policy='require' name='hypervisor'/>
  61. <feature policy='disable' name='svm'/>
  62. </cpu>
  63. <clock offset='localtime'>
  64. <timer name='hypervclock' present='yes'/>
  65. <timer name='hpet' present='no'/>
  66. </clock>
  67. <on_poweroff>destroy</on_poweroff>
  68. <on_reboot>restart</on_reboot>
  69. <on_crash>restart</on_crash>
  70. <devices>
  71. <emulator>/usr/local/sbin/qemu</emulator>
  72. <disk type='file' device='cdrom'>
  73. <driver name='qemu' type='raw'/>
  74. <source file='/mnt/user/isos/virtio-win-0.1.160-1.iso'/>
  75. <backingStore/>
  76. <target dev='hdb' bus='scsi'/>
  77. <readonly/>
  78. <alias name='scsi0-0-0-1'/>
  79. <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  80. </disk>
  81. <controller type='scsi' index='0' model='virtio-scsi'>
  82. <alias name='scsi0'/>
  83. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  84. </controller>
  85. <controller type='pci' index='0' model='pci-root'>
  86. <alias name='pci.0'/>
  87. </controller>
  88. <controller type='virtio-serial' index='0'>
  89. <alias name='virtio-serial0'/>
  90. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  91. </controller>
  92. <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  93. <alias name='usb'/>
  94. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  95. </controller>
  96. <interface type='bridge'>
  97. <mac address='52:54:00:64:4e:99'/>
  98. <source bridge='br0'/>
  99. <target dev='vnet0'/>
  100. <model type='virtio'/>
  101. <alias name='net0'/>
  102. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  103. </interface>
  104. <serial type='pty'>
  105. <source path='/dev/pts/1'/>
  106. <target type='isa-serial' port='0'>
  107. <model name='isa-serial'/>
  108. </target>
  109. <alias name='serial0'/>
  110. </serial>
  111. <console type='pty' tty='/dev/pts/1'>
  112. <source path='/dev/pts/1'/>
  113. <target type='serial' port='0'/>
  114. <alias name='serial0'/>
  115. </console>
  116. <channel type='unix'>
  117. <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-4-Windows10-NVME-i440/org.qemu.guest_agent.0'/>
  118. <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
  119. <alias name='channel0'/>
  120. <address type='virtio-serial' controller='0' bus='0' port='1'/>
  121. </channel>
  122. <input type='mouse' bus='ps2'>
  123. <alias name='input0'/>
  124. </input>
  125. <input type='keyboard' bus='ps2'>
  126. <alias name='input1'/>
  127. </input>
  128. <hostdev mode='subsystem' type='pci' managed='yes'>
  129. <driver name='vfio'/>
  130. <source>
  131. <address domain='0x0000' bus='0x42' slot='0x00' function='0x0'/>
  132. </source>
  133. <alias name='hostdev0'/>
  134. <rom file='/mnt/user/isos/GP102patched2.rom'/>
  135. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  136. </hostdev>
  137. <hostdev mode='subsystem' type='pci' managed='yes'>
  138. <driver name='vfio'/>
  139. <source>
  140. <address domain='0x0000' bus='0x42' slot='0x00' function='0x1'/>
  141. </source>
  142. <alias name='hostdev1'/>
  143. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  144. </hostdev>
  145. <hostdev mode='subsystem' type='pci' managed='yes'>
  146. <driver name='vfio'/>
  147. <source>
  148. <address domain='0x0000' bus='0x09' slot='0x00' function='0x3'/>
  149. </source>
  150. <alias name='hostdev2'/>
  151. <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
  152. </hostdev>
  153. <hostdev mode='subsystem' type='pci' managed='yes'>
  154. <driver name='vfio'/>
  155. <source>
  156. <address domain='0x0000' bus='0x41' slot='0x00' function='0x0'/>
  157. </source>
  158. <alias name='hostdev3'/>
  159. <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
  160. </hostdev>
  161. <hostdev mode='subsystem' type='usb' managed='no'>
  162. <source>
  163. <vendor id='0x046d'/>
  164. <product id='0xc332'/>
  165. <address bus='3' device='4'/>
  166. </source>
  167. <alias name='hostdev4'/>
  168. <address type='usb' bus='0' port='1'/>
  169. </hostdev>
  170. <hostdev mode='subsystem' type='usb' managed='no'>
  171. <source>
  172. <vendor id='0x0d8c'/>
  173. <product id='0x016c'/>
  174. <address bus='3' device='2'/>
  175. </source>
  176. <alias name='hostdev5'/>
  177. <address type='usb' bus='0' port='2'/>
  178. </hostdev>
  179. <hostdev mode='subsystem' type='usb' managed='no'>
  180. <source>
  181. <vendor id='0x1b1c'/>
  182. <product id='0x1b15'/>
  183. <address bus='3' device='3'/>
  184. </source>
  185. <alias name='hostdev6'/>
  186. <address type='usb' bus='0' port='3'/>
  187. </hostdev>
  188. <memballoon model='none'/>
  189. </devices>
  190. <seclabel type='dynamic' model='dac' relabel='yes'>
  191. <label>+0:+100</label>
  192. <imagelabel>+0:+100</imagelabel>
  193. </seclabel>
  194. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement