VirtualBox

Changeset 59261 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Jan 6, 2016 11:32:38 AM (9 years ago)
Author:
vboxsync
Message:

PDMAsyncCompletion: Don't return an already existing endpoint handle when a file is opened multiple times but create a new handle everytime, fixes a crash when an ISO images is attached multiple times to the same VM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/PDMAsyncCompletionInternal.h

    r56287 r59261  
    204204    /** Template associated with this endpoint. */
    205205    PPDMASYNCCOMPLETIONTEMPLATE                 pTemplate;
    206     /** Reference count. */
    207     unsigned                                    cUsers;
     206    /** Statistics ID for endpoints having a similar URI (same filename for example)
     207     * to avoid assertions. */
     208    unsigned                                    iStatId;
    208209    /** URI describing the endpoint */
    209210    char                                       *pszUri;
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