VirtualBox

Changeset 70085 in vbox


Ignore:
Timestamp:
Dec 12, 2017 5:35:22 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119633
Message:

VBoxGuest: Enabled option reading from the host on all platforms.

Location:
trunk/src/VBox/Additions/common/VBoxGuest
Files:
8 edited

Legend:

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

    r70066 r70085  
    926926                            if (setupVmmDevInterrupts(pProvider))
    927927                            {
    928                                 /* register the service. */
     928                                /*
     929                                 * Read host configuration.
     930                                 */
     931                                VGDrvCommonProcessOptionsFromHost(&g_DevExt);
     932
     933                                /*
     934                                 * Register the service.
     935                                 */
    929936                                registerService();
    930937                                LogRel(("VBoxGuest: IOService started\n"));
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-freebsd.c

    r70066 r70085  
    708708                {
    709709                    /*
     710                     * Read host configuration.
     711                     */
     712                    VGDrvCommonProcessOptionsFromHost(&g_DevExt);
     713
     714                    /*
    710715                     * Configure device cloning.
    711716                     */
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c

    r70066 r70085  
    645645#endif
    646646                        /*
     647                         * Read host configuration.
     648                         */
     649                        VGDrvCommonProcessOptionsFromHost(&g_DevExt);
     650
     651                        /*
    647652                         * Finally, create the device nodes.
    648653                         */
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-os2.cpp

    r70066 r70085  
    188188                    {
    189189                        /*
     190                         * Read host configuration.
     191                         */
     192                        VGDrvCommonProcessOptionsFromHost(&g_DevExt);
     193
     194                        /*
    190195                         * Success
    191196                         */
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp

    r70067 r70085  
    12761276     * Read configuration from the host.
    12771277     */
    1278     LogRelFunc(("Calling VGDrvCommonProcessOptionsFromHost...\n"));
    12791278    VGDrvCommonProcessOptionsFromHost(&pDevExt->Core);
    1280     LogRelFunc(("VGDrvCommonProcessOptionsFromHost returned\n"));
    12811279}
    12821280
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp

    r70067 r70085  
    5555#include <VBox/VMMDev.h> /* for VMMDEV_RAM_SIZE */
    5656#include <VBox/log.h>
    57 #if !defined(RT_OS_LINUX) && !defined(RT_OS_FREEBSD)
    58 # include <VBox/HostServices/GuestPropertySvc.h>
    59 #endif
     57#include <VBox/HostServices/GuestPropertySvc.h>
    6058#include <iprt/ctype.h>
    6159#include <iprt/mem.h>
     
    12021200void VGDrvCommonProcessOptionsFromHost(PVBOXGUESTDEVEXT pDevExt)
    12031201{
    1204 #if !defined(RT_OS_LINUX) && !defined(RT_OS_FREEBSD)
    12051202    /*
    12061203     * Create a kernel session without our selves, then connect to the HGCM service.
     
    13661363    else
    13671364        LogRel(("VGDrvCommonReadConfigurationFromHost: failed to connect: %Rrc\n", rc));
    1368 
    1369 #else   /* RT_OS_LINUX || RT_OS_FREEBSD */
    1370     RT_NOREF(pDevExt);
    1371 #endif
    13721365}
    13731366
  • trunk/src/VBox/Additions/common/VBoxGuest/freebsd/files_vboxguest

    r69838 r70085  
    8686    ${PATH_ROOT}/include/VBox/VBoxGuestMangling.h=>include/VBox/VBoxGuestMangling.h \
    8787    ${PATH_ROOT}/include/VBox/version.h=>include/VBox/version.h \
     88    ${PATH_ROOT}/include/VBox/HostServices/GuestPropertySvc.h=>include/VBox/HostServices/GuestPropertySvc.h \
    8889    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp=>VBoxGuest.c \
    8990    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/VBoxGuest-freebsd.c=>VBoxGuest-freebsd.c \
  • trunk/src/VBox/Additions/common/VBoxGuest/linux/files_vboxguest

    r69838 r70085  
    8282    ${PATH_ROOT}/include/VBox/VBoxGuestMangling.h=>include/VBox/VBoxGuestMangling.h \
    8383    ${PATH_ROOT}/include/VBox/version.h=>include/VBox/version.h \
     84    ${PATH_ROOT}/include/VBox/hgcmsvc.h=>include/VBox/hgcmsvc.h \
     85    ${PATH_ROOT}/include/VBox/HostServices/GuestPropertySvc.h=>include/VBox/HostServices/GuestPropertySvc.h \
    8486    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp=>VBoxGuest.c \
    8587    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c=>VBoxGuest-linux.c \
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