Changeset 29043 in vbox for trunk/src/VBox/Additions
- Timestamp:
- May 4, 2010 8:29:57 PM (15 years ago)
- Location:
- trunk/src/VBox/Additions/common/VBoxGuest
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
r28800 r29043 34 34 #ifdef VBOX_WITH_HGCM 35 35 # include <iprt/thread.h> 36 #endif 37 #include "version-generated.h" 38 #if defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD) 39 # include "revision-generated.h" 36 40 #endif 37 41 … … 273 277 VbglGRFree(&pReq->header); 274 278 } 279 VMMDevReportGuestInfo2 *pReq2; 280 if (RT_SUCCESS(rc)) 281 rc = VbglGRAlloc((VMMDevRequestHeader **)&pReq2, sizeof(*pReq2), VMMDevReq_ReportGuestInfo2); 282 if (RT_SUCCESS(rc)) 283 { 284 pReq2->guestInfo.additionsMajor = VBOX_VERSION_MAJOR; 285 pReq2->guestInfo.additionsMinor = VBOX_VERSION_MINOR; 286 pReq2->guestInfo.additionsBuild = VBOX_VERSION_BUILD; 287 pReq2->guestInfo.additionsRevision = VBOX_SVN_REV; 288 pReq2->guestInfo.additionsFeatures = 0; 289 RTStrCopy(pReq2->guestInfo.szName, sizeof(pReq2->guestInfo.szName), VBOX_VERSION_STRING); 290 rc = VbglGRPerform(&pReq2->header); 291 if (rc == VERR_NOT_IMPLEMENTED) /* compatibility with older guests */ 292 rc = VINF_SUCCESS; 293 if ( RT_FAILURE(rc) 294 || RT_FAILURE(pReq2->header.rc)) 295 LogRel(("vboxGuestInitReportGuestInfo2: failed with rc=%Rrc and VMMDev rc=%Rrc\n", 296 rc, pReq2->header.rc)); 297 VbglGRFree(&pReq2->header); 298 } 275 299 return rc; 276 300 } -
trunk/src/VBox/Additions/common/VBoxGuest/freebsd/files_vboxguest
r27149 r29043 175 175 ${PATH_ROOT}/src/VBox/Runtime/VBox/logbackdoor.cpp=>VBox/logbackdoor.c \ 176 176 ${PATH_OUT}/version-generated.h=>version-generated.h \ 177 ${PATH_OUT}/revision-generated.h=>revision-generated.h \ 177 178 " 178 179 -
trunk/src/VBox/Additions/common/VBoxGuest/linux/files_vboxguest
r28800 r29043 142 142 ${PATH_OUT}/version-generated.h=>version-generated.h \ 143 143 ${PATH_OUT}/product-generated.h=>product-generated.h \ 144 ${PATH_OUT}/revision-generated.h=>revision-generated.h \ 144 145 " 145 146
Note:
See TracChangeset
for help on using the changeset viewer.