Changeset 93729 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Feb 14, 2022 2:33:32 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/HM.cpp
r93725 r93729 510 510 if (pVM->fHMEnabled) 511 511 { 512 /*513 * Register info handlers.514 */515 rc = DBGFR3InfoRegisterInternalEx(pVM, "hm", "Dumps HM info.", hmR3Info, DBGFINFO_FLAGS_ALL_EMTS);516 AssertRCReturn(rc, rc);517 518 rc = DBGFR3InfoRegisterInternalEx(pVM, "hmeventpending", "Dumps the pending HM event.", hmR3InfoEventPending,519 DBGFINFO_FLAGS_ALL_EMTS);520 AssertRCReturn(rc, rc);521 522 rc = DBGFR3InfoRegisterInternalEx(pVM, "svmvmcbcache", "Dumps the HM SVM nested-guest VMCB cache.",523 hmR3InfoSvmNstGstVmcbCache, DBGFINFO_FLAGS_ALL_EMTS);524 AssertRCReturn(rc, rc);525 526 rc = DBGFR3InfoRegisterInternalEx(pVM, "lbr", "Dumps the HM LBR info.", hmR3InfoLbr, DBGFINFO_FLAGS_ALL_EMTS);527 AssertRCReturn(rc, rc);528 529 530 512 uint32_t fCaps; 531 513 rc = SUPR3QueryVTCaps(&fCaps); … … 654 636 || pVM->bMainExecutionEngine == VM_EXEC_ENGINE_HW_VIRT /* paranoia */) 655 637 return VM_SET_ERROR(pVM, rc, "Misconfigured VM: No guest execution engine available!"); 638 } 639 640 if (pVM->fHMEnabled) 641 { 642 /* 643 * Register info handlers now that HM is used for sure. 644 */ 645 rc = DBGFR3InfoRegisterInternalEx(pVM, "hm", "Dumps HM info.", hmR3Info, DBGFINFO_FLAGS_ALL_EMTS); 646 AssertRCReturn(rc, rc); 647 648 rc = DBGFR3InfoRegisterInternalEx(pVM, "hmeventpending", "Dumps the pending HM event.", hmR3InfoEventPending, 649 DBGFINFO_FLAGS_ALL_EMTS); 650 AssertRCReturn(rc, rc); 651 652 rc = DBGFR3InfoRegisterInternalEx(pVM, "svmvmcbcache", "Dumps the HM SVM nested-guest VMCB cache.", 653 hmR3InfoSvmNstGstVmcbCache, DBGFINFO_FLAGS_ALL_EMTS); 654 AssertRCReturn(rc, rc); 655 656 rc = DBGFR3InfoRegisterInternalEx(pVM, "lbr", "Dumps the HM LBR info.", hmR3InfoLbr, DBGFINFO_FLAGS_ALL_EMTS); 657 AssertRCReturn(rc, rc); 656 658 } 657 659
Note:
See TracChangeset
for help on using the changeset viewer.