VirtualBox

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


Ignore:
Timestamp:
Sep 3, 2019 5:37:47 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133070
Message:

VMM/IEM: Nested VMX: bugref:9180 Nits.

File:
1 edited

Legend:

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

    r80490 r80556  
    24842484    /*
    24852485     * Update the IDT-vectoring information fields if the VM-exit is triggered during delivery of an event.
    2486      * See Intel spec. 27.2.3 "Information for VM Exits During Event Delivery".
     2486     * See Intel spec. 27.2.4 "Information for VM Exits During Event Delivery".
    24872487     */
    24882488    {
     
    24902490        uint32_t   fFlags;
    24912491        uint32_t   uErrCode;
    2492         bool const fInEventDelivery = IEMGetCurrentXcpt(pVCpu, &uVector, &fFlags,  &uErrCode, NULL /* uCr2 */);
     2492        bool const fInEventDelivery = IEMGetCurrentXcpt(pVCpu, &uVector, &fFlags, &uErrCode, NULL /* puCr2 */);
    24932493        if (fInEventDelivery)
    24942494        {
     
    24992499             * original event information into the IDT-vectoring information fields.
    25002500             *
    2501              * See Intel spec. 27.2.4 Information for VM Exits During Event Delivery
     2501             * See Intel spec. 27.2.4 "Information for VM Exits During Event Delivery".
    25022502             */
    25032503            if (   uExitReason != VMX_EXIT_TRIPLE_FAULT
     
    25132513                iemVmxVmcsSetIdtVectoringInfo(pVCpu, uIdtVectoringInfo);
    25142514                iemVmxVmcsSetIdtVectoringErrCode(pVCpu, uErrCode);
     2515                LogFlow(("vmexit: idt_info=%#RX32 idt_err_code=%#RX32\n", uIdtVectoringInfo, uErrCode));
    25152516            }
    25162517        }
     
    25302531    }
    25312532
    2532     /* Paranoia. */
     2533    /* For exception or NMI VM-exits the VM-exit interruption info. field must be valid. */
    25332534    Assert(uExitReason != VMX_EXIT_XCPT_OR_NMI || VMX_EXIT_INT_INFO_IS_VALID(pVmcs->u32RoExitIntInfo));
    25342535
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