VirtualBox

Changeset 92870 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Dec 10, 2021 11:48:55 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
148817
Message:

VMM/GVMMR0: Added more LogRel statements to failure paths of GVMMR0Init to try track down the VERR_INVALID_PARAMETER that started on some boxes after enabling GVMM_SCHED_WITH_PPT.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/GVMMR0.cpp

    r92858 r92870  
    437437                                         &pGVMM->aHostCpus[iCpu]);
    438438                    if (RT_SUCCESS(rc))
     439                    {
    439440                        rc = RTSpinlockCreate(&pGVMM->aHostCpus[iCpu].Ppt.hSpinlock, RTSPINLOCK_FLAGS_INTERRUPT_SAFE, "GVMM/CPU");
     441                        if (RT_FAILURE(rc))
     442                            LogRel(("GVMMR0Init: RTSpinlockCreate failed for #%u (%d)\n", iCpu, rc));
     443                    }
     444                    else
     445                        LogRel(("GVMMR0Init: RTTimerCreateEx failed for #%u (%d)\n", iCpu, rc));
    440446                    if (RT_FAILURE(rc))
    441447                    {
     
    467473            RTCritSectRwDelete(&pGVMM->UsedLock);
    468474        }
     475        else
     476            LogRel(("GVMMR0Init: RTCritSectRwInitEx failed (%d)\n", rc));
    469477        RTCritSectDelete(&pGVMM->CreateDestroyLock);
    470478    }
     479    else
     480        LogRel(("GVMMR0Init: RTCritSectInitEx failed (%d)\n", rc));
    471481
    472482    RTMemFree(pGVMM);
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