VirtualBox

Changeset 24126 in vbox for trunk


Ignore:
Timestamp:
Oct 28, 2009 9:59:05 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
54038
Message:

MediumImpl: assign the correct devicetype when opening a medium

File:
1 edited

Legend:

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

    r24000 r24126  
    996996    /* there must be a storage unit */
    997997    m->state = MediumState_Created;
     998
     999    /* remember device type for correct unregistering later */
     1000    m->devType = aDeviceType;
    9981001
    9991002    /* cannot be a host drive */
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