Created
October 1, 2016 11:39
-
-
Save sergeycherepanov/122fcbe94d9b260ccc1de73888926e66 to your computer and use it in GitHub Desktop.
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
qemu-system-x86_64 \ | |
\ | |
-rtc clock=vm,base=2016-01-01T16:01:21 \ | |
\ | |
-m 4096 \ | |
-enable-kvm \ | |
-name osxcapitan \ | |
-cpu core2duo,vendor=GenuineIntel \ | |
-rtc base=localtime \ | |
-smbios type=2 \ | |
-machine q35,accel=kvm,usb=off,vmport=off \ | |
-bios /vm/osx-ovmf-bios-src-build/bios.bin \ | |
-device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" \ | |
\ | |
-device i82801b11-bridge,id=pci.1,bus=pcie.0,addr=0x1e \ | |
-device pci-bridge,chassis_nr=2,id=pci.2,bus=pci.1,addr=0x1 \ | |
-device ahci,id=sata0,bus=pci.2,addr=0x5 \ | |
\ | |
-drive file=/vm/img/osx-el-capitan.img,if=none,id=drive-sata0-0-2,format=raw \ | |
-device ide-hd,bus=ide.2,drive=drive-sata0-0-2,id=sata0-0-2,bootindex=1 \ | |
\ | |
-drive file=/vm/drives/osx-vm0-disk0.qcow2,if=none,media=disk,id=drive-sata0-0-0,format=qcow2 \ | |
-device ide-hd,bus=sata0.0,drive=drive-sata0-0-0,id=sata0-0-0 \ | |
\ | |
-usb \ | |
-device usb-mouse \ | |
-device usb-kbd \ | |
-serial stdio \ | |
-device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vgamem_mb=16 \ | |
-vnc 0.0.0.0:1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment