VirtualBox

Ignore:
Timestamp:
Jul 19, 2021 1:48:09 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145776
Message:

HGCM,HostServices: Extended VBOXHGCMSVCFNTABLE with client and call limits. Tried to pick reasonable values for all services. bugref:9379

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestProperties/VBoxGuestPropSvc.cpp

    r85121 r90238  
    18651865                ptable->cbClient = 0;
    18661866
     1867                /* Legacy clients map to the kernel category. */
     1868                ptable->idxLegacyClientCategory = HGCM_CLIENT_CATEGORY_KERNEL;
     1869
     1870                /* Go with default client limits, but we won't ever need more than
     1871                   16 pending calls per client I would think (1 should be enough). */
     1872                for (uintptr_t i = 0; i < RT_ELEMENTS(ptable->acMaxClients); i++)
     1873                    ptable->acMaxCallsPerClient[i] = 16;
     1874
    18671875                ptable->pfnUnload             = Service::svcUnload;
    18681876                ptable->pfnConnect            = Service::svcConnect;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette