mirror of https://github.com/kholia/OSX-KVM.git
Compare commits
1 Commits
6f8b71129e
...
2de68eebb2
Author | SHA1 | Date |
---|---|---|
|
2de68eebb2 |
|
@ -51,8 +51,8 @@ args=(
|
||||||
-drive id=InstallMedia,if=none,file="$REPO_PATH/BaseSystem.img",format=raw
|
-drive id=InstallMedia,if=none,file="$REPO_PATH/BaseSystem.img",format=raw
|
||||||
-drive id=MacHDD,if=none,file="$REPO_PATH/mac_hdd_ng.img",format=qcow2
|
-drive id=MacHDD,if=none,file="$REPO_PATH/mac_hdd_ng.img",format=qcow2
|
||||||
-device ide-hd,bus=sata.4,drive=MacHDD
|
-device ide-hd,bus=sata.4,drive=MacHDD
|
||||||
-netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:c9:18:27
|
# -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:c9:18:27
|
||||||
#-netdev user,id=net0 -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:c9:18:27
|
-netdev user,id=net0 -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:c9:18:27
|
||||||
-monitor stdio
|
-monitor stdio
|
||||||
-device VGA,vgamem_mb=128
|
-device VGA,vgamem_mb=128
|
||||||
)
|
)
|
||||||
|
|
|
@ -27,6 +27,9 @@ help (pull-requests!) with the following work items:
|
||||||
|
|
||||||
* Document how to use this project for XNU kernel debugging and development.
|
* Document how to use this project for XNU kernel debugging and development.
|
||||||
|
|
||||||
|
* Document the process to create and reuse VM snapshots. Instantaneous macOS
|
||||||
|
boots would be nice this way.
|
||||||
|
|
||||||
* Document the process to launch a bunch of headless macOS VMs (build farm).
|
* Document the process to launch a bunch of headless macOS VMs (build farm).
|
||||||
|
|
||||||
* Document usage of [munki](https://github.com/munki/munki) to deploy software
|
* Document usage of [munki](https://github.com/munki/munki) to deploy software
|
||||||
|
@ -34,6 +37,8 @@ help (pull-requests!) with the following work items:
|
||||||
|
|
||||||
* Enable VNC + SSH support out of the box or more easily.
|
* Enable VNC + SSH support out of the box or more easily.
|
||||||
|
|
||||||
|
* Better support + docs for AMD Ryzen.
|
||||||
|
|
||||||
* Robustness improvements are always welcome!
|
* Robustness improvements are always welcome!
|
||||||
|
|
||||||
* (Not so) crazy idea - automate the macOS installation via OpenCV.
|
* (Not so) crazy idea - automate the macOS installation via OpenCV.
|
||||||
|
@ -66,7 +71,7 @@ Phenom II X3 720 does not. Ryzen processors work just fine.
|
||||||
To make this change permanent, you may use the following command.
|
To make this change permanent, you may use the following command.
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo cp kvm.conf /etc/modprobe.d/kvm.conf # for intel boxes only
|
sudo cp kvm.conf /etc/modprobe.d/kvm.conf # for intel boxes
|
||||||
```
|
```
|
||||||
|
|
||||||
* Install QEMU and other packages.
|
* Install QEMU and other packages.
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
# - Fix cpuid related warning on EPYC
|
# - Fix cpuid related warning on EPYC
|
||||||
# - Fix 'savevm' support
|
# - Fix 'savevm' support
|
||||||
|
|
||||||
MY_OPTIONS="+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check"
|
MY_OPTIONS="+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check"
|
||||||
|
|
||||||
# This script works for Catalina as well as Mojave. Tested with macOS 10.14.6 and macOS 10.15.6.
|
# This script works for Catalina as well as Mojave. Tested with macOS 10.14.6 and macOS 10.15.6.
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
# NOTE: Tweak the "MY_OPTIONS" line in case you are having booting problems!
|
# NOTE: Tweak the "MY_OPTIONS" line in case you are having booting problems!
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
MY_OPTIONS="+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check"
|
MY_OPTIONS="+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check"
|
||||||
|
|
||||||
# This script works for Big Sur, Catalina, Mojave, and High Sierra. Tested with
|
# This script works for Big Sur, Catalina, Mojave, and High Sierra. Tested with
|
||||||
# macOS 10.15.6, macOS 10.14.6, and macOS 10.13.6
|
# macOS 10.15.6, macOS 10.14.6, and macOS 10.13.6
|
||||||
|
|
|
@ -201,7 +201,7 @@
|
||||||
<qemu:arg value='-device'/>
|
<qemu:arg value='-device'/>
|
||||||
<qemu:arg value='usb-kbd'/>
|
<qemu:arg value='usb-kbd'/>
|
||||||
<qemu:arg value='-cpu'/>
|
<qemu:arg value='-cpu'/>
|
||||||
<qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check'/>
|
<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='Penryn,vendor=GenuineIntel,+hypervisor,+invtsc,kvm=on,+fma,+avx,+avx2,+aes,+ssse3,+sse4_2,+popcnt,+sse4a,+bmi1,+bmi2'/> -->
|
<!-- <qemu:arg value='Penryn,vendor=GenuineIntel,+hypervisor,+invtsc,kvm=on,+fma,+avx,+avx2,+aes,+ssse3,+sse4_2,+popcnt,+sse4a,+bmi1,+bmi2'/> -->
|
||||||
<!-- If you wanna use cpu host-passthrough mode, uncomments below-->
|
<!-- If you wanna use cpu host-passthrough mode, uncomments below-->
|
||||||
<!-- <qemu:arg value='host,vendor=GenuineIntel,+hypervisor,+invtsc,kvm=on,+fma,+avx,+avx2,+aes,+ssse3,+sse4_2,+popcnt,+sse4a,+bmi1,+bmi2'/> -->
|
<!-- <qemu:arg value='host,vendor=GenuineIntel,+hypervisor,+invtsc,kvm=on,+fma,+avx,+avx2,+aes,+ssse3,+sse4_2,+popcnt,+sse4a,+bmi1,+bmi2'/> -->
|
||||||
|
|
Loading…
Reference in New Issue