VirtualBox

Changeset 37657 in vbox


Ignore:
Timestamp:
Jun 28, 2011 10:44:03 AM (14 years ago)
Author:
vboxsync
Message:

Main: Build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r37656 r37657  
    38523852                        aControllerName);
    38533853
    3854     if (fHotplug && aType == DeviceType_DVD)
    3855         return setError(VBOX_E_INVALID_VM_STATE,
    3856                         tr("Detaching a DVD drive while the VM is running is not supported"));
    3857 
    38583854    MediumAttachment *pAttach = findAttachment(mMediaData->mAttachments,
    38593855                                               aControllerName,
     
    38643860                        tr("No storage device attached to device slot %d on port %d of controller '%ls'"),
    38653861                        aDevice, aControllerPort, aControllerName);
     3862
     3863    if (fHotplug && pAttach->getType() == DeviceType_DVD)
     3864        return setError(VBOX_E_INVALID_VM_STATE,
     3865                        tr("Detaching a DVD drive while the VM is running is not supported"));
    38663866
    38673867    /*
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