VirtualBox

Changeset 15865 in vbox for trunk


Ignore:
Timestamp:
Jan 8, 2009 1:10:01 PM (16 years ago)
Author:
vboxsync
Message:

GVMMR0.cpp: Increased the max VM handles from 127+1 to 1023+1 for 64-bit hosts. 32-bit hosts is stuck at 127+1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/GVMMR0.cpp

    r14821 r15865  
    8585typedef GVMHANDLE *PGVMHANDLE;
    8686
     87/** Number of GVM handles (including the NIL handle). */
     88#if HC_ARCH_BITS == 64
     89# define GVMM_MAX_HANDLES   1024
     90#else
     91# define GVMM_MAX_HANDLES   128
     92#endif
     93
    8794/**
    8895 * The GVMM instance data.
     
    110117     * The size of this array defines the maximum number of currently running VMs.
    111118     * The first entry is unused as it represents the NIL handle. */
    112     GVMHANDLE           aHandles[128];
     119    GVMHANDLE           aHandles[GVMM_MAX_HANDLES];
    113120
    114121    /** @gcfgm{/GVMM/cVMsMeansCompany, 32-bit, 0, UINT32_MAX, 1}
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