VirtualBox

Changeset 15350 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Dec 12, 2008 3:19:53 AM (16 years ago)
Author:
vboxsync
Message:

Disabled host_vmxon as it is *broken* and will cause occation kernel panics. Extrememly annoying.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp

    r15130 r15350  
    710710int VBOXCALL supdrvOSEnableVTx(bool fEnable)
    711711{
    712 #ifdef VBOX_WITH_HOST_VMX
     712/* Zarking amateurish Apple engineering!
     713   host_vmxon is actually buggy and may panic multicore machines. Reason, it
     714   uses a simple lock which will disable preemption of the cpu/thread trying
     715   to acquire it.  Then it allocate wired memory in the kernel map for each
     716   of the cpus in the system. If anyone else tries to mess around in the
     717   kernel map on another CPU while this is going on, there is a fair chance
     718   that it might cause the host_vmxon thread to block and hence panic since
     719   preemption is disabled. Arrrg! */
     720#if 0 /*def VBOX_WITH_HOST_VMX*/
    713721    int rc;
    714722    if (fEnable)
Note: See TracChangeset for help on using the changeset viewer.

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