Move MSR warning to an appropriate section of the status messages

This commit is contained in:
Martin Wimpress 2022-08-18 17:51:31 +01:00
parent 3f05e41e13
commit 13abd0c5a7
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3

View File

@ -336,6 +336,11 @@ function vm_boot() {
boot=${boot,,} boot=${boot,,}
guest_os=${guest_os,,} guest_os=${guest_os,,}
if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then
# Display MSRs alert if the guest is macOS or windows
ignore_msrs_alert
fi
# Always Boot macOS using EFI # Always Boot macOS using EFI
if [ "${guest_os}" == "macos" ]; then if [ "${guest_os}" == "macos" ]; then
boot="efi" boot="efi"
@ -636,11 +641,6 @@ function vm_boot() {
img="" img=""
fi fi
if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then
# Display MSRs alert if the guest is macOS or windows
ignore_msrs_alert
fi
# Has the status quo been requested? # Has the status quo been requested?
if [ "${STATUS_QUO}" == "-snapshot" ]; then if [ "${STATUS_QUO}" == "-snapshot" ]; then
if [ -z "${img}" ] && [ -z "${iso}" ]; then if [ -z "${img}" ] && [ -z "${iso}" ]; then