VirtualBox

Changeset 79030 in vbox


Ignore:
Timestamp:
Jun 7, 2019 5:47:07 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131187
Message:

VMM/HMVMXR0: Nested VMX: bugref:9180 Name the exit qualification field as it is in the VT-x spec.

File:
1 edited

Legend:

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

    r79018 r79030  
    11071107
    11081108/**
    1109  * Reads the VM-exit Qualification from the VMCS into the VMX transient structure.
     1109 * Reads the Exit Qualification from the VMCS into the VMX transient structure.
    11101110 *
    11111111 * @returns VBox status code.
     
    68506850 * Decodes the memory operand of an instruction that caused a VM-exit.
    68516851 *
    6852  * The VM-exit qualification field provides the displacement field for memory
     6852 * The Exit qualification field provides the displacement field for memory
    68536853 * operand instructions, if any.
    68546854 *
     
    77187718                    /*
    77197719                     * VM-entry can fail due to invalid-guest state, machine-check events and
    7720                      * MSR loading failures. Other than VM-exit reason and VM-exit qualification
     7720                     * MSR loading failures. Other than VM-exit reason and Exit qualification
    77217721                     * all other VMCS fields are left unmodified on VM-entry failure.
    77227722                     *
     
    1265812658         *   - Provides VM-exit instruction length.
    1265912659         *   - Provides VM-exit information.
    12660          *   - Optionally provides VM-exit qualification.
     12660         *   - Optionally provides Exit qualification.
    1266112661         *
    12662          * Since VM-exit qualification is 0 for all VM-exits where it is not
     12662         * Since Exit qualification is 0 for all VM-exits where it is not
    1266312663         * applicable, reading and passing it to the guest should produce
    1266412664         * defined behavior.
     
    1492114921
    1492214922    /*
    14923      * Get the DR6-like values from the VM-exit qualification and pass it to DBGF
    14924      * for processing.
     14923     * Get the DR6-like values from the Exit qualification and pass it to DBGF for processing.
    1492514924     */
    1492614925    int rc = hmR0VmxReadExitQualVmcs(pVCpu, pVmxTransient);
     
    1586515864                return IEMExecVmxVmexitXcpt(pVCpu, &ExitInfo, &ExitEventInfo);
    1586615865            }
     15866
     15867            /* Nested paging is currently a requirement, otherwise we would need to handle shadow #PFs. */
     15868            Assert(pVCpu->CTX_SUFF(pVM)->hm.s.fNestedPaging);
    1586715869
    1586815870            /* If the guest hypervisor is not intercepting the exception, forward it to the guest. */
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