Advertisement
Guest User

Untitled

a guest
Nov 10th, 2022
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.91 KB | None | 0 0
  1. <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  2.   <name>iMacPro1,1</name>
  3.   <uuid>59a0504a-88b5-45eb-a11b-9eba6ea18b1f</uuid>
  4.   <memory unit="KiB">25165824</memory>
  5.   <currentMemory unit="KiB">25165824</currentMemory>
  6.   <memoryBacking>
  7.     <hugepages/>
  8.   </memoryBacking>
  9.   <vcpu placement="static">12</vcpu>
  10.   <vcpus>
  11.     <vcpu id="0" enabled="yes" hotpluggable="no"/>
  12.     <vcpu id="1" enabled="yes" hotpluggable="no"/>
  13.     <vcpu id="2" enabled="yes" hotpluggable="no"/>
  14.     <vcpu id="3" enabled="yes" hotpluggable="no"/>
  15.     <vcpu id="4" enabled="yes" hotpluggable="no"/>
  16.     <vcpu id="5" enabled="yes" hotpluggable="no"/>
  17.     <vcpu id="6" enabled="yes" hotpluggable="no"/>
  18.     <vcpu id="7" enabled="yes" hotpluggable="no"/>
  19.     <vcpu id="8" enabled="yes" hotpluggable="no"/>
  20.     <vcpu id="9" enabled="yes" hotpluggable="no"/>
  21.     <vcpu id="10" enabled="yes" hotpluggable="no"/>
  22.     <vcpu id="11" enabled="yes" hotpluggable="no"/>
  23.   </vcpus>
  24.   <cputune>
  25.     <vcpupin vcpu="0" cpuset="0"/>
  26.     <vcpupin vcpu="1" cpuset="6"/>
  27.     <vcpupin vcpu="2" cpuset="1"/>
  28.     <vcpupin vcpu="3" cpuset="7"/>
  29.     <vcpupin vcpu="4" cpuset="2"/>
  30.     <vcpupin vcpu="5" cpuset="8"/>
  31.     <vcpupin vcpu="6" cpuset="3"/>
  32.     <vcpupin vcpu="7" cpuset="9"/>
  33.     <vcpupin vcpu="8" cpuset="4"/>
  34.     <vcpupin vcpu="9" cpuset="10"/>
  35.     <vcpupin vcpu="10" cpuset="5"/>
  36.     <vcpupin vcpu="11" cpuset="11"/>
  37.     <emulatorpin cpuset="5,11"/>
  38.   </cputune>
  39.   <os>
  40.     <type arch="x86_64" machine="pc-q35-6.2">hvm</type>
  41.     <loader readonly="yes" type="pflash">/usr/share/OVMF/OVMF_CODE.fd</loader>
  42.     <nvram>/home/myozov/Desktop/KVM/ovmf/iMacPro1_1_VARS.fd</nvram>
  43.     <bootmenu enable="yes"/>
  44.   </os>
  45.   <features>
  46.     <acpi/>
  47.     <apic/>
  48.     <kvm>
  49.       <hidden state="on"/>
  50.     </kvm>
  51.     <vmport state="off"/>
  52.     <ioapic driver="kvm"/>
  53.   </features>
  54.   <cpu mode="custom" match="exact" check="none">
  55.     <model fallback="forbid">Penryn</model>
  56.   </cpu>
  57.   <clock offset="localtime">
  58.     <timer name="rtc" tickpolicy="catchup" track="guest"/>
  59.     <timer name="pit" tickpolicy="discard"/>
  60.     <timer name="hpet" present="no"/>
  61.   </clock>
  62.   <on_poweroff>destroy</on_poweroff>
  63.   <on_reboot>restart</on_reboot>
  64.   <on_crash>destroy</on_crash>
  65.   <pm>
  66.     <suspend-to-mem enabled="no"/>
  67.     <suspend-to-disk enabled="no"/>
  68.   </pm>
  69.   <devices>
  70.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  71.     <disk type="file" device="disk">
  72.       <driver name="qemu" type="qcow2" io="threads"/>
  73.       <source file="/stuff/KVM/images/OpenCore/build/iMacPro1_1.qcow2"/>
  74.       <target dev="sda" bus="sata"/>
  75.       <boot order="1"/>
  76.       <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  77.     </disk>
  78.     <disk type="file" device="disk">
  79.       <driver name="qemu" type="raw" io="threads"/>
  80.       <source file="/stuff/KVM/images/monterey.img"/>
  81.       <target dev="sdb" bus="sata"/>
  82.       <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  83.     </disk>
  84.     <controller type="sata" index="0">
  85.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  86.     </controller>
  87.     <controller type="usb" index="0" model="qemu-xhci">
  88.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  89.     </controller>
  90.     <controller type="pci" index="0" model="pcie-root"/>
  91.     <controller type="pci" index="1" model="pcie-root-port">
  92.       <model name="pcie-root-port"/>
  93.       <target chassis="1" port="0x1"/>
  94.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x3"/>
  95.     </controller>
  96.     <controller type="pci" index="1" model="pcie-root-port">
  97.       <model name="pcie-root-port"/>
  98.       <target chassis="1" port="0x8"/>
  99.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0" multifunction="on"/>
  100.     </controller>
  101.     <controller type="pci" index="2" model="pcie-root-port">
  102.       <model name="pcie-root-port"/>
  103.       <target chassis="2" port="0x9"/>
  104.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
  105.     </controller>
  106.     <controller type="pci" index="3" model="pcie-root-port">
  107.       <model name="pcie-root-port"/>
  108.       <target chassis="3" port="0xa"/>
  109.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x2"/>
  110.     </controller>
  111.     <interface type="bridge">
  112.       <mac address="52:54:00:50:21:4e"/>
  113.       <source bridge="virbr0"/>
  114.       <model type="vmxnet3"/>
  115.       <address type="pci" domain="0x0000" bus="0x00" slot="0x08" function="0x0"/>
  116.     </interface>
  117.     <input type="mouse" bus="ps2"/>
  118.     <input type="keyboard" bus="ps2"/>
  119.     <audio id="1" type="none"/>
  120.     <hostdev mode="subsystem" type="pci" managed="no">
  121.       <source>
  122.         <address domain="0x0000" bus="0x0c" slot="0x00" function="0x0"/>
  123.       </source>
  124.       <rom file="/home/myozov/Desktop/KVM/egpu/rx6600xt.rom"/>
  125.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0" multifunction="on"/>
  126.     </hostdev>
  127.     <hostdev mode="subsystem" type="pci" managed="no">
  128.       <source>
  129.         <address domain="0x0000" bus="0x0c" slot="0x00" function="0x1"/>
  130.       </source>
  131.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x1"/>
  132.     </hostdev>
  133.     <hostdev mode="subsystem" type="usb" managed="yes">
  134.       <source>
  135.         <vendor id="0x046d"/>
  136.         <product id="0xc52b"/>
  137.       </source>
  138.       <address type="usb" bus="0" port="1"/>
  139.     </hostdev>
  140.     <hostdev mode="subsystem" type="usb" managed="yes">
  141.       <source>
  142.         <vendor id="0x093a"/>
  143.         <product id="0x2510"/>
  144.       </source>
  145.       <address type="usb" bus="0" port="2"/>
  146.     </hostdev>
  147.     <memballoon model="none"/>
  148.   </devices>
  149.   <qemu:commandline>
  150.     <qemu:arg value="-smbios"/>
  151.     <qemu:arg value="type=2"/>
  152.     <qemu:arg value="-global"/>
  153.     <qemu:arg value="ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off"/>
  154.   </qemu:commandline>
  155. </domain>
  156.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement