VirtualBox

Changeset 96925 in vbox for trunk/src/VBox/VMM/include


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/src/VBox/VMM/include/VMMInternal.h

    r96407 r96925  
    9999    /** Set while we're inside vmmR0LoggerFlushCommon to prevent recursion. */
    100100    bool                    fFlushing;
    101     bool                    afPadding[1];
     101    /** Flush to parent VMM's debug log instead of ring-3. */
     102    bool                    fFlushToParentVmmDbg : 1;
     103    /** Flush to parent VMM's debug log instead of ring-3. */
     104    bool                    fFlushToParentVmmRel : 1;
    102105    /** Number of buffers currently queued for flushing. */
    103106    uint32_t volatile       cFlushing;
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