VirtualBox

儲存庫 vbox 的更動 35528


忽略:
時間撮記:
2011-1-13 下午02:29:39 (14 年 以前)
作者:
vboxsync
訊息:

Main: If a host DVD/floppy drive is not available, don't bitch but just ignore this medium. This happens for instance if a laptop was removed from the docking station. This restores the 3.2 behavior.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r35460 r35528  
    75307530            case DeviceType_DVD:
    75317531                if (dev.strHostDriveSrc.isNotEmpty())
     7532                {
    75327533                    rc = mParent->host()->findHostDriveByName(dev.deviceType, dev.strHostDriveSrc, false /* fRefresh */, medium);
     7534                    if (rc == VBOX_E_OBJECT_NOT_FOUND)
     7535                    {
     7536                        /* This is not an error. The host drive might have vanished,
     7537                         * so just go ahead without this medium attachment. */
     7538                        rc = S_OK;
     7539                    }
     7540                }
    75337541                else
    75347542                    rc = mParent->findRemoveableMedium(dev.deviceType, dev.uuid, false /* fRefresh */, medium);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette