VirtualBox

Changeset 32534 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Sep 15, 2010 5:30:20 PM (14 years ago)
Author:
vboxsync
Message:

VMM/DBGFCoreWrite: log.

File:
1 edited

Legend:

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

    r32450 r32534  
    538538    /*
    539539     * Pass the core write request down to EMT rendezvous which makes sure
    540      * other EMTs, if any, are not running.
     540     * other EMTs, if any, are not running. IO threads could still be running
     541     * but we don't care about them.
    541542     */
    542543    DBGFCOREDATA CoreData;
     
    544545    CoreData.pszDumpPath = pszDumpPath;
    545546
    546     return VMMR3EmtRendezvous(pVM, VMMEMTRENDEZVOUS_FLAGS_TYPE_ONCE, dbgfR3CoreWrite, &CoreData);
    547 }
    548 
     547    int rc = VMMR3EmtRendezvous(pVM, VMMEMTRENDEZVOUS_FLAGS_TYPE_ONCE, dbgfR3CoreWrite, &CoreData);
     548    if (RT_SUCCESS(rc))
     549        LogRel((DBGFLOG_NAME ":Successfully wrote guest core '%s'\n", pszDumpPath));
     550    else
     551        LogRel((DBGFLOG_NAME ":Failed to write guest core '%s' (%Rrc)\n", pszDumpPath, rc));
     552    return rc;
     553}
     554
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