VirtualBox

Changeset 96925 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Sep 28, 2022 8:39:43 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
153836
Message:

VMM,RuntimeR0: Flush the log buffer directly to the parent VMM if that's the only destination, and honor the unbuffered setting when that's the case. Setting VBOX_LOG_DEST='nofile vmm' & excluding 'buffered' from VBOX_LOG_FLAGS for the inner VBox instance will result in the logging to be intermixed w/o any buffering delays and no need to try correlate events between outer and inner vbox instances. bugref:10092

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/vmm.h

    r96407 r96925  
    454454 * Request package for VMMR0_DO_VMMR0_UPDATE_LOGGERS.
    455455 *
    456  * In addition the u64Arg selects the logger sets: @c false for debug, @c true
    457  * for release.
     456 * In addition the u64Arg is selects the logger and indicates whether we're only
     457 * outputting to the parent VMM. See VMMR0UPDATELOGGER_F_XXX.
    458458 */
    459459typedef struct VMMR0UPDATELOGGERSREQ
     
    473473/** Pointer to a VMMR0_DO_VMMR0_UPDATE_LOGGERS request. */
    474474typedef VMMR0UPDATELOGGERSREQ *PVMMR0UPDATELOGGERSREQ;
     475
     476/** @name VMMR0UPDATELOGGER_F_XXX - u64Arg definitions for VMMR0_DO_VMMR0_UPDATE_LOGGERS.
     477 * @{ */
     478/** Logger index mask. */
     479#define VMMR0UPDATELOGGER_F_LOGGER_MASK         UINT64_C(0x0001)
     480/** Only flush to the parent VMM's debug log, don't return to ring-3. */
     481#define VMMR0UPDATELOGGER_F_TO_PARENT_VMM_DBG   UINT64_C(0x0002)
     482/** Only flush to the parent VMM's debug log, don't return to ring-3. */
     483#define VMMR0UPDATELOGGER_F_TO_PARENT_VMM_REL   UINT64_C(0x0004)
     484/** Valid flag mask. */
     485#define VMMR0UPDATELOGGER_F_VALID_MASK          UINT64_C(0x0007)
     486/** @} */
    475487
    476488#if defined(IN_RING0) || defined(DOXYGEN_RUNNING)
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