Created
May 7, 2018 22:23
-
-
Save firepol/ea395cec7eb769f38308dbfa271c0d6d to your computer and use it in GitHub Desktop.
Libvirt domain I'm trying (w/o success) to use to install macOS High Sierra
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
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> | |
<name>highsierra</name> | |
<uuid>86fcec85-ce33-4c93-8118-bd22e669fa2b</uuid> | |
<memory unit='KiB'>16777216</memory> | |
<currentMemory unit='KiB'>16777216</currentMemory> | |
<vcpu placement='static'>4</vcpu> | |
<os> | |
<type arch='x86_64' machine='pc-q35-2.9'>hvm</type> | |
<loader readonly='yes' type='pflash'>/home/paul/vm/bios/highsierra/OVMF_CODE-pure-efi.fd</loader> | |
<nvram>/home/paul/vm/bios/highsierra/OVMF_VARS-pure-efi.fd</nvram> | |
<bootmenu enable='no'/> | |
</os> | |
<features> | |
<acpi/> | |
<apic/> | |
<kvm> | |
<hidden state='on'/> | |
</kvm> | |
</features> | |
<cpu mode='host-passthrough' check='none'> | |
<topology sockets='1' cores='2' threads='2'/> | |
</cpu> | |
<clock offset='localtime'> | |
<timer name='rtc' tickpolicy='catchup'/> | |
<timer name='pit' tickpolicy='delay'/> | |
<timer name='hpet' present='no'/> | |
</clock> | |
<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='/mnt/transfer/vm/disks/highsierra.qcow2'/> | |
<target dev='sda' bus='sata'/> | |
<boot order='3'/> | |
<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/sdb'/> | |
<target dev='sdc' bus='usb'/> | |
<boot order='1'/> | |
<address type='usb' bus='0' port='4'/> | |
</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='0x00' 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='bridge'> | |
<mac address='52:54:00:00:20:30'/> | |
<source bridge='virbr0'/> | |
<model type='e1000-82545em'/> | |
<address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/> | |
</interface> | |
<input type='keyboard' bus='usb'> | |
<address type='usb' bus='0' port='2'/> | |
</input> | |
<input type='mouse' bus='ps2'/> | |
<input type='tablet' bus='usb'> | |
<address type='usb' bus='0' port='3'/> | |
</input> | |
<input type='keyboard' bus='ps2'/> | |
<graphics type='spice'> | |
<listen type='none'/> | |
</graphics> | |
<sound model='ich9'> | |
<address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/> | |
</sound> | |
<video> | |
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> | |
</video> | |
<redirdev bus='usb' type='spicevmc'> | |
<address type='usb' bus='0' port='5'/> | |
</redirdev> | |
<hub type='usb'> | |
<address type='usb' bus='0' port='1'/> | |
</hub> | |
<memballoon model='none'/> | |
</devices> | |
<seclabel type='none' model='none'/> | |
<qemu:commandline> | |
<qemu:arg value='-device'/> | |
<qemu:arg value='isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc'/> | |
<qemu:arg value='-cpu'/> | |
<qemu:arg value='Penryn,vendor=GenuineIntel,kvm=on,+invtsc,vmware-cpuid-freq=on,'/> | |
</qemu:commandline> | |
</domain> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment