VirtualBox

Changeset 3199 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jun 21, 2007 10:00:32 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
22148
Message:

Ignore AttachFailError config in Block driver. Otherwise changing the
config from host DVD to unmounted causes VM start failures if the option
is configured.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DrvBlock.cpp

    r3113 r3199  
    636636     */
    637637#if defined(VBOX_PERIODIC_FLUSH) || defined(VBOX_IGNORE_FLUSH)
    638     if (!CFGMR3AreValuesValid(pCfgHandle, "Type\0Locked\0BIOSVisible\0Cylinders\0Heads\0Sectors\0Translation\0Mountable\0FlushInterval\0IgnoreFlush\0"))
     638    if (!CFGMR3AreValuesValid(pCfgHandle, "Type\0Locked\0BIOSVisible\0AttachFailError\0Cylinders\0Heads\0Sectors\0Translation\0Mountable\0FlushInterval\0IgnoreFlush\0"))
    639639#else /* !(VBOX_PERIODIC_FLUSH || VBOX_IGNORE_FLUSH) */
    640     if (!CFGMR3AreValuesValid(pCfgHandle, "Type\0Locked\0BIOSVisible\0Cylinders\0Heads\0Sectors\0Translation\0Mountable\0"))
     640    if (!CFGMR3AreValuesValid(pCfgHandle, "Type\0Locked\0BIOSVisible\0AttachFailError\0Cylinders\0Heads\0Sectors\0Translation\0Mountable\0"))
    641641#endif /* !(VBOX_PERIODIC_FLUSH || VBOX_IGNORE_FLUSH) */
    642642        return VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES;
     
    751751        return rc;
    752752    }
     753
     754    /** @todo AttachFailError is currently completely ignored. */
    753755
    754756    /* Cylinders */
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