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/testcase/tstVBoxAPILinux.cpp

    r16867 r17669  
    345345                hardDisk->GetId(&vdiUUID);
    346346                rc = machine->AttachHardDisk(*vdiUUID,
    347                                              StorageBus::IDE, // controler identifier
    348                                              0,               // channel number on the controller
    349                                              0);              // device number on the controller
     347                                             NS_LITERAL_STRING("IDE").get(), // controler identifier
     348                                             0,                              // channel number on the controller
     349                                             0);                             // device number on the controller
    350350                nsMemory::Free(vdiUUID);
    351351                if (NS_FAILED(rc))
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