Guest User

Untitled

a guest
Jul 14th, 2022
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.18 KB | None | 0 0
  1. <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  2. <name>macOS</name>
  3. <uuid>2aca0dd6-cec9-4717-9ab2-0b7b13d111c3</uuid>
  4. <title>macOS</title>
  5. <memory unit="KiB">12288000</memory>
  6. <currentMemory unit="KiB">12288000</currentMemory>
  7. <vcpu placement="static">4</vcpu>
  8. <os>
  9. <type arch="x86_64" machine="pc-q35-4.2">hvm</type>
  10. <loader readonly="yes" type="pflash">/LinuxSSD/VMs/OSX-KVM/OVMF_CODE.fd</loader>
  11. <nvram>/LinuxSSD/VMs/OSX-KVM/OVMF_VARS-1024x768.fd</nvram>
  12. </os>
  13. <features>
  14. <acpi/>
  15. <apic/>
  16. </features>
  17. <cpu mode="host-passthrough" check="none" migratable="on"/>
  18. <clock offset="utc">
  19. <timer name="rtc" tickpolicy="catchup"/>
  20. <timer name="pit" tickpolicy="delay"/>
  21. <timer name="hpet" present="no"/>
  22. </clock>
  23. <on_poweroff>destroy</on_poweroff>
  24. <on_reboot>restart</on_reboot>
  25. <on_crash>restart</on_crash>
  26. <devices>
  27. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  28. <disk type="file" device="disk">
  29. <driver name="qemu" type="qcow2" cache="writeback" io="threads"/>
  30. <source file="/LinuxSSD/VMs/OSX-KVM/OpenCore/OpenCore.qcow2"/>
  31. <target dev="sda" bus="sata"/>
  32. <boot order="2"/>
  33. <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  34. </disk>
  35. <disk type="file" device="disk">
  36. <driver name="qemu" type="qcow2" cache="writeback" io="threads"/>
  37. <source file="/LinuxSSD/VMs/OSX-KVM/mac_hdd_ng.img"/>
  38. <target dev="sdb" bus="sata"/>
  39. <boot order="1"/>
  40. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  41. </disk>
  42. <disk type="file" device="disk">
  43. <driver name="qemu" type="raw" cache="writeback"/>
  44. <source file="/LinuxSSD/VMs/OSX-KVM/BaseSystem.img"/>
  45. <target dev="sdc" bus="sata"/>
  46. <boot order="3"/>
  47. <address type="drive" controller="0" bus="0" target="0" unit="2"/>
  48. </disk>
  49. <controller type="sata" index="0">
  50. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  51. </controller>
  52. <controller type="pci" index="0" model="pcie-root"/>
  53. <controller type="pci" index="1" model="pcie-root-port">
  54. <model name="pcie-root-port"/>
  55. <target chassis="1" port="0x8"/>
  56. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0" multifunction="on"/>
  57. </controller>
  58. <controller type="pci" index="2" model="pcie-root-port">
  59. <model name="pcie-root-port"/>
  60. <target chassis="2" port="0x9"/>
  61. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
  62. </controller>
  63. <controller type="pci" index="3" model="pcie-root-port">
  64. <model name="pcie-root-port"/>
  65. <target chassis="3" port="0xa"/>
  66. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x2"/>
  67. </controller>
  68. <controller type="pci" index="4" model="pcie-root-port">
  69. <model name="pcie-root-port"/>
  70. <target chassis="4" port="0xb"/>
  71. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x3"/>
  72. </controller>
  73. <controller type="pci" index="5" model="pcie-root-port">
  74. <model name="pcie-root-port"/>
  75. <target chassis="5" port="0xc"/>
  76. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x4"/>
  77. </controller>
  78. <controller type="pci" index="6" model="pcie-root-port">
  79. <model name="pcie-root-port"/>
  80. <target chassis="6" port="0xd"/>
  81. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x5"/>
  82. </controller>
  83. <controller type="pci" index="7" model="pcie-root-port">
  84. <model name="pcie-root-port"/>
  85. <target chassis="7" port="0xe"/>
  86. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x6"/>
  87. </controller>
  88. <controller type="pci" index="8" model="pcie-root-port">
  89. <model name="pcie-root-port"/>
  90. <target chassis="8" port="0xf"/>
  91. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x7"/>
  92. </controller>
  93. <controller type="pci" index="9" model="pcie-to-pci-bridge">
  94. <model name="pcie-pci-bridge"/>
  95. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  96. </controller>
  97. <controller type="virtio-serial" index="0">
  98. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  99. </controller>
  100. <controller type="usb" index="0" model="ich9-ehci1">
  101. <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x7"/>
  102. </controller>
  103. <controller type="usb" index="0" model="ich9-uhci1">
  104. <master startport="0"/>
  105. <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0" multifunction="on"/>
  106. </controller>
  107. <controller type="usb" index="0" model="ich9-uhci2">
  108. <master startport="2"/>
  109. <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x1"/>
  110. </controller>
  111. <controller type="usb" index="0" model="ich9-uhci3">
  112. <master startport="4"/>
  113. <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x2"/>
  114. </controller>
  115. <interface type="bridge">
  116. <mac address="52:54:00:e6:85:40"/>
  117. <source bridge="virbr0"/>
  118. <model type="vmxnet3"/>
  119. <address type="pci" domain="0x0000" bus="0x09" slot="0x02" function="0x0"/>
  120. </interface>
  121. <input type="mouse" bus="ps2"/>
  122. <input type="keyboard" bus="ps2"/>
  123. <graphics type="spice" autoport="yes">
  124. <listen type="address"/>
  125. </graphics>
  126. <audio id="1" type="spice"/>
  127. <video>
  128. <model type="vga" vram="16384" heads="1" primary="yes"/>
  129. <address type="pci" domain="0x0000" bus="0x09" slot="0x03" function="0x0"/>
  130. </video>
  131. <hostdev mode="subsystem" type="pci" managed="yes">
  132. <source>
  133. <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  134. </source>
  135. <rom file="/usr/share/vgabios/amd.rom"/>
  136. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  137. </hostdev>
  138. <hostdev mode="subsystem" type="pci" managed="yes">
  139. <source>
  140. <address domain="0x0000" bus="0x01" slot="0x00" function="0x1"/>
  141. </source>
  142. <rom file="/usr/share/vgabios/amd.rom"/>
  143. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  144. </hostdev>
  145. <hostdev mode="subsystem" type="pci" managed="yes">
  146. <source>
  147. <address domain="0x0000" bus="0x00" slot="0x14" function="0x0"/>
  148. </source>
  149. <address type="pci" domain="0x0000" bus="0x09" slot="0x01" function="0x0"/>
  150. </hostdev>
  151. <memballoon model="none"/>
  152. </devices>
  153. <qemu:commandline>
  154. <qemu:arg value="-device"/>
  155. <qemu:arg value="isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"/>
  156. <qemu:arg value="-smbios"/>
  157. <qemu:arg value="type=2"/>
  158. <qemu:arg value="-usb"/>
  159. <qemu:arg value="-device"/>
  160. <qemu:arg value="usb-tablet"/>
  161. <qemu:arg value="-device"/>
  162. <qemu:arg value="usb-kbd"/>
  163. <qemu:arg value="-cpu"/>
  164. <qemu:arg value="Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check"/>
  165. </qemu:commandline>
  166. </domain>
  167.  
Advertisement
Add Comment
Please, Sign In to add comment