VirtualBox

Changeset 2390 in vbox for trunk


Ignore:
Timestamp:
Apr 27, 2007 11:03:46 AM (18 years ago)
Author:
vboxsync
Message:

Resurrect old VMDK code and make it default.

Location:
trunk/src/VBox
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Builtins.cpp

    r2358 r2390  
    153153    if (VBOX_FAILURE(rc))
    154154        return rc;
     155#ifndef __L4ENV__
     156    rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvVmdkHDD);
     157    if (VBOX_FAILURE(rc))
     158        return rc;
     159#endif
    155160#if defined(__DARWIN__) || defined(__LINUX__) || defined(__WIN__)
    156161    rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostDVD);
  • trunk/src/VBox/Devices/Builtins.h

    r2358 r2390  
    6161extern const PDMDRVREG g_DrvVBoxHDD;
    6262extern const PDMDRVREG g_DrvVD;
     63extern const PDMDRVREG g_DrvVmdkHDD;
    6364extern const PDMDRVREG g_DrvHostDVD;
    6465extern const PDMDRVREG g_DrvHostFloppy;
  • trunk/src/VBox/Devices/Makefile

    r2358 r2390  
    382382        Storage/DrvRawImage.cpp \
    383383        Storage/DrvVD.cpp \
     384        Storage/DrvVmdk.cpp \
    384385        Storage/VBoxHDD.cpp
    385386
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r2386 r2390  
    49924992
    49934993            rc = CFGMR3InsertNode(pLunL0,   "AttachedDriver", &pLunL1);                 RC_CHECK();
     4994#if 0 /* Disabled new virtual hdd containder code for now, causes trouble with vmdks. */
    49944995            rc = CFGMR3InsertString(pLunL1, "Driver",         "VD");               RC_CHECK();
     4996#else
     4997            rc = CFGMR3InsertString(pLunL1, "Driver",         "VmdkHDD");               RC_CHECK();
     4998#endif
    49954999            rc = CFGMR3InsertNode(pLunL1,   "Config", &pCfg);                           RC_CHECK();
    49965000            hrc = vmdkDisk->COMGETTER(FilePath)(&str);                                  H();
     
    57815785                        {
    57825786                            Log(("attachToHostInterface: %RTfile %ls\n", maTapFD[slot], tapDeviceName.raw()));
    5783    
     5787
    57845788                            /*
    57855789                            * Here is the right place to communicate the TAP file descriptor and
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