aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Clouter <[email protected]>2020-09-20 10:05:40 +0100
committerAlexander Clouter <[email protected]>2020-09-20 11:18:11 +0100
commitde9b31923c4d829361df36598cd7a1d97226d608 (patch)
tree248a7569649923180f3ae6fc708b6c2c290f42d4
parentuse shell exec/set-eu (diff)
downloaddocker-osx-de9b31923c4d829361df36598cd7a1d97226d608.tar.xz
docker-osx-de9b31923c4d829361df36598cd7a1d97226d608.zip
support fallback to tcg from kvm
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 2cbaa3f..cf84c76 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -145,9 +145,9 @@ RUN touch Launch.sh \
&& chmod +x ./Launch.sh \
&& tee -a Launch.sh <<< '#!/bin/sh' \
&& tee -a Launch.sh <<< 'set -eu' \
- && tee -a Launch.sh <<< 'exec qemu-system-x86_64 -enable-kvm -m ${RAM:-8}000 \' \
- && tee -a Launch.sh <<< '-cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check \' \
- && tee -a Launch.sh <<< '-machine q35 \' \
+ && tee -a Launch.sh <<< 'exec qemu-system-x86_64 -m ${RAM:-8}000 \' \
+ && tee -a Launch.sh <<< '-cpu Penryn,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check \' \
+ && tee -a Launch.sh <<< '-machine q35,accel=kvm:tcg \' \
&& tee -a Launch.sh <<< '-smp ${SMP:-4},cores=${CORES:-4} \' \
&& tee -a Launch.sh <<< '-usb -device usb-kbd -device usb-tablet \' \
&& tee -a Launch.sh <<< '-device isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal\(c\)AppleComputerInc \' \