VirtualBox

Changeset 7457 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Mar 14, 2008 12:17:16 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28895
Message:

AHCI: add configuration options for VBoxManage and fix two mistakes

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

Legend:

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

    r7442 r7457  
    606606            rc = CFGMR3InsertNode(pDevices, "ahci", &pDev);                             RC_CHECK();
    607607            rc = CFGMR3InsertNode(pDev,     "0", &pSataInst);                           RC_CHECK();
    608             rc = CFGMR3InsertInteger(pIdeInst, "Trusted",              1);              RC_CHECK();
    609             rc = CFGMR3InsertInteger(pIdeInst, "PCIDeviceNo",          13);             RC_CHECK();
     608            rc = CFGMR3InsertInteger(pSataInst, "Trusted",              1);             RC_CHECK();
     609            rc = CFGMR3InsertInteger(pSataInst, "PCIDeviceNo",          13);            RC_CHECK();
    610610            Assert(!afPciDeviceNo[13]);
    611611            afPciDeviceNo[13] = true;
    612             rc = CFGMR3InsertInteger(pIdeInst, "PCIFunctionNo",        1);              RC_CHECK();
    613             rc = CFGMR3InsertNode(pIdeInst,    "Config", &pCfg);                        RC_CHECK();
     612            rc = CFGMR3InsertInteger(pSataInst, "PCIFunctionNo",        0);             RC_CHECK();
     613            rc = CFGMR3InsertNode(pSataInst,    "Config", &pCfg);                       RC_CHECK();
    614614
    615615            for (uint32_t i = 0; i < 4; i++)
  • trunk/src/VBox/Main/SATAControllerImpl.cpp

    r7442 r7457  
    223223    CheckComRCReturnRC (autoCaller.rc());
    224224
    225     /* the machine needs to be mutable */
    226     Machine::AutoMutableStateDependency adep (mParent);
    227     CheckComRCReturnRC (adep.rc());
    228     AutoLock alock (this);
    229 
    230225    switch (DevicePosition)
    231226    {
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