Guest User

Untitled

a guest
Jan 6th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.79 KB | None | 0 0
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2. <name>OSX_KVM</name>
  3. <uuid>57223737-14a7-4aa0-b450-8c5bc0974a55</uuid>
  4. <title>OSX-KVM</title>
  5. <memory unit='KiB'>16777216</memory>
  6. <currentMemory unit='KiB'>16777216</currentMemory>
  7. <memoryBacking>
  8. <nosharepages/>
  9. </memoryBacking>
  10. <vcpu placement='static' current='4'>8</vcpu>
  11. <resource>
  12. <partition>/machine</partition>
  13. </resource>
  14. <os>
  15. <type arch='x86_64' machine='pc-q35-2.10'>hvm</type>
  16. <loader readonly='yes' type='pflash'>/home/ross/OSX-KVM/OVMF_CODE-pure-efi.fd</loader>
  17. <nvram>/home/ross/OSX-KVM/OVMF_VARS-pure-efi-1024x768.fd</nvram>
  18. <bootmenu enable='yes'/>
  19. </os>
  20. <features>
  21. <acpi/>
  22. <apic/>
  23. <kvm>
  24. <hidden state='on'/>
  25. </kvm>
  26. </features>
  27. <cpu mode='host-passthrough' check='none'>
  28. <topology sockets='1' cores='4' threads='2'/>
  29. </cpu>
  30. <clock offset='localtime'>
  31. <timer name='rtc' tickpolicy='catchup'/>
  32. <timer name='pit' tickpolicy='delay'/>
  33. <timer name='hpet' present='no'/>
  34. </clock>
  35. <on_poweroff>destroy</on_poweroff>
  36. <on_reboot>restart</on_reboot>
  37. <on_crash>destroy</on_crash>
  38. <devices>
  39. <emulator>/usr/sbin/qemu-system-x86_64</emulator>
  40. <disk type='file' device='disk'>
  41. <driver name='qemu' type='qcow2'/>
  42. <source file='/home/ross/OSX-KVM/Clover.qcow2'/>
  43. <target dev='sdb' bus='sata'/>
  44. <boot order='1'/>
  45. <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  46. </disk>
  47. <disk type='file' device='disk'>
  48. <driver name='qemu' type='qcow2'/>
  49. <source file='/run/media/ross/c6a2f648-bc6b-424c-9b8b-e91555da8df1/VMs/mac_hdd_virt.img'/>
  50. <target dev='sdc' bus='sata'/>
  51. <address type='drive' controller='0' bus='0' target='0' unit='2'/>
  52. </disk>
  53. <disk type='file' device='cdrom'>
  54. <driver name='qemu' type='raw'/>
  55. <source file='/home/ross/OSX-KVM/HighSierra.iso'/>
  56. <target dev='sdd' bus='sata'/>
  57. <readonly/>
  58. <address type='drive' controller='0' bus='0' target='0' unit='3'/>
  59. </disk>
  60. <controller type='sata' index='0'>
  61. <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  62. </controller>
  63. <controller type='pci' index='0' model='pcie-root'/>
  64. <controller type='pci' index='1' model='dmi-to-pci-bridge'>
  65. <model name='i82801b11-bridge'/>
  66. <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
  67. </controller>
  68. <controller type='pci' index='2' model='pci-bridge'>
  69. <model name='pci-bridge'/>
  70. <target chassisNr='2'/>
  71. <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  72. </controller>
  73. <controller type='pci' index='3' model='pcie-root-port'>
  74. <model name='pcie-root-port'/>
  75. <target chassis='3' port='0x10'/>
  76. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  77. </controller>
  78. <controller type='pci' index='4' model='pcie-root-port'>
  79. <model name='pcie-root-port'/>
  80. <target chassis='4' port='0x11'/>
  81. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  82. </controller>
  83. <controller type='pci' index='5' model='pcie-root-port'>
  84. <model name='pcie-root-port'/>
  85. <target chassis='5' port='0x12'/>
  86. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  87. </controller>
  88. <controller type='usb' index='0' model='nec-xhci'>
  89. <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  90. </controller>
  91. <interface type='network'>
  92. <mac address='52:54:00:4c:48:b1'/>
  93. <source network='default'/>
  94. <model type='e1000-82545em'/>
  95. <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
  96. </interface>
  97. <input type='mouse' bus='ps2'/>
  98. <input type='keyboard' bus='ps2'/>
  99. <sound model='ich9'>
  100. <codec type='duplex'/>
  101. <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
  102. </sound>
  103. <hostdev mode='subsystem' type='pci' managed='yes'>
  104. <source>
  105. <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  106. </source>
  107. <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  108. </hostdev>
  109. <hostdev mode='subsystem' type='pci' managed='yes'>
  110. <source>
  111. <target dev='sdd' bus='sata'/>
  112. <readonly/>
  113. <address type='drive' controller='0' bus='0' target='0' unit='3'/>
  114. </disk>
  115. <controller type='sata' index='0'>
  116. <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  117. </controller>
  118. <controller type='pci' index='0' model='pcie-root'/>
  119. <controller type='pci' index='1' model='dmi-to-pci-bridge'>
  120. <model name='i82801b11-bridge'/>
  121. <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
  122. </controller>
  123. <controller type='pci' index='2' model='pci-bridge'>
  124. <model name='pci-bridge'/>
  125. <target chassisNr='2'/>
  126. <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  127. </controller>
  128. <controller type='pci' index='3' model='pcie-root-port'>
  129. <model name='pcie-root-port'/>
  130. <target chassis='3' port='0x10'/>
  131. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  132. </controller>
  133. <controller type='pci' index='4' model='pcie-root-port'>
  134. <model name='pcie-root-port'/>
  135. <target chassis='4' port='0x11'/>
  136. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  137. </controller>
  138. <controller type='pci' index='5' model='pcie-root-port'>
  139. <model name='pcie-root-port'/>
  140. <target chassis='5' port='0x12'/>
  141. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  142. </controller>
  143. <controller type='usb' index='0' model='nec-xhci'>
  144. <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  145. </controller>
  146. <interface type='network'>
  147. <mac address='52:54:00:4c:48:b1'/>
  148. <source network='default'/>
  149. <model type='e1000-82545em'/>
  150. <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
  151. </interface>
  152. <input type='mouse' bus='ps2'/>
  153. <input type='keyboard' bus='ps2'/>
  154. <sound model='ich9'>
  155. <codec type='duplex'/>
  156. <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
  157. </sound>
  158. <hostdev mode='subsystem' type='pci' managed='yes'>
  159. <source>
  160. <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  161. </source>
  162. <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  163. </hostdev>
  164. <hostdev mode='subsystem' type='pci' managed='yes'>
  165. <source>
  166. <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
  167. </source>
  168. <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  169. </hostdev>
  170. <memballoon model='none'/>
  171. </devices>
  172. <seclabel type='dynamic' model='dac' relabel='yes'/>
  173. <qemu:commandline>
  174. <qemu:arg value='-usb'/>
  175. <qemu:arg value='-device'/>
  176. <qemu:arg value='usb-mouse,bus=usb-bus.0'/>
  177. <qemu:arg value='-device'/>
  178. <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
  179. <qemu:arg value='-device'/>
  180. <qemu:arg value='usb-host,vendorid=0x8644,productid=0x800b'/>
  181. <qemu:arg value='-device'/>
  182. <qemu:arg value='isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc'/>
  183. <qemu:arg value='-object'/>
  184. <qemu:arg value='input-linux,id=kbd1,evdev=/dev/input/by-id/usb-Corsair_Corsair_K65_RGB_Gaming_Keyboard_1403502FAE3D8C8153AA3657F5001944-event-kbd,grab_all=on,repeat=on'/>
  185. <qemu:arg value='-object'/>
  186. <qemu:arg value='input-linux,id=kbd2,evdev=/dev/input/by-id/usb-Corsair_Corsair_K65_RGB_Gaming_Keyboard_1403502FAE3D8C8153AA3657F5001944-if01-event-kbd,grab_all=on,repeat=on'/>
  187. <qemu:arg value='-object'/>
  188. <qemu:arg value='input-linux,id=mouse1,evdev=/dev/input/by-id/usb-Logitech_Gaming_Mouse_G502_187C34703135-event-mouse'/>
  189. <qemu:arg value='-object'/>
  190. <qemu:arg value='input-linux,id=mouse2,evdev=/dev/input/by-id/usb-Logitech_Gaming_Mouse_G502_187C34703135-if01-event-kbd'/>
  191. <qemu:arg value='-smbios'/>
  192. <qemu:arg value='type=2'/>
  193. <qemu:arg value='-k'/>
  194. <qemu:arg value='en-us'/>
  195. <qemu:arg value='-cpu'/>
  196. <qemu:arg value='Penryn,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on'/>
  197. <qemu:env name='QEMU_AUDIO_TIMER_PERIOD' value='100'/>
  198. <qemu:env name='QEMU_PA_ADJUST_LATENCY_OUT' value='1'/>
  199. <qemu:env name='QEMU_AUDIO_DRV' value='pa'/>
  200. <qemu:env name='QEMU_PA_SERVER' value='/run/user/1000/pulse/native'/>
  201. </qemu:commandline>
  202. </domain>
Advertisement
Add Comment
Please, Sign In to add comment