VirtualBox

Changeset 55967 in vbox for trunk


Ignore:
Timestamp:
May 20, 2015 1:12:28 PM (10 years ago)
Author:
vboxsync
Message:

Main/Host: Close the support driver as soon as we no longer need it. Not worth keeping it open all the time. Allows reloading the driver while VBoxSVC is running, and avoids quirks during debugging of VBoxSVC: it is quite normal that the Host object is created several times, which means that multiple SUPR3InitEx calls are made.

File:
1 edited

Legend:

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

    r55616 r55967  
    404404                m->fVTSupported = m->fNestedPagingSupported = false;
    405405            }
     406            rc = SUPR3Term(false);
     407            AssertRC(rc);
    406408        }
    407409        else
     
    10541056                    m->fVTSupported = m->fNestedPagingSupported = true;
    10551057                }
     1058                rc = SUPR3Term(false);
     1059                AssertRC(rc);
     1060                m->fRecheckVTSupported = false; /* No need to try again, we cached everything. */
    10561061            }
    10571062
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