From 0237499331653a51154d36aa858c1de141ea5f4c Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Sat, 25 Sep 2021 23:26:50 +0100 Subject: [PATCH] Default to sane disk image size based on OS --- quickemu | 3 +++ 1 file changed, 3 insertions(+) diff --git a/quickemu b/quickemu index 93d2dc9..0a15c76 100755 --- a/quickemu +++ b/quickemu @@ -192,15 +192,18 @@ function vm_boot() { case ${guest_os} in linux) CPU="-cpu host,kvm=on" + disk="16G" ;; macos) CPU="-cpu Penryn,vendor=GenuineIntel,kvm=on,+aes,+avx,+avx2,+bmi1,+bmi2,+fma,+invtsc,+movbe,+pcid,+smep,+sse3,+sse4.2,+xgetbv1,+xsave,+xsavec,+xsaveopt" OSK=$(echo "bheuneqjbexolgurfrjbeqfthneqrqcyrnfrqbagfgrny(p)NccyrPbzchgreVap" | rot13) GUEST_TWEAKS="-device isa-applesmc,osk=${OSK}" + disk="64G" ;; windows) CPU="-cpu host,kvm=on,hv_time" GUEST_TWEAKS="-no-hpet" + disk="64G" ;; *) CPU="-cpu host,kvm=on"