VirtualBox

Changeset 47202 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Jul 16, 2013 4:55:11 PM (12 years ago)
Author:
vboxsync
Message:

VMM/HM: comments.

File:
1 edited

Legend:

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

    r47123 r47202  
    33583358    /* Validate segment registers. See Intel spec. 26.3.1.2 "Checks on Guest Segment Registers". */
    33593359    /* NOTE: The reason we check for attribute value 0 and not just the unusable bit here is because hmR0VmxWriteSegmentReg()
    3360      * only updates the VMCS bits with the unusable bit and doesn't change the guest-context value. */
     3360     * only updates the VMCS' copy of the value with the unusable bit and doesn't change the guest-context value. */
    33613361    if (   !pVM->hm.s.vmx.fUnrestrictedGuest
    33623362        && (   !CPUMIsGuestInRealModeEx(pCtx)
     
    55935593
    55945594/**
    5595  * Saves the guest APIC state from the currentl VMCS into the guest-CPU context.
     5595 * Saves the guest APIC state from the current VMCS into the guest-CPU context.
    55965596 *
    55975597 * @returns VBox status code.
     
    78027802{
    78037803    /*
    7804      * INIT signals are blocked in VMX root operation by VMXON and by SMI in SMM. See Intel spec. "33.14.1 Default Treatment of
    7805      * SMI Delivery" and "29.3 VMX Instructions" for "VMXON". It is -NOT- blocked in VMX non-root operation so we can potentially
    7806      * still get these exits. See Intel spec. "23.8 Restrictions on VMX operation".
     7804     * INIT signals are blocked in VMX root operation by VMXON and by SMI in SMM.
     7805     * See Intel spec. 33.14.1 Default Treatment of SMI Delivery" and Intel spec. 29.3 "VMX Instructions" for "VMXON".
     7806     *
     7807     * It is -NOT- blocked in VMX non-root operation so we can, in theory, still get these VM-exits.
     7808     * See Intel spec. "23.8 Restrictions on VMX operation".
    78077809     */
    78087810    HMVMX_VALIDATE_EXIT_HANDLER_PARAMS();
    7809     return VINF_SUCCESS;    /** @todo r=ramshankar: correct?. */
     7811    return VINF_SUCCESS;
    78107812}
    78117813
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