VirtualBox

Changeset 72779 in vbox


Ignore:
Timestamp:
Jun 29, 2018 8:08:13 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123321
Message:

VMM,SUPDrv,IPRT: Redirect ring-0 release logging on EMTs to VBox.log. [build fix]

  • VMM: Added release ring-0 logging on EMTs that writes to VBox.log.
  • IPRT: Made 'msprog' and 'timeprog' work for ring-0 logging on EMTs.
  • IPRT: Removed RTLogSetCustomPrefixCallbackForR0.
  • VMM: Removed vmmR0LoggerPrefix that was assoicated with the above API.
  • IPRT Fixed missing log prefix on the first log line.
  • SUPDrv: Turns out we require actual code for SUPR0GetDefaultLogRelInstanceEx and SUPR0GetDefaultLogInstanceEx.

Note! Requires updating the support driver.

File:
1 edited

Legend:

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

    r72778 r72779  
    458458        AssertReleaseMsgRCReturn(rc, ("vmmR0LoggerFlush not found! rc=%Rra\n", rc), rc);
    459459
    460         size_t const cbLogger = RTLogCalcSizeForR0(pLogger->cGroups, 0);
     460        size_t const cbLogger = RTLogCalcSizeForR0(pRelLogger->cGroups, 0);
    461461
    462462        for (VMCPUID i = 0; i < pVM->cCpus; i++)
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