VirtualBox

Changeset 74591 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Oct 3, 2018 5:04:09 AM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 VM-exit bits; LGDT, SGDT intercepts.

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

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

    r74573 r74591  
    46324632    Assert(!pVCpu->cpum.GstCtx.eflags.Bits.u1VM);
    46334633
     4634    if (IEM_VMX_IS_PROCCTLS2_SET(pVCpu, VMX_PROC_CTLS2_DESC_TABLE_EXIT))
     4635    {
     4636        Log(("lgdt: Guest intercept -> VM-exit\n"));
     4637        IEM_VMX_VMEXIT_INSTR_NEEDS_INFO_RET(pVCpu, VMX_EXIT_GDTR_IDTR_ACCESS, VMXINSTRID_LGDT, cbInstr);
     4638    }
     4639
    46344640    if (IEM_SVM_IS_CTRL_INTERCEPT_SET(pVCpu, SVM_CTRL_INTERCEPT_GDTR_WRITES))
    46354641    {
     
    46774683     *       you really must know.
    46784684     */
     4685    if (IEM_VMX_IS_PROCCTLS2_SET(pVCpu, VMX_PROC_CTLS2_DESC_TABLE_EXIT))
     4686    {
     4687        Log(("sgdt: Guest intercept -> VM-exit\n"));
     4688        IEM_VMX_VMEXIT_INSTR_NEEDS_INFO_RET(pVCpu, VMX_EXIT_GDTR_IDTR_ACCESS, VMXINSTRID_SGDT, cbInstr);
     4689    }
     4690
    46794691    if (IEM_SVM_IS_CTRL_INTERCEPT_SET(pVCpu, SVM_CTRL_INTERCEPT_GDTR_READS))
    46804692    {
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp.h

    r74571 r74591  
    4343 *  VMX_EXIT_APIC_ACCESS
    4444 *  VMX_EXIT_VIRTUALIZED_EOI
    45  *  VMX_EXIT_GDTR_IDTR_ACCESS
    4645 *  VMX_EXIT_LDTR_TR_ACCESS
    4746 *  VMX_EXIT_EPT_VIOLATION
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