- Timestamp:
- Jun 28, 2010 11:34:17 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r30450 r30459 435 435 rc = CFGMR3InsertInteger(pRoot, "MemBalloonSize", ulBalloonSize); RC_CHECK(); 436 436 437 /* 438 * CPUM values. 439 */ 440 PCFGMNODE pCPUM; 441 rc = CFGMR3InsertNode(pRoot, "CPUM", &pCPUM); RC_CHECK(); 442 437 443 /* cpuid leaf overrides. */ 438 444 static uint32_t const s_auCpuIdRanges[] = … … 449 455 { 450 456 PCFGMNODE pLeaf; 451 rc = CFGMR3InsertNodeF(p Root, &pLeaf, "CPUM/HostCPUID/%RX32", uLeaf);RC_CHECK();457 rc = CFGMR3InsertNodeF(pCPUM, &pLeaf, "HostCPUID/%RX32", uLeaf); RC_CHECK(); 452 458 453 459 rc = CFGMR3InsertInteger(pLeaf, "eax", ulEax); RC_CHECK(); … … 459 465 } 460 466 467 /* We must limit CPUID count for Windows NT 4, as otherwise it stops 468 with error 0x3e (MULTIPROCESSOR_CONFIGURATION_NOT_SUPPORTED). */ 461 469 if (osTypeId == "WindowsNT4") 462 470 { 463 /*464 * We must limit CPUID count for Windows NT 4, as otherwise it stops465 * with error 0x3e (MULTIPROCESSOR_CONFIGURATION_NOT_SUPPORTED).466 */467 471 LogRel(("Limiting CPUID leaf count for NT4 guests\n")); 468 PCFGMNODE pCPUM;469 rc = CFGMR3InsertNode(pRoot, "CPUM", &pCPUM); RC_CHECK();470 472 rc = CFGMR3InsertInteger(pCPUM, "NT4LeafLimit", true); RC_CHECK(); 471 473 } 472 474 475 /* Expose extended MWAIT features to Mac OS X guests. */ 473 476 if (fOsXGuest) 474 477 { 475 /*476 * Expose extended MWAIT features to Mac OS X guests.477 */478 478 LogRel(("Using MWAIT extensions\n")); 479 PCFGMNODE pCPUM;480 rc = CFGMR3InsertNode(pRoot, "CPUM", &pCPUM); RC_CHECK();481 479 rc = CFGMR3InsertInteger(pCPUM, "MWaitExtensions", true); RC_CHECK(); 482 480 } 483 481 484 /* hardware virtualization extensions */ 482 /* 483 * Hardware virtualization extensions. 484 */ 485 485 BOOL fHWVirtExEnabled; 486 486 BOOL fHwVirtExtForced;
Note:
See TracChangeset
for help on using the changeset viewer.