274 lines
5.7 KiB
XML
274 lines
5.7 KiB
XML
<domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
|
|
|
|
<name>OSX</name>
|
|
|
|
<uuid>6d97a6ba-d129-4709-a8f5-d28eaec181bc</uuid>
|
|
|
|
<memory unit="KiB">8388608</memory>
|
|
|
|
<currentMemory unit="KiB">8388608</currentMemory>
|
|
|
|
<vcpu placement="static">16</vcpu>
|
|
|
|
<os>
|
|
|
|
<type arch="x86_64" machine="pc-q35-6.0">hvm</type>
|
|
|
|
<loader readonly="yes" type="pflash">/mnt/Usagichan/OSX-KVM/OVMF_CODE.fd</loader>
|
|
|
|
<nvram>/mnt/Usagichan/OSX-KVM/OVMF_VARS-1024x768.fd</nvram>
|
|
|
|
<boot dev="hd"/>
|
|
|
|
<bootmenu enable="yes"/>
|
|
|
|
</os>
|
|
|
|
<features>
|
|
|
|
<acpi/>
|
|
|
|
<pae/>
|
|
|
|
</features>
|
|
|
|
<cpu mode="custom" match="exact" check="none">
|
|
|
|
<model fallback="forbid">qemu64</model>
|
|
|
|
<topology sockets="1" dies="1" cores="16" threads="1"/>
|
|
|
|
</cpu>
|
|
|
|
<clock offset="utc"/>
|
|
|
|
<on_poweroff>destroy</on_poweroff>
|
|
|
|
<on_reboot>restart</on_reboot>
|
|
|
|
<on_crash>destroy</on_crash>
|
|
|
|
<pm>
|
|
|
|
<suspend-to-mem enabled="no"/>
|
|
|
|
<suspend-to-disk enabled="no"/>
|
|
|
|
</pm>
|
|
|
|
<devices>
|
|
|
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
|
|
|
<disk type="file" device="disk">
|
|
|
|
<driver name="qemu" type="qcow2"/>
|
|
|
|
<source file="/mnt/Usagichan/OSX-KVM/OpenCore/OpenCore.qcow2"/>
|
|
|
|
<target dev="sda" bus="sata"/>
|
|
|
|
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
|
|
|
|
</disk>
|
|
|
|
<disk type="block" device="disk">
|
|
|
|
<driver name="qemu" type="raw" cache="none" io="native"/>
|
|
|
|
<source dev="/dev/sda"/>
|
|
|
|
<target dev="sdb" bus="sata"/>
|
|
|
|
<address type="drive" controller="0" bus="0" target="0" unit="1"/>
|
|
|
|
</disk>
|
|
|
|
<controller type="sata" index="0">
|
|
|
|
<address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
|
|
|
|
</controller>
|
|
|
|
<controller type="pci" index="0" model="pcie-root"/>
|
|
|
|
<controller type="pci" index="1" model="pcie-root-port">
|
|
|
|
<model name="pcie-root-port"/>
|
|
|
|
<target chassis="1" port="0x10"/>
|
|
|
|
<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
|
|
|
|
</controller>
|
|
|
|
<controller type="pci" index="2" model="pcie-to-pci-bridge">
|
|
|
|
<model name="pcie-pci-bridge"/>
|
|
|
|
<address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
|
|
|
|
</controller>
|
|
|
|
<controller type="pci" index="3" model="pcie-root-port">
|
|
|
|
<model name="pcie-root-port"/>
|
|
|
|
<target chassis="3" port="0x11"/>
|
|
|
|
<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
|
|
|
|
</controller>
|
|
|
|
<controller type="pci" index="4" model="pcie-root-port">
|
|
|
|
<model name="pcie-root-port"/>
|
|
|
|
<target chassis="4" port="0x12"/>
|
|
|
|
<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
|
|
|
|
</controller>
|
|
|
|
<controller type="pci" index="5" model="pcie-root-port">
|
|
|
|
<model name="pcie-root-port"/>
|
|
|
|
<target chassis="5" port="0x8"/>
|
|
|
|
<address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0" multifunction="on"/>
|
|
|
|
</controller>
|
|
|
|
<controller type="pci" index="6" model="pcie-root-port">
|
|
|
|
<model name="pcie-root-port"/>
|
|
|
|
<target chassis="6" port="0x9"/>
|
|
|
|
<address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
|
|
|
|
</controller>
|
|
|
|
<controller type="scsi" index="0" model="lsilogic">
|
|
|
|
<address type="pci" domain="0x0000" bus="0x02" slot="0x03" function="0x0"/>
|
|
|
|
</controller>
|
|
|
|
<controller type="usb" index="0" model="piix3-uhci">
|
|
|
|
<address type="pci" domain="0x0000" bus="0x02" slot="0x01" function="0x0"/>
|
|
|
|
</controller>
|
|
|
|
<controller type="usb" index="1" model="piix3-uhci">
|
|
|
|
<address type="pci" domain="0x0000" bus="0x02" slot="0x05" function="0x0"/>
|
|
|
|
</controller>
|
|
|
|
<interface type="network">
|
|
|
|
<mac address="52:54:00:de:3f:63"/>
|
|
|
|
<source network="default"/>
|
|
|
|
<model type="vmxnet3"/>
|
|
|
|
<address type="pci" domain="0x0000" bus="0x02" slot="0x02" function="0x0"/>
|
|
|
|
</interface>
|
|
|
|
<input type="mouse" bus="ps2"/>
|
|
|
|
<input type="keyboard" bus="ps2"/>
|
|
|
|
<audio id="1" type="none"/>
|
|
|
|
<hostdev mode="subsystem" type="pci" managed="yes">
|
|
|
|
<source>
|
|
|
|
<address domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
|
|
|
|
</source>
|
|
|
|
<address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
|
|
|
|
</hostdev>
|
|
|
|
<hostdev mode="subsystem" type="pci" managed="yes">
|
|
|
|
<source>
|
|
|
|
<address domain="0x0000" bus="0x08" slot="0x00" function="0x1"/>
|
|
|
|
</source>
|
|
|
|
<address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
|
|
|
|
</hostdev>
|
|
|
|
<hostdev mode="subsystem" type="pci" managed="yes">
|
|
|
|
<source>
|
|
|
|
<address domain="0x0000" bus="0x0a" slot="0x00" function="0x3"/>
|
|
|
|
</source>
|
|
|
|
<address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
|
|
|
|
</hostdev>
|
|
|
|
<hostdev mode="subsystem" type="usb" managed="yes">
|
|
|
|
<source>
|
|
|
|
<vendor id="0x04d9"/>
|
|
|
|
<product id="0xa070"/>
|
|
|
|
</source>
|
|
|
|
<address type="usb" bus="0" port="1"/>
|
|
|
|
</hostdev>
|
|
|
|
<hostdev mode="subsystem" type="usb" managed="yes">
|
|
|
|
<source>
|
|
|
|
<vendor id="0x413c"/>
|
|
|
|
<product id="0x2107"/>
|
|
|
|
</source>
|
|
|
|
<address type="usb" bus="0" port="2"/>
|
|
|
|
</hostdev>
|
|
|
|
<memballoon model="none"/>
|
|
|
|
</devices>
|
|
|
|
<qemu:commandline>
|
|
|
|
<qemu:arg value="-cpu"/>
|
|
|
|
<qemu:arg value="Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check"/>
|
|
|
|
<qemu:arg value="-device"/>
|
|
|
|
<qemu:arg value="isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"/>
|
|
|
|
<qemu:arg value="-smbios"/>
|
|
|
|
<qemu:arg value="type=2"/>
|
|
|
|
</qemu:commandline>
|
|
|
|
</domain>
|
|
|