VirtualBox

Changeset 39805 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 19, 2012 10:38:36 AM (13 years ago)
Author:
vboxsync
Message:

GuestImpl.cpp: Runlevel todos.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/AdditionsFacilityImpl.h

    r35997 r39805  
    11/** @file
    2  *
    32 * VirtualBox COM class implementation
    43 */
  • trunk/src/VBox/Main/src-client/GuestImpl.cpp

    r39450 r39805  
    55
    66/*
    7  * Copyright (C) 2006-2011 Oracle Corporation
     7 * Copyright (C) 2006-2012 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    866866        AssertMsgFailed(("Invalid facility status/run level detected! uCurFacility=%d\n", uCurFacility));
    867867
     868    /** @todo Above is wrong. The runlevel has to be recalculated from the
     869     *        facilities.  A user can stop VBoxService before logging out.
     870     *        The runlevel should then drop to System, not Userland.
     871     *
     872     * Also, if given enmFacility = VBoxGuestFacilityType_Unknown, we'll be
     873     * bosting the runlevel to Desktop (0 - 1 = UINT32_MAX; UINT32_MAX >=
     874     * VBoxGuestFacilityType_VBoxTrayClient). */
     875
     876    /** @todo VBoxGuest (the driver) should track VMMDevReq_ReportGuestStatus
     877     * calls per session and automatically send VBoxGuestFacilityStatus_Failed
     878     * for the facilites that does not have the status
     879     * VBoxGuestFacilityStatus_Terminated, VBoxGuestFacilityStatus_Failed or
     880     * VBoxGuestFacilityStatus_Inactive.  Not doing so means this
     881     * information is not reliable. */
     882
    868883    /*
    869884     * Set a specific facility status.
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