VirtualBox

Changeset 93512 in vbox for trunk/src


Ignore:
Timestamp:
Jan 31, 2022 8:48:00 PM (3 years ago)
Author:
vboxsync
Message:

Storage/VDPlugIn: Don't disable VBOX_HDD_NO_DYNAMIC_BACKENDS on non-x86 platforms. bugref:9898

Location:
trunk/src/VBox/Storage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/VDInternal.h

    r93115 r93512  
    3232#include <iprt/memcache.h>
    3333
     34#if 0 /* bird: this is nonsense */
    3435/** Disable dynamic backends on non x86 architectures. This feature
    3536 * requires the SUPR3 library which is not available there.
     
    3738#if !defined(VBOX_HDD_NO_DYNAMIC_BACKENDS) && !defined(RT_ARCH_X86) && !defined(RT_ARCH_AMD64)
    3839# define VBOX_HDD_NO_DYNAMIC_BACKENDS
     40#endif
    3941#endif
    4042
  • trunk/src/VBox/Storage/VDPlugin.cpp

    r93115 r93512  
    3838*   Structures and Typedefs                                                                                                      *
    3939*********************************************************************************************************************************/
    40 
    4140/**
    4241 * Plugin structure.
     
    5655
    5756/*********************************************************************************************************************************
    58 *   Defined Constants And Macros                                                                                                 *
    59 *********************************************************************************************************************************/
    60 
    61 
    62 /*********************************************************************************************************************************
    6357*   Global Variables                                                                                                             *
    6458*********************************************************************************************************************************/
    65 
    6659#ifndef VBOX_HDD_NO_DYNAMIC_BACKENDS
    6760/** Head of loaded plugin list. */
     
    618611    /* Plugin loaded? Nothing to do. */
    619612    if (vdPluginFind(pszFilename))
     613    {
     614        LogFlowFunc(("Plugin '%s' already loaded\n", pszFilename));
    620615        return VINF_SUCCESS;
     616    }
    621617
    622618    RTLDRMOD hPlugin = NIL_RTLDRMOD;
    623619    int rc = SUPR3HardenedLdrLoadPlugIn(pszFilename, &hPlugin, NULL);
     620    LogFlowFunc(("SUPR3HardenedLdrLoadPlugIn('%s') -> %Rrc\n", pszFilename, rc));
    624621    if (RT_SUCCESS(rc))
    625622    {
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