Created
March 5, 2017 06:00
-
-
Save kurobeats/369a87a181f5ed050bce51a97edb3340 to your computer and use it in GitHub Desktop.
libvirt OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE | |
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: | |
virsh edit macOS | |
or other application using the libvirt API. | |
--> | |
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> | |
<name>macOS</name> | |
<uuid>6e79e797-26e8-4cc2-8a37-53695cc5b3b8</uuid> | |
<title>macOS</title> | |
<description># echo 1 > /sys/module/kvm/parameters/ignore_msrs</description> | |
<memory unit='KiB'>4194304</memory> | |
<currentMemory unit='KiB'>4194304</currentMemory> | |
<vcpu placement='static'>2</vcpu> | |
<os> | |
<type arch='x86_64' machine='pc-q35-2.4'>hvm</type> | |
<kernel>/mnt/macos/enoch_rev2839_boot</kernel> | |
</os> | |
<features> | |
<acpi/> | |
<kvm> | |
<hidden state='on'/> | |
</kvm> | |
</features> | |
<cpu mode='custom' match='exact'> | |
<model fallback='allow'>Penryn</model> | |
</cpu> | |
<clock offset='utc'/> | |
<on_poweroff>destroy</on_poweroff> | |
<on_reboot>restart</on_reboot> | |
<on_crash>destroy</on_crash> | |
<devices> | |
<emulator>/usr/bin/qemu-system-x86_64</emulator> | |
<disk type='file' device='disk'> | |
<driver name='qemu' type='qcow2'/> | |
<source file='/home/kuro/vms/osx.qcow2'/> | |
<target dev='sda' bus='sata'/> | |
<boot order='1'/> | |
<address type='drive' controller='0' bus='0' target='0' unit='0'/> | |
</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='dmi-to-pci-bridge'> | |
<model name='i82801b11-bridge'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/> | |
</controller> | |
<controller type='pci' index='2' model='pci-bridge'> | |
<model name='pci-bridge'/> | |
<target chassisNr='2'/> | |
<address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/> | |
</controller> | |
<controller type='usb' index='0' model='ich9-ehci1'> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x7'/> | |
</controller> | |
<controller type='usb' index='0' model='ich9-uhci1'> | |
<master startport='0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0' multifunction='on'/> | |
</controller> | |
<controller type='usb' index='0' model='ich9-uhci2'> | |
<master startport='2'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x1'/> | |
</controller> | |
<controller type='usb' index='0' model='ich9-uhci3'> | |
<master startport='4'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x2'/> | |
</controller> | |
<interface type='network'> | |
<mac address='52:54:00:3c:fe:50'/> | |
<source network='internal'/> | |
<model type='e1000-82545em'/> | |
<address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/> | |
</interface> | |
<input type='mouse' bus='usb'> | |
<address type='usb' bus='0' port='1'/> | |
</input> | |
<input type='keyboard' bus='usb'> | |
<address type='usb' bus='0' port='2'/> | |
</input> | |
<input type='mouse' bus='ps2'/> | |
<input type='keyboard' bus='ps2'/> | |
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'> | |
<listen type='address' address='127.0.0.1'/> | |
</graphics> | |
<video> | |
<model type='vmvga' vram='16384' heads='1' primary='yes'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> | |
</video> | |
<memballoon model='none'/> | |
</devices> | |
<qemu:commandline> | |
<qemu:arg value='-device'/> | |
<qemu:arg value='isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc'/> | |
<qemu:arg value='-smbios'/> | |
<qemu:arg value='type=2'/> | |
<qemu:arg value='-k'/> | |
<qemu:arg value='en-us'/> | |
<qemu:arg value='-cpu'/> | |
<qemu:arg value='Penryn,vendor=GenuineIntel'/> | |
</qemu:commandline> | |
</domain> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment