VirtualBox

Changeset 33218 in vbox for trunk/include


Ignore:
Timestamp:
Oct 18, 2010 7:54:10 PM (14 years ago)
Author:
vboxsync
Message:

AsyncCompletion: Move bandwidth groups to the generic code and support arbitrary grouping of endpoints into bandwidth groups.

To add a new bandwidth group use setextradata (this adds a group called Test and sets the maximum to 2 MB/s):

VBoxInternal/PDM/AsyncCompletion/File/BwGroups/Test/Max 2097152
VBoxInternal/PDM/AsyncCompletion/File/BwGroups/Test/Start 2097152
VBoxInternal/PDM/AsyncCompletion/File/BwGroups/Test/Step 0

To assign a disk to the group add:

VBoxInternal/Devices/ahci/0/LUN#0/AttachedDriver/Config/BwGroup Test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pdmasynccompletion.h

    r31173 r33218  
    328328
    329329/**
     330 * Assigns or removes a bandwidth control manager to/from the endpoint.
     331 *
     332 * @returns VBox status code.
     333 * @param   pEndpoint       The endpoint.
     334 * @param   pcszBwMgr       The identifer of the new bandwidth manager to assign
     335 *                          or NULL to remove the current one.
     336 */
     337VMMR3DECL(int) PDMR3AsyncCompletionEpSetBwMgr(PPDMASYNCCOMPLETIONENDPOINT pEndpoint,
     338                                              const char *pcszBwMgr);
     339
     340/**
    330341 * Cancels a async completion task.
    331342 *
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