Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.96 KB | None | 0 0
  1. <!--
  2. WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
  3. OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  4. virsh edit win10
  5. or other application using the libvirt API.
  6. -->
  7.  
  8. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  9. <name>win10</name>
  10. <uuid>f286b23d-dcc7-44e9-bd5b-89c42f8b20ff</uuid>
  11. <metadata>
  12. <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  13. <libosinfo:os id="http://microsoft.com/win/10"/>
  14. </libosinfo:libosinfo>
  15. </metadata>
  16. <memory unit='KiB'>6260736</memory>
  17. <currentMemory unit='KiB'>6260736</currentMemory>
  18. <vcpu placement='static'>4</vcpu>
  19. <iothreads>1</iothreads>
  20. <cputune>
  21. <vcpupin vcpu='0' cpuset='2'/>
  22. <vcpupin vcpu='1' cpuset='3'/>
  23. <vcpupin vcpu='2' cpuset='4'/>
  24. <vcpupin vcpu='3' cpuset='5'/>
  25. <emulatorpin cpuset='0-1'/>
  26. <iothreadpin iothread='1' cpuset='0-1'/>
  27. </cputune>
  28. <os>
  29. <type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
  30. <loader readonly='yes' type='pflash'>/usr/share/edk2-ovmf/OVMF_CODE.fd</loader>
  31. <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  32. <boot dev='hd'/>
  33. </os>
  34. <features>
  35. <acpi/>
  36. <apic/>
  37. <hyperv>
  38. <relaxed state='on'/>
  39. <vapic state='on'/>
  40. <spinlocks state='on' retries='8191'/>
  41. <vendor_id state='on' value='1234567890ab'/>
  42. </hyperv>
  43. <kvm>
  44. <hidden state='on'/>
  45. </kvm>
  46. <vmport state='off'/>
  47. <ioapic driver='kvm'/>
  48. </features>
  49. <cpu mode='host-passthrough' check='none'>
  50. <topology sockets='1' cores='2' threads='2'/>
  51. <cache mode='passthrough'/>
  52. <feature policy='require' name='topoext'/>
  53. </cpu>
  54. <clock offset='localtime'>
  55. <timer name='rtc' tickpolicy='catchup'/>
  56. <timer name='pit' tickpolicy='delay'/>
  57. <timer name='hpet' present='no'/>
  58. <timer name='hypervclock' present='yes'/>
  59. </clock>
  60. <on_poweroff>destroy</on_poweroff>
  61. <on_reboot>restart</on_reboot>
  62. <on_crash>destroy</on_crash>
  63. <pm>
  64. <suspend-to-mem enabled='no'/>
  65. <suspend-to-disk enabled='no'/>
  66. </pm>
  67. <devices>
  68. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  69. <disk type='file' device='disk'>
  70. <driver name='qemu' type='qcow2'/>
  71. <source file='/home/muke/.libvirt/windows.qcow2'/>
  72. <target dev='sda' bus='sata'/>
  73. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  74. </disk>
  75. <disk type='file' device='cdrom'>
  76. <driver name='qemu' type='raw'/>
  77. <source file='/mnt/New_Volume/Linux_Backups/Win10_1809Oct_v2_English_x64.iso'/>
  78. <target dev='sdb' bus='sata'/>
  79. <readonly/>
  80. <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  81. </disk>
  82. <disk type='block' device='disk'>
  83. <driver name='qemu' type='raw' cache='none' io='native'/>
  84. <source dev='/dev/disk/by-id/ata-ST2000DM001-9YN164_Z1E15ES4-part2'/>
  85. <target dev='sdc' bus='sata'/>
  86. <address type='drive' controller='0' bus='0' target='0' unit='2'/>
  87. </disk>
  88. <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  89. <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  90. </controller>
  91. <controller type='sata' index='0'>
  92. <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  93. </controller>
  94. <controller type='pci' index='0' model='pcie-root'/>
  95. <controller type='pci' index='1' model='pcie-root-port'>
  96. <model name='pcie-root-port'/>
  97. <target chassis='1' port='0x10'/>
  98. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  99. </controller>
  100. <controller type='pci' index='2' model='pcie-root-port'>
  101. <model name='pcie-root-port'/>
  102. <target chassis='2' port='0x11'/>
  103. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  104. </controller>
  105. <controller type='pci' index='3' model='pcie-root-port'>
  106. <model name='pcie-root-port'/>
  107. <target chassis='3' port='0x12'/>
  108. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  109. </controller>
  110. <controller type='pci' index='4' model='pcie-root-port'>
  111. <model name='pcie-root-port'/>
  112. <target chassis='4' port='0x13'/>
  113. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  114. </controller>
  115. <controller type='pci' index='5' model='pcie-root-port'>
  116. <model name='pcie-root-port'/>
  117. <target chassis='5' port='0x14'/>
  118. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
  119. </controller>
  120. <controller type='pci' index='6' model='pcie-root-port'>
  121. <model name='pcie-root-port'/>
  122. <target chassis='6' port='0x15'/>
  123. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
  124. </controller>
  125. <controller type='pci' index='7' model='pcie-to-pci-bridge'>
  126. <model name='pcie-pci-bridge'/>
  127. <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  128. </controller>
  129. <controller type='pci' index='8' model='pcie-root-port'>
  130. <model name='pcie-root-port'/>
  131. <target chassis='8' port='0x8'/>
  132. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  133. </controller>
  134. <controller type='pci' index='9' model='pcie-root-port'>
  135. <model name='pcie-root-port'/>
  136. <target chassis='9' port='0x9'/>
  137. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  138. </controller>
  139. <controller type='scsi' index='0' model='virtio-scsi'>
  140. <address type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'/>
  141. </controller>
  142. <interface type='network'>
  143. <mac address='52:54:00:32:e5:6d'/>
  144. <source network='default'/>
  145. <model type='e1000e'/>
  146. <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  147. </interface>
  148. <serial type='pty'>
  149. <target type='isa-serial' port='0'>
  150. <model name='isa-serial'/>
  151. </target>
  152. </serial>
  153. <console type='pty'>
  154. <target type='serial' port='0'/>
  155. </console>
  156. <input type='mouse' bus='virtio'>
  157. <address type='pci' domain='0x0000' bus='0x00' slot='0x0e' function='0x0'/>
  158. </input>
  159. <input type='keyboard' bus='virtio'>
  160. <address type='pci' domain='0x0000' bus='0x00' slot='0x0f' function='0x0'/>
  161. </input>
  162. <input type='mouse' bus='ps2'/>
  163. <input type='keyboard' bus='ps2'/>
  164. <hostdev mode='subsystem' type='pci' managed='yes'>
  165. <source>
  166. <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  167. </source>
  168. <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  169. </hostdev>
  170. <hostdev mode='subsystem' type='pci' managed='yes'>
  171. <source>
  172. <address domain='0x0000' bus='0x06' slot='0x00' function='0x1'/>
  173. </source>
  174. <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  175. </hostdev>
  176. <hostdev mode='subsystem' type='pci' managed='yes'>
  177. <source>
  178. <address domain='0x0000' bus='0x07' slot='0x00' function='0x3'/>
  179. </source>
  180. <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
  181. </hostdev>
  182. <memballoon model='virtio'>
  183. <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  184. </memballoon>
  185. <shmem name='looking-glass'>
  186. <model type='ivshmem-plain'/>
  187. <size unit='M'>32</size>
  188. <address type='pci' domain='0x0000' bus='0x07' slot='0x01' function='0x0'/>
  189. </shmem>
  190. </devices>
  191. <qemu:commandline>
  192. <qemu:arg value='-object'/>
  193. <qemu:arg value='input-linux,id=mouse1,evdev=/dev/input/by-id/usb-PixArt_HP_USB_Optical_Mouse-event-mouse'/>
  194. <qemu:arg value='-object'/>
  195. <qemu:arg value='input-linux,id=kbd1,evdev=/dev/input/by-id/usb-04d9_USB_Keyboard-event-kbd,grab_all=on,repeat=on'/>
  196. </qemu:commandline>
  197. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement