From 5c53dec4495cb599905253c7b4eccef2448f3777 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Mon, 25 Oct 2021 12:54:41 +0100 Subject: [PATCH] Increase disk_size for macOS and display MSR alerts more often. Close #153 --- quickemu | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/quickemu b/quickemu index 1d3d0fa..c979624 100755 --- a/quickemu +++ b/quickemu @@ -489,7 +489,7 @@ function vm_boot() { OSK=$(echo "bheuneqjbexolgurfrjbeqfthneqrqcyrnfrqbagfgrny(p)NccyrPbzchgreVap" | tr 'A-Za-z' 'N-ZA-Mn-za-m') GUEST_TWEAKS="-device isa-applesmc,osk=${OSK} -no-hpet -global kvm-pit.lost_tick_policy=discard" if [ -z "${disk_size}" ]; then - disk_size="64G" + disk_size="96G" fi ;; windows) @@ -569,13 +569,11 @@ function vm_boot() { # If there is a disk image that appears to be used do not boot from installation media. iso="" img="" - else - if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then - # Display MSRs alert if the disk appears unused and guest is macOS or Windows - # Assume that a "used" disk has a working install, therefore no alerts are - # required. - ignore_msrs_alert - fi + fi + + if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then + # Display MSRs alert if the guest is macOS + ignore_msrs_alert fi # Has the status quo been requested?