VirtualBox

Changeset 33567 in vbox


Ignore:
Timestamp:
Oct 28, 2010 3:37:21 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67173
Message:

VD: Move the generic virtual disk framework + backends to src/VBox/Storage and rename the files to get rid of the HDD part because it supports floppy and DVD images too

Location:
trunk
Files:
2 added
22 edited
15 moved

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/include/VBox/vd-cache-plugin.h

    r33554 r33567  
    2727#define __VBoxHDD_CachePlugin_h__
    2828
    29 #include <VBox/VBoxHDD.h>
     29#include <VBox/vd.h>
    3030
    3131/**
  • TabularUnified trunk/include/VBox/vd-plugin.h

    r33554 r33567  
    2727#define __VBoxHDD_Plugin_h__
    2828
    29 #include <VBox/VBoxHDD.h>
     29#include <VBox/vd.h>
    3030
    3131
  • TabularUnified trunk/include/VBox/vd.h

    r33554 r33567  
    20162016 */
    20172017VBOXDDU_DECL(int) VDBackendInfo(unsigned cEntriesAlloc, PVDBACKENDINFO pEntries,
    2018                                 unsigned *pcEntriesUsed);
     2018                                    unsigned *pcEntriesUsed);
    20192019
    20202020/**
     
    20612061 */
    20622062VBOXDDU_DECL(int) VDGetFormat(PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage,
    2063                               const char *pszFilename, char **ppszFormat, VDTYPE *penmType);
     2063                                  const char *pszFilename, char **ppszFormat, VDTYPE *penmType);
    20642064
    20652065/**
     
    20842084 */
    20852085VBOXDDU_DECL(int) VDOpen(PVBOXHDD pDisk, const char *pszBackend,
    2086                          const char *pszFilename, unsigned uOpenFlags,
    2087                          PVDINTERFACE pVDIfsImage);
     2086                             const char *pszFilename, unsigned uOpenFlags,
     2087                             PVDINTERFACE pVDIfsImage);
    20882088
    20892089/**
     
    20982098 */
    20992099VBOXDDU_DECL(int) VDCacheOpen(PVBOXHDD pDisk, const char *pszBackend,
    2100                               const char *pszFilename, unsigned uOpenFlags,
    2101                               PVDINTERFACE pVDIfsCache);
     2100                                  const char *pszFilename, unsigned uOpenFlags,
     2101                                  PVDINTERFACE pVDIfsCache);
    21022102
    21032103/**
     
    21192119 */
    21202120VBOXDDU_DECL(int) VDCreateBase(PVBOXHDD pDisk, const char *pszBackend,
    2121                                const char *pszFilename, uint64_t cbSize,
    2122                                unsigned uImageFlags, const char *pszComment,
    2123                                PCVDGEOMETRY pPCHSGeometry,
    2124                                PCVDGEOMETRY pLCHSGeometry,
    2125                                PCRTUUID pUuid, unsigned uOpenFlags,
    2126                                PVDINTERFACE pVDIfsImage,
    2127                                PVDINTERFACE pVDIfsOperation);
     2121                                   const char *pszFilename, uint64_t cbSize,
     2122                                   unsigned uImageFlags, const char *pszComment,
     2123                                   PCVDGEOMETRY pPCHSGeometry,
     2124                                   PCVDGEOMETRY pLCHSGeometry,
     2125                                   PCRTUUID pUuid, unsigned uOpenFlags,
     2126                                   PVDINTERFACE pVDIfsImage,
     2127                                   PVDINTERFACE pVDIfsOperation);
    21282128
    21292129/**
     
    21442144 */
    21452145VBOXDDU_DECL(int) VDCreateDiff(PVBOXHDD pDisk, const char *pszBackend,
    2146                                const char *pszFilename, unsigned uImageFlags,
    2147                                const char *pszComment, PCRTUUID pUuid,
    2148                                PCRTUUID pParentUuid, unsigned uOpenFlags,
    2149                                PVDINTERFACE pVDIfsImage,
    2150                                PVDINTERFACE pVDIfsOperation);
     2146                                   const char *pszFilename, unsigned uImageFlags,
     2147                                   const char *pszComment, PCRTUUID pUuid,
     2148                                   PCRTUUID pParentUuid, unsigned uOpenFlags,
     2149                                   PVDINTERFACE pVDIfsImage,
     2150                                   PVDINTERFACE pVDIfsOperation);
    21512151
    21522152/**
     
    21652165 */
    21662166VBOXDDU_DECL(int) VDCreateCache(PVBOXHDD pDisk, const char *pszBackend,
    2167                                 const char *pszFilename, uint64_t cbSize,
    2168                                 unsigned uImageFlags, const char *pszComment,
    2169                                 PCRTUUID pUuid, unsigned uOpenFlags,
    2170                                 PVDINTERFACE pVDIfsCache, PVDINTERFACE pVDIfsOperation);
     2167                                    const char *pszFilename, uint64_t cbSize,
     2168                                    unsigned uImageFlags, const char *pszComment,
     2169                                    PCRTUUID pUuid, unsigned uOpenFlags,
     2170                                    PVDINTERFACE pVDIfsCache, PVDINTERFACE pVDIfsOperation);
    21712171
    21722172/**
     
    21842184 */
    21852185VBOXDDU_DECL(int) VDMerge(PVBOXHDD pDisk, unsigned nImageFrom,
    2186                           unsigned nImageTo, PVDINTERFACE pVDIfsOperation);
     2186                              unsigned nImageTo, PVDINTERFACE pVDIfsOperation);
    21872187
    21882188/**
     
    22242224 */
    22252225VBOXDDU_DECL(int) VDCopy(PVBOXHDD pDiskFrom, unsigned nImage, PVBOXHDD pDiskTo,
    2226                          const char *pszBackend, const char *pszFilename,
    2227                          bool fMoveByRename, uint64_t cbSize,
    2228                          unsigned uImageFlags, PCRTUUID pDstUuid,
    2229                          unsigned uOpenFlags, PVDINTERFACE pVDIfsOperation,
    2230                          PVDINTERFACE pDstVDIfsImage,
    2231                          PVDINTERFACE pDstVDIfsOperation);
     2226                             const char *pszBackend, const char *pszFilename,
     2227                             bool fMoveByRename, uint64_t cbSize,
     2228                             unsigned uImageFlags, PCRTUUID pDstUuid,
     2229                             unsigned uOpenFlags, PVDINTERFACE pVDIfsOperation,
     2230                             PVDINTERFACE pDstVDIfsImage,
     2231                             PVDINTERFACE pDstVDIfsOperation);
    22322232
    22332233/**
     
    22532253 */
    22542254VBOXDDU_DECL(int) VDCompact(PVBOXHDD pDisk, unsigned nImage,
    2255                             PVDINTERFACE pVDIfsOperation);
     2255                                PVDINTERFACE pVDIfsOperation);
    22562256
    22572257/**
     
    22692269 */
    22702270VBOXDDU_DECL(int) VDResize(PVBOXHDD pDisk, uint64_t cbSize,
    2271                            PCVDGEOMETRY pPCHSGeometry,
    2272                            PCVDGEOMETRY pLCHSGeometry,
    2273                            PVDINTERFACE pVDIfsOperation);
     2271                               PCVDGEOMETRY pPCHSGeometry,
     2272                               PCVDGEOMETRY pLCHSGeometry,
     2273                               PVDINTERFACE pVDIfsOperation);
    22742274
    22752275/**
     
    23892389 */
    23902390VBOXDDU_DECL(int) VDGetPCHSGeometry(PVBOXHDD pDisk, unsigned nImage,
    2391                                     PVDGEOMETRY pPCHSGeometry);
     2391                                        PVDGEOMETRY pPCHSGeometry);
    23922392
    23932393/**
     
    24012401 */
    24022402VBOXDDU_DECL(int) VDSetPCHSGeometry(PVBOXHDD pDisk, unsigned nImage,
    2403                                     PCVDGEOMETRY pPCHSGeometry);
     2403                                        PCVDGEOMETRY pPCHSGeometry);
    24042404
    24052405/**
     
    24142414 */
    24152415VBOXDDU_DECL(int) VDGetLCHSGeometry(PVBOXHDD pDisk, unsigned nImage,
    2416                                     PVDGEOMETRY pLCHSGeometry);
     2416                                        PVDGEOMETRY pLCHSGeometry);
    24172417
    24182418/**
     
    24262426 */
    24272427VBOXDDU_DECL(int) VDSetLCHSGeometry(PVBOXHDD pDisk, unsigned nImage,
    2428                                     PCVDGEOMETRY pLCHSGeometry);
     2428                                        PCVDGEOMETRY pLCHSGeometry);
    24292429
    24302430/**
     
    24382438 */
    24392439VBOXDDU_DECL(int) VDGetVersion(PVBOXHDD pDisk, unsigned nImage,
    2440                                unsigned *puVersion);
     2440                                   unsigned *puVersion);
    24412441
    24422442/**
     
    24502450 */
    24512451VBOXDDU_DECL(int) VDBackendInfoSingle(PVBOXHDD pDisk, unsigned nImage,
    2452                                       PVDBACKENDINFO pBackendInfo);
     2452                                          PVDBACKENDINFO pBackendInfo);
    24532453
    24542454/**
     
    24732473 */
    24742474VBOXDDU_DECL(int) VDGetOpenFlags(PVBOXHDD pDisk, unsigned nImage,
    2475                                  unsigned *puOpenFlags);
     2475                                     unsigned *puOpenFlags);
    24762476
    24772477/**
     
    24872487 */
    24882488VBOXDDU_DECL(int) VDSetOpenFlags(PVBOXHDD pDisk, unsigned nImage,
    2489                                  unsigned uOpenFlags);
     2489                                     unsigned uOpenFlags);
    24902490
    24912491/**
     
    25032503 */
    25042504VBOXDDU_DECL(int) VDGetFilename(PVBOXHDD pDisk, unsigned nImage,
    2505                                 char *pszFilename, unsigned cbFilename);
     2505                                    char *pszFilename, unsigned cbFilename);
    25062506
    25072507/**
     
    25172517 */
    25182518VBOXDDU_DECL(int) VDGetComment(PVBOXHDD pDisk, unsigned nImage,
    2519                                char *pszComment, unsigned cbComment);
     2519                                   char *pszComment, unsigned cbComment);
    25202520
    25212521/**
     
    25292529 */
    25302530VBOXDDU_DECL(int) VDSetComment(PVBOXHDD pDisk, unsigned nImage,
    2531                                const char *pszComment);
     2531                                   const char *pszComment);
    25322532
    25332533/**
     
    25632563 */
    25642564VBOXDDU_DECL(int) VDGetModificationUuid(PVBOXHDD pDisk, unsigned nImage,
    2565                                         PRTUUID pUuid);
     2565                                            PRTUUID pUuid);
    25662566
    25672567/**
     
    25752575 */
    25762576VBOXDDU_DECL(int) VDSetModificationUuid(PVBOXHDD pDisk, unsigned nImage,
    2577                                         PCRTUUID pUuid);
     2577                                            PCRTUUID pUuid);
    25782578
    25792579/**
     
    25872587 */
    25882588VBOXDDU_DECL(int) VDGetParentUuid(PVBOXHDD pDisk, unsigned nImage,
    2589                                   PRTUUID pUuid);
     2589                                      PRTUUID pUuid);
    25902590
    25912591/**
     
    25982598 */
    25992599VBOXDDU_DECL(int) VDSetParentUuid(PVBOXHDD pDisk, unsigned nImage,
    2600                                   PCRTUUID pUuid);
     2600                                      PCRTUUID pUuid);
    26012601
    26022602
     
    26342634 */
    26352635VBOXDDU_DECL(int) VDAsyncRead(PVBOXHDD pDisk, uint64_t uOffset, size_t cbRead,
    2636                               PCRTSGSEG paSeg, unsigned cSeg,
    2637                               PFNVDASYNCTRANSFERCOMPLETE pfnComplete,
    2638                               void *pvUser1, void *pvUser2);
     2636                                  PCRTSGSEG paSeg, unsigned cSeg,
     2637                                  PFNVDASYNCTRANSFERCOMPLETE pfnComplete,
     2638                                  void *pvUser1, void *pvUser2);
    26392639
    26402640
     
    26522652 */
    26532653VBOXDDU_DECL(int) VDAsyncWrite(PVBOXHDD pDisk, uint64_t uOffset, size_t cbWrite,
    2654                                PCRTSGSEG paSeg, unsigned cSeg,
    2655                                PFNVDASYNCTRANSFERCOMPLETE pfnComplete,
    2656                                void *pvUser1, void *pvUser2);
     2654                                   PCRTSGSEG paSeg, unsigned cSeg,
     2655                                   PFNVDASYNCTRANSFERCOMPLETE pfnComplete,
     2656                                   void *pvUser1, void *pvUser2);
    26572657
    26582658
     
    26662666 */
    26672667VBOXDDU_DECL(int) VDAsyncFlush(PVBOXHDD pDisk,
    2668                                PFNVDASYNCTRANSFERCOMPLETE pfnComplete,
    2669                                void *pvUser1, void *pvUser2);
     2668                                   PFNVDASYNCTRANSFERCOMPLETE pfnComplete,
     2669                                   void *pvUser1, void *pvUser2);
    26702670RT_C_DECLS_END
    26712671
  • TabularUnified trunk/src/VBox/Devices/Makefile.kmk

    r33442 r33567  
    2626include $(PATH_SUB_CURRENT)/Graphics/BIOS/Makefile.kmk
    2727include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
    28 include $(PATH_SUB_CURRENT)/Storage/testcase/Makefile.kmk
    29 ifndef VBOX_OSE
    30  include $(PATH_SUB_CURRENT)/Storage/VBoxHDDFormats/Makefile.kmk
    31 endif
    3228ifdef VBOX_WITH_EFI
    3329 include $(PATH_SUB_CURRENT)/EFI/Thunk/Makefile.kmk
     
    7773endif
    7874VBoxDDU_SOURCES          = \
    79         Storage/VBoxHDD.cpp \
    80         Storage/VDIHDDCore.cpp \
    81         Storage/VHDHDDCore.cpp \
    82         Storage/VmdkHDDCore.cpp \
    83         Storage/RawHDDCore.cpp \
    84         Storage/ParallelsHDDCore.cpp \
    85         Storage/DMGHDDCore.cpp \
    86         Storage/VCICacheCore.cpp \
    8775        Storage/VSCSI/VSCSIDevice.cpp \
    8876        Storage/VSCSI/VSCSILun.cpp \
     
    9785endif
    9886VBoxDDU_LIBS             = \
    99         $(LIB_RUNTIME)
     87        $(LIB_RUNTIME) \
     88        $(PATH_LIB)/StorageLib$(VBOX_SUFF_LIB)
    10089ifdef VBOX_WITH_USB
    10190 VBoxDDU_LIBS           += \
     
    10571046
    10581047ifdef VBOX_WITH_ISCSI
    1059  VBoxDDU_SOURCES      += \
    1060     Storage/ISCSIHDDCore.cpp
    1061  VBoxDDU_DEFS         += VBOX_WITH_ISCSI
    10621048 Storage/DrvVD.cpp_INCS = \
    10631049        Network/lwip/src/include \
  • TabularUnified trunk/src/VBox/Devices/Storage/DrvVD.cpp

    r33540 r33567  
    2121*******************************************************************************/
    2222#define LOG_GROUP LOG_GROUP_DRV_VD
    23 #include <VBox/VBoxHDD.h>
     23#include <VBox/vd.h>
    2424#include <VBox/pdmdrv.h>
    2525#include <VBox/pdmasynccompletion.h>
  • TabularUnified trunk/src/VBox/Devices/VBoxDDUDeps.cpp

    r28800 r33567  
    2020*******************************************************************************/
    2121#include <VBox/types.h>
     22#include <VBox/vd.h>
    2223#ifdef VBOX_WITH_USB
    2324# include <VBox/usblib.h>
     
    3435PFNRT g_apfnVBoxDDUDeps[] =
    3536{
     37    (PFNRT)VDInit,
    3638#ifdef VBOX_WITH_USB
    3739    (PFNRT)USBFilterInit,
  • TabularUnified trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp

    r33550 r33567  
    3333#include <VBox/com/VirtualBox.h>
    3434
    35 #include <VBox/VBoxHDD.h>
     35#include <VBox/vd.h>
    3636#include <VBox/sup.h>
    3737#include <VBox/err.h>
  • TabularUnified trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp

    r33540 r33567  
    3636#include <iprt/getopt.h>
    3737#include <VBox/log.h>
    38 #include <VBox/VBoxHDD.h>
     38#include <VBox/vd.h>
    3939
    4040#include "VBoxManage.h"
  • TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r33540 r33567  
    1919
    2020#include "VBoxGlobal.h"
    21 #include <VBox/VBoxHDD.h>
     21#include <VBox/vd.h>
    2222#include <VBox/version.h>
    2323
  • TabularUnified trunk/src/VBox/Main/ApplianceImplIO.cpp

    r33536 r33567  
    3131#include <iprt/stream.h>
    3232#include <iprt/circbuf.h>
    33 #include <VBox/VBoxHDD.h>
     33#include <VBox/vd.h>
    3434
    3535/******************************************************************************
  • TabularUnified trunk/src/VBox/Main/ApplianceImplImport.cpp

    r33540 r33567  
    2626#include <iprt/stream.h>
    2727
    28 #include <VBox/VBoxHDD.h>
     28#include <VBox/vd.h>
    2929#include <VBox/com/array.h>
    3030
  • TabularUnified trunk/src/VBox/Main/MediumFormatImpl.cpp

    r33524 r33567  
    2121#include "Logging.h"
    2222
    23 #include <VBox/VBoxHDD.h>
     23#include <VBox/vd.h>
    2424
    2525#include <iprt/cpp/utils.h>
  • TabularUnified trunk/src/VBox/Main/MediumImpl.cpp

    r33540 r33567  
    3737#include <iprt/cpp/utils.h>
    3838
    39 #include <VBox/VBoxHDD.h>
     39#include <VBox/vd.h>
    4040
    4141#include <algorithm>
  • TabularUnified trunk/src/VBox/Main/SystemPropertiesImpl.cpp

    r33557 r33567  
    3434#include <VBox/param.h>
    3535#include <VBox/settings.h>
    36 #include <VBox/VBoxHDD.h>
     36#include <VBox/vd.h>
    3737
    3838// defines
  • TabularUnified trunk/src/VBox/Main/VirtualBoxImpl.cpp

    r33556 r33567  
    3737#include <VBox/err.h>
    3838#include <VBox/param.h>
    39 #include <VBox/VBoxHDD.h>
    4039#include <VBox/settings.h>
    4140#include <VBox/version.h>
  • TabularUnified trunk/src/VBox/Main/include/MediumImpl.h

    r33524 r33567  
    2121#define ____H_MEDIUMIMPL
    2222
    23 #include <VBox/VBoxHDD.h>
     23#include <VBox/vd.h>
    2424
    2525#include "VirtualBoxBase.h"
  • TabularUnified trunk/src/VBox/Makefile.kmk

    r33380 r33567  
    5555 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
    5656 include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
     57 include $(PATH_SUB_CURRENT)/Storage/Makefile.kmk
    5758 if1of ($(KBUILD_TARGET_ARCH), amd64 x86)
    5859  include $(PATH_SUB_CURRENT)/VMM/Makefile.kmk
  • TabularUnified trunk/src/VBox/Storage/DMG.cpp

    r33554 r33567  
    2020*******************************************************************************/
    2121#define LOG_GROUP LOG_GROUP_DEFAULT /** @todo log group */
    22 #include <VBox/VBoxHDD-Plugin.h>
     22#include <VBox/vd-plugin.h>
    2323#include <VBox/log.h>
    2424#include <VBox/err.h>
  • TabularUnified trunk/src/VBox/Storage/ISCSI.cpp

    r33554 r33567  
    2121*******************************************************************************/
    2222#define LOG_GROUP LOG_GROUP_VD_ISCSI
    23 #include <VBox/VBoxHDD-Plugin.h>
    24 #define VBOX_VDICORE_VD /* Signal that the header is included from here. */
    25 #include "VDICore.h"
     23#include <VBox/vd-plugin.h>
    2624#include <VBox/err.h>
    2725
  • TabularUnified trunk/src/VBox/Storage/Parallels.cpp

    r33554 r33567  
    1818
    1919#define LOG_GROUP LOG_GROUP_VD_PARALLELS
    20 #include <VBox/VBoxHDD-Plugin.h>
     20#include <VBox/vd-plugin.h>
    2121#include <VBox/err.h>
    2222
  • TabularUnified trunk/src/VBox/Storage/RAW.cpp

    r33554 r33567  
    2020*******************************************************************************/
    2121#define LOG_GROUP LOG_GROUP_VD_RAW
    22 #include <VBox/VBoxHDD-Plugin.h>
     22#include <VBox/vd-plugin.h>
    2323#include <VBox/err.h>
    2424
  • TabularUnified trunk/src/VBox/Storage/VCICache.cpp

    r33554 r33567  
    2020*******************************************************************************/
    2121#define LOG_GROUP LOG_GROUP_VD_RAW /** @todo logging group */
    22 #include <VBox/VBoxHDD-CachePlugin.h>
     22#include <VBox/vd-cache-plugin.h>
    2323#include <VBox/err.h>
    2424
  • TabularUnified trunk/src/VBox/Storage/VD.cpp

    r33554 r33567  
    2020*******************************************************************************/
    2121#define LOG_GROUP LOG_GROUP_VD
    22 #include <VBox/VBoxHDD.h>
     22#include <VBox/vd.h>
    2323#include <VBox/err.h>
    2424#include <VBox/sup.h>
     
    4141#include <iprt/avl.h>
    4242
    43 #include <VBox/VBoxHDD-Plugin.h>
    44 #include <VBox/VBoxHDD-CachePlugin.h>
     43#include <VBox/vd-plugin.h>
     44#include <VBox/vd-cache-plugin.h>
    4545
    4646#define VBOXHDDDISK_SIGNATURE 0x6f0e2a7d
     
    444444extern VBOXHDDBACKEND g_ParallelsBackend;
    445445extern VBOXHDDBACKEND g_DmgBackend;
    446 #ifdef VBOX_WITH_ISCSI
    447446extern VBOXHDDBACKEND g_ISCSIBackend;
    448 #endif
    449447
    450448static unsigned g_cBackends = 0;
     
    457455    &g_ParallelsBackend,
    458456    &g_DmgBackend,
    459     &g_RawBackend
    460 #ifdef VBOX_WITH_ISCSI
    461     ,&g_ISCSIBackend
    462 #endif
     457    &g_RawBackend,
     458    &g_ISCSIBackend
    463459};
    464460
  • TabularUnified trunk/src/VBox/Storage/VDI.cpp

    r33554 r33567  
    1919*******************************************************************************/
    2020#define LOG_GROUP LOG_GROUP_VD_VDI
    21 #include <VBox/VBoxHDD-Plugin.h>
     21#include <VBox/vd-plugin.h>
    2222#define VBOX_VDICORE_VD /* Signal that the header is included from here. */
    2323#include "VDICore.h"
  • TabularUnified trunk/src/VBox/Storage/VDICore.h

    r33554 r33567  
    2222*   Header Files                                                               *
    2323*******************************************************************************/
    24 #include <VBox/VBoxHDD.h>
     24#include <VBox/vd.h>
    2525#ifndef VBOX_VDICORE_VD
    2626#include <VBox/pdm.h>
  • TabularUnified trunk/src/VBox/Storage/VHD.cpp

    r33554 r33567  
    2020*******************************************************************************/
    2121#define LOG_GROUP LOG_GROUP_VD_VHD
    22 #include <VBox/VBoxHDD-Plugin.h>
     22#include <VBox/vd-plugin.h>
    2323#include <VBox/err.h>
    2424
  • TabularUnified trunk/src/VBox/Storage/VMDK.cpp

    r33554 r33567  
    2020*******************************************************************************/
    2121#define LOG_GROUP LOG_GROUP_VD_VMDK
    22 #include <VBox/VBoxHDD-Plugin.h>
     22#include <VBox/vd-plugin.h>
    2323#include <VBox/err.h>
    2424
     
    56215621                    continue;
    56225622                }
    5623                 uint64_t uLBA;
     5623                uint64_t uLBA = 0;
    56245624                uint32_t cbGrainStreamRead = 0;
    56255625                rc = vmdkFileInflateSync(pImage, pExtent,
  • TabularUnified trunk/src/VBox/Storage/testcase/Makefile.kmk

    r32782 r33567  
    6363 tstVDSetUuid_LIBS   = $(LIB_DDU) $(LIB_RUNTIME)
    6464 vbox-img_LIBS = \
    65         $(VBOX_LIB_RUNTIME_STATIC)
     65        $(VBOX_LIB_RUNTIME_STATIC) \
     66        $(PATH_LIB)/StorageLibNoDB$(VBOX_SUFF_LIB)
    6667 if1of ($(KBUILD_TARGET),os2 win)
    6768  vbox-img_LIBS += \
     
    8788
    8889 vbox-img_SOURCES = \
    89         vbox-img.cpp \
    90         $(VBOX_PATH_DEVICES_SRC)/Storage/VCICacheCore.cpp \
    91         $(VBOX_PATH_DEVICES_SRC)/Storage/VBoxHDD.cpp \
    92         $(VBOX_PATH_DEVICES_SRC)/Storage/RawHDDCore.cpp \
    93         $(VBOX_PATH_DEVICES_SRC)/Storage/VmdkHDDCore.cpp \
    94         $(VBOX_PATH_DEVICES_SRC)/Storage/VDIHDDCore.cpp \
    95         $(VBOX_PATH_DEVICES_SRC)/Storage/VHDHDDCore.cpp \
    96         $(VBOX_PATH_DEVICES_SRC)/Storage/ParallelsHDDCore.cpp \
    97         $(VBOX_PATH_DEVICES_SRC)/Storage/DMGHDDCore.cpp
    98  vbox-img_DEFS += VBOX_HDD_NO_DYNAMIC_BACKENDS IN_VBOXDDU IN_VBOXDDU_STATIC IN_RT_R3
     90        vbox-img.cpp
    9991endif
    10092
  • TabularUnified trunk/src/VBox/Storage/testcase/tstVD-2.cpp

    r33524 r33567  
    1717
    1818#include <VBox/err.h>
    19 #include <VBox/VBoxHDD.h>
     19#include <VBox/vd.h>
    2020#include <iprt/string.h>
    2121#include <iprt/stream.h>
  • TabularUnified trunk/src/VBox/Storage/testcase/tstVD.cpp

    r33524 r33567  
    1919*   Header Files                                                               *
    2020*******************************************************************************/
    21 #include <VBox/VBoxHDD.h>
     21#include <VBox/vd.h>
    2222#include <VBox/err.h>
    2323#include <VBox/log.h>
  • TabularUnified trunk/src/VBox/Storage/testcase/tstVDCopy.cpp

    r33540 r33567  
    1818
    1919#include <VBox/err.h>
    20 #include <VBox/VBoxHDD.h>
     20#include <VBox/vd.h>
    2121#include <iprt/string.h>
    2222#include <iprt/stream.h>
  • TabularUnified trunk/src/VBox/Storage/testcase/tstVDShareable.cpp

    r33524 r33567  
    1919*   Header Files                                                               *
    2020*******************************************************************************/
    21 #include <VBox/VBoxHDD.h>
     21#include <VBox/vd.h>
    2222#include <VBox/err.h>
    2323#include <VBox/log.h>
  • TabularUnified trunk/src/VBox/Storage/testcase/tstVDSnap.cpp

    r33524 r33567  
    1616 */
    1717
    18 #include <VBox/VBoxHDD.h>
     18#include <VBox/vd.h>
    1919#include <VBox/err.h>
    2020#include <VBox/log.h>
  • TabularUnified trunk/src/VBox/Storage/testcase/vbox-img.cpp

    r33524 r33567  
    1919*   Header Files                                                               *
    2020*******************************************************************************/
    21 #include <VBox/VBoxHDD.h>
     21#include <VBox/vd.h>
    2222#include <VBox/err.h>
    2323#include <VBox/version.h>
  • TabularUnified trunk/src/VBox/Storage/testcase/vditool.cpp

    r33524 r33567  
    1919*   Header Files                                                               *
    2020*******************************************************************************/
    21 #include <VBox/VBoxHDD.h>
     21#include <VBox/vd.h>
    2222#include <iprt/alloc.h>
    2323#include <iprt/file.h>
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