Changeset 7438 in vbox
- Timestamp:
- Mar 12, 2008 4:12:14 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 28876
- Location:
- trunk/src/VBox/Additions/linux/module
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/module/files_vboxadd
r7183 r7438 36 36 ${PATH_ROOT}/include/VBox/types.h=>include/VBox/types.h \ 37 37 ${PATH_ROOT}/include/VBox/ostypes.h=>include/VBox/ostypes.h \ 38 ${PATH_ROOT}/include/VBox/VBoxDev.h=>include/VBox/VBoxDev.h \ 38 39 ${PATH_ROOT}/include/VBox/VBoxGuest.h=>include/VBox/VBoxGuest.h \ 39 40 ${PATH_ROOT}/include/VBox/VBoxGuestLib.h=>include/VBox/VBoxGuestLib.h \ -
trunk/src/VBox/Additions/linux/module/vboxmod.c
r7433 r7438 65 65 66 66 #include <VBox/log.h> 67 #include <VBox/VBoxDev.h> 67 68 #include <iprt/asm.h> 68 69 #include <iprt/assert.h> … … 941 942 VbglGRFree(&infoReq->header); 942 943 944 /* Unset the graphics capability until/unless X is loaded. */ 945 /** @todo check the error code once we bump the additions version. 946 For now we ignore it for compatibility with older hosts. */ 947 { 948 VMMDevReqGuestCapabilities2 *vmmreqGuestCaps; 949 950 951 rcVBox = VbglGRAlloc((VMMDevRequestHeader**)&vmmreqGuestCaps, 952 sizeof(VMMDevReqGuestCapabilities2), 953 VMMDevReq_SetGuestCapabilities); 954 if (VBOX_FAILURE(rcVBox)) 955 { 956 LogRelFunc(("could not allocate request structure! rc = %Vrc\n", rcVBox)); 957 goto fail; 958 } 959 vmmreqGuestCaps->u32OrMask = 0; 960 vmmreqGuestCaps->u32NotMask = VMMDEV_GUEST_SUPPORTS_GRAPHICS; 961 rcVBox = VbglGRPerform(&vmmreqGuestCaps->header); 962 VbglGRFree(&vmmreqGuestCaps->header); 963 if (RT_FAILURE(rcVBox)) 964 goto fail; 965 } 966 943 967 /* perform hypervisor address space reservation */ 944 968 if (vboxadd_reserve_hypervisor())
Note:
See TracChangeset
for help on using the changeset viewer.