Advertisement
Guest User

Untitled

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