VirtualBox

Changeset 45651 in vbox


Ignore:
Timestamp:
Apr 19, 2013 5:23:08 PM (12 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Actually we -do- need to intercept #DB (hypervisor debugging) but it's not handled in the #DB handler properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r45650 r45651  
    59455945                 * VMX_EXIT_APIC_WRITE, VMX_EXIT_VIRTUALIZED_EOI. See Intel spec. 27.3.4 "Saving Non-Register State".
    59465946                 */
    5947 #ifndef HMVMX_TRAP_ALL_EXCEPTIONS
    5948                 /* Don't intercept the #DB resulting from the pending-debug exception. */
    5949                 pVCpu->hm.s.vmx.u32XcptBitmap &= ~RT_BIT(X86_XCPT_DB);
    5950                 rc2  = VMXWriteVmcs32(VMX_VMCS32_CTRL_EXCEPTION_BITMAP, pVCpu->hm.s.vmx.u32XcptBitmap);
    5951 #endif
    5952                 rc2 |= VMXWriteVmcsGstN(VMX_VMCS_GUEST_PENDING_DEBUG_EXCEPTIONS, VMX_VMCS_GUEST_DEBUG_EXCEPTIONS_BS);
     5947                rc2 = VMXWriteVmcsGstN(VMX_VMCS_GUEST_PENDING_DEBUG_EXCEPTIONS, VMX_VMCS_GUEST_DEBUG_EXCEPTIONS_BS);
    59535948            }
    59545949        }
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