VirtualBox

Changeset 43377 in vbox for trunk/src


Ignore:
Timestamp:
Sep 20, 2012 7:35:29 PM (12 years ago)
Author:
vboxsync
Message:

Additions: Fix CPU hot remove on Linux guests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceCpuHotPlug.cpp

    r40128 r43377  
    8181{
    8282    /** LNXSYSTEM:<id> */
    83     {true, "LNXSYSTM:"}
     83    {true, "LNXSYSTM:*"}
    8484};
    8585
     
    8888{
    8989    /** device:<id> */
    90     {true, "device:"},
     90    {true, "device:*"},
    9191    /** LNXSYBUS:<id> */
    92     {true, "LNXSYBUS:"}
     92    {true, "LNXSYBUS:*"}
    9393};
    9494
     
    9797{
    9898    /** ACPI0004:<id> */
    99     {true, "ACPI0004:"}
     99    {true, "ACPI0004:*"}
    100100};
    101101
     
    104104{
    105105    /** LNXCPU:<id> */
    106     {true, "LNXCPU:"},
     106    {true, "LNXCPU:*"},
    107107    /** ACPI_CPU:<id> */
    108     {true, "ACPI_CPU:"}
     108    {true, "ACPI_CPU:*"}
    109109};
    110110
     
    173173                RTDIRENTRY DirFolderContent;
    174174                bool fFound = false;
     175
     176                /* Get rid of the * filter which is in the path component. */
     177                if (pPathComponent->fNumberedSuffix)
     178                    cchName--;
     179
    175180                while (RT_SUCCESS(RTDirRead(pDirCurr, &DirFolderContent, NULL))) /* Assumption that szName has always enough space */
    176181                {
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