VirtualBox

Changeset 29224 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
May 7, 2010 3:49:10 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
61305
Message:

Main: turn ISO not found error into warning to allow restoring VMs with inaccessible ISOs

Location:
trunk/src/VBox/Main/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ConsoleImpl.h

    r28959 r29224  
    438438    static DECLCALLBACK(int) configConstructor(PVM pVM, void *pvConsole);
    439439
    440     static int configMediumAttachment(PCFGMNODE pCtlInst,
    441                                       const char *pcszDevice,
    442                                       unsigned uInstance,
    443                                       StorageBus_T enmBus,
    444                                       IoBackendType_T enmIoBackend,
    445                                       bool fSetupMerge, unsigned uMergeSource,
    446                                       unsigned uMergeTarget,
    447                                       IMediumAttachment *pMediumAtt,
    448                                       MachineState_T aMachineState,
    449                                       HRESULT *phrc, bool fAttachDetach,
    450                                       bool fForceUnmount, PVM pVM,
    451                                       DeviceType_T *paLedDevType);
    452     static int configMedium(PCFGMNODE pLunL0, bool fPassthrough,
    453                             DeviceType_T enmType, IoBackendType_T enmIoBackend,
    454                             bool fSetupMerge, unsigned uMergeSource,
    455                             unsigned uMergeTarget, IMedium *pMedium,
    456                             MachineState_T aMachineState, HRESULT *phrc);
    457     static DECLCALLBACK(int) reconfigureMediumAttachment(PVM pVM,
     440    int configMediumAttachment(PCFGMNODE pCtlInst,
     441                               const char *pcszDevice,
     442                               unsigned uInstance,
     443                               StorageBus_T enmBus,
     444                               IoBackendType_T enmIoBackend,
     445                               bool fSetupMerge,
     446                               unsigned uMergeSource,
     447                               unsigned uMergeTarget,
     448                               IMediumAttachment *pMediumAtt,
     449                               MachineState_T aMachineState,
     450                               HRESULT *phrc,
     451                               bool fAttachDetach,
     452                               bool fForceUnmount,
     453                               PVM pVM,
     454                               DeviceType_T *paLedDevType);
     455    int configMedium(PCFGMNODE pLunL0,
     456                     bool fPassthrough,
     457                     DeviceType_T enmType,
     458                     IoBackendType_T enmIoBackend,
     459                     bool fSetupMerge,
     460                     unsigned uMergeSource,
     461                     unsigned uMergeTarget,
     462                     IMedium *pMedium,
     463                     MachineState_T aMachineState,
     464                     HRESULT *phrc);
     465    static DECLCALLBACK(int) reconfigureMediumAttachment(Console *pConsole,
     466                                                         PVM pVM,
    458467                                                         const char *pcszDevice,
    459468                                                         unsigned uInstance,
  • trunk/src/VBox/Main/include/MediumImpl.h

    r29028 r29224  
    188188    HRESULT compareLocationTo(const char *aLocation, int &aResult);
    189189
    190     HRESULT createMediumLockList(bool fMediumWritable, Medium *pToBeParent, MediumLockList &mediumLockList);
     190    HRESULT createMediumLockList(bool fFailIfInaccessible,
     191                                 bool fMediumWritable,
     192                                 Medium *pToBeParent,
     193                                 MediumLockList &mediumLockList);
    191194
    192195    HRESULT createDiffStorage(ComObjPtr<Medium> &aTarget,
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