Guest User

Untitled

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