VirtualBox

Changeset 20918 in vbox for trunk/src/VBox/Devices/PC/ACPI


Ignore:
Timestamp:
Jun 25, 2009 9:33:58 AM (15 years ago)
Author:
vboxsync
Message:

We actually need only one ACPI CPU object per physical processor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/ACPI/VBoxAcpi.cpp

    r20679 r20918  
    7272    rc = CFGMR3QueryBoolDef(pDevIns->pCfgHandle, "ShowCpu", &fShowCpu, false);
    7373    if (RT_FAILURE(rc))
    74       return rc;
     74        return rc;
    7575
    7676    if (!fShowCpu)
    77       cNumCpus = 0;
     77        cNumCpus = 0;
     78
     79#ifdef VBOX_WITH_MULTI_CORE
     80    /* One physical package with multiple cores. */
     81    cNumCpus = 1;
     82#endif
    7883
    7984    /**
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