VirtualBox

Changeset 97379 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 3, 2022 10:55:25 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154379
Message:

VMM/NEMR3Native-darwin.cpp: Don't use hv_vcpu_run_until() on Catalina as it throws HV_ERROR sometims for no obvious reasons and there is no way to debug this, bugref:9044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/NEMR3Native-darwin.cpp

    r97374 r97379  
    29782978            pVM->nem.s.fLbr = false;
    29792979        }
     2980
     2981        /*
     2982         * While hv_vcpu_run_until() is available starting with Catalina (10.15) it sometimes returns
     2983         * an error there for no obvious reasons and there is no indication as to why this happens
     2984         * and Apple doesn't document anything. Starting with BigSur (11.0) it appears to work correctly
     2985         * so pretend that hv_vcpu_run_until() doesn't exist on Catalina which can be determined by checking
     2986         * whether another method is available which was introduced with BigSur.
     2987         */
     2988        if (!hv_vmx_get_msr_info) /* Not available means this runs on < 11.0 */
     2989            hv_vcpu_run_until = NULL;
    29802990
    29812991        if (hv_vcpu_run_until)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette