VirtualBox

Changeset 79485 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jul 3, 2019 5:10:33 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131749
Message:

VMM/HMVMXR0: Safer to flag host-context change while interrupts are still disabled, though I think in theory it should work even if RTMpCpuId is called when preemptible as the hook should cover it. Comments. Renamed StatSwitchExportHostState to StatExportHostState.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r79462 r79485  
    802802        HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchPreempt,          "/HM/CPU%d/Switch/Preempting", "EMT has been preempted while in HM context.");
    803803#ifdef VBOX_WITH_STATISTICS
    804         HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchExportHostState,  "/HM/CPU%d/Switch/ExportHostState", "Preemption or entering with nested-guest VMCS caused re-exporting of host state.");
    805804        HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchNstGstVmexit,     "/HM/CPU%d/Switch/NstGstVmexit", "Nested-guest VM-exit occurred.");
    806805
     
    836835        HM_REG_COUNTER(&pVCpu->hm.s.StatExportFull,             "/HM/CPU%d/Export/Full", "VM-entry exporting the full guest-state.");
    837836        HM_REG_COUNTER(&pVCpu->hm.s.StatLoadGuestFpu,           "/HM/CPU%d/Export/GuestFpu", "VM-entry loading the guest-FPU state.");
     837        HM_REG_COUNTER(&pVCpu->hm.s.StatExportHostState,        "/HM/CPU%d/Export/HostState", "VM-entry exporting host-state.");
    838838
    839839        HM_REG_COUNTER(&pVCpu->hm.s.StatVmxCheckBadRmSelBase,   "/HM/CPU%d/VMXCheck/RMSelBase", "Could not use VMX due to unsuitable real-mode selector base.");
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette