VirtualBox

Ignore:
Timestamp:
Mar 11, 2009 9:56:29 AM (16 years ago)
Author:
vboxsync
Message:

Main: Rework storage controller handling to allow an arbitrary number of different storage controllers and remove code duplication:

  • XML format changed
  • New StorageController class
  • Removed SATAController (obsolete)
  • Removed the IDE controller code from BIOSSettings, handled in StorageController now
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/SessionImpl.cpp

    r17600 r17669  
    569569
    570570    return mConsole->onParallelPortChange(parallelPort);
     571}
     572
     573STDMETHODIMP Session::OnStorageControllerChange()
     574{
     575    LogFlowThisFunc (("\n"));
     576
     577    AutoCaller autoCaller (this);
     578    AssertComRCReturn (autoCaller.rc(), autoCaller.rc());
     579
     580    AutoReadLock alock (this);
     581    AssertReturn (mState == SessionState_Open, VBOX_E_INVALID_VM_STATE);
     582    AssertReturn (mType == SessionType_Direct, VBOX_E_INVALID_OBJECT_STATE);
     583
     584    return mConsole->onStorageControllerChange();
    571585}
    572586
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