VirtualBox

Ignore:
Timestamp:
Mar 6, 2013 4:40:36 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84137
Message:

GuestCtrl: More code for guest session infrastructure handling (untested, work in progress). Added IGuestSession.status for (later) asynchronous handling.

File:
1 edited

Legend:

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

    r44863 r44935  
    318318
    319319/**
    320  * Structure for keeping all the relevant process
    321  * starting parameters around.
     320 * Structure for keeping all the relevant guest session
     321 * startup parameters around.
     322 */
     323class GuestSessionStartupInfo
     324{
     325public:
     326
     327    GuestSessionStartupInfo(void)
     328        : mIsInternal(false /* Non-internal session */),
     329          mOpenTimeoutMS(30 * 1000 /* 30s opening timeout */),
     330          mOpenFlags(0 /* No opening flags set */) { }
     331
     332    /** The session's friendly name. Optional. */
     333    Utf8Str                     mName;
     334    /** The session's unique ID. Used to encode
     335     *  a context ID. */
     336    uint32_t                    mID;
     337    /** Flag indicating if this is an internal session
     338     *  or not. Internal session are not accessible by
     339     *  public API clients. */
     340    bool                        mIsInternal;
     341    /** Timeout (in ms) used for opening the session. */
     342    uint32_t                    mOpenTimeoutMS;
     343    /** Session opening flags. */
     344    uint32_t                    mOpenFlags;
     345};
     346
     347
     348/**
     349 * Structure for keeping all the relevant guest process
     350 * startup parameters around.
    322351 */
    323352class GuestProcessStartupInfo
     
    341370    /** Process priority. */
    342371    ProcessPriority_T           mPriority;
    343     /** Process affinity. */
     372    /** Process affinity. At the moment we
     373     *  only support 64 VCPUs. API and
     374     *  guest can do more already!  */
    344375    uint64_t                    mAffinity;
    345376};
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