VirtualBox

Changeset 106173 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Sep 27, 2024 11:18:49 PM (2 months ago)
Author:
vboxsync
Message:

Add/VBoxGuest: Add the product version and revision to the release log on windows as we can better see what's running in the guest. bugref:10766

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp

    r106061 r106173  
    4848#include <iprt/asm.h>
    4949#include <iprt/asm-amd64-x86.h>
     50#include <iprt/buildconfig.h>
    5051#include <iprt/critsect.h>
    5152#include <iprt/dbg.h>
     
    341342
    342343    /* Use RTLogBackdoorPrintf to make sure that this goes to VBox.log on the host. */
    343     RTLogBackdoorPrintf("VBoxGuest: Windows version %u.%u, build %u\n", ulMajorVer, ulMinorVer, ulBuildNo);
    344     if (fCheckedBuild)
    345         RTLogBackdoorPrintf("VBoxGuest: Windows checked build\n");
     344    RTLogBackdoorPrintf("VBoxGuest: %s r%s Windows version %u.%u, build %u%s\n",
     345                        RTBldCfgVersion(), RTBldCfgRevisionStr(), ulMajorVer, ulMinorVer, ulBuildNo,
     346                        fCheckedBuild ? ", checked build" : "");
    346347
    347348#ifdef VBOX_STRICT
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