VirtualBox

Ignore:
Timestamp:
Apr 8, 2015 11:31:47 AM (10 years ago)
Author:
vboxsync
Message:

VMM/GIM: Allow dynamic enabling of #UD traps and per-VCPU hypercalls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/GIMAllKvm.cpp

    r55118 r55129  
    324324 * For raw-mode VMs, this function will always return true. See gimR3KvmInit().
    325325 *
    326  * @param   pVM         Pointer to the VM.
    327  */
    328 VMM_INT_DECL(bool) gimKvmShouldTrapXcptUD(PVM pVM)
    329 {
     326 * @param   pVCpu       Pointer to the VMCPU.
     327 */
     328VMM_INT_DECL(bool) gimKvmShouldTrapXcptUD(PVMCPU pVCpu)
     329{
     330    PVM pVM = pVCpu->CTX_SUFF(pVM);
    330331    return pVM->gim.s.u.Kvm.fTrapXcptUD;
    331332}
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